{"library":"dirty-chai","type":"library","category":null,"description":"A Chai plugin that converts terminating property assertions (e.g., .true, .ok) into function-call form (e.g., .true(), .ok()). This makes assertions lint-friendly (avoiding 'Expected an assignment or function call' warnings) and ensures assertions are actually invoked. Version 3.0.0 requires Chai >= 6.2.0 < 7. It works with browser and Node, and can adapt property assertions from other Chai plugins when loaded before them. Key differentiator: eliminates false positives from uninvoked property access.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","chai","chai-plugin","browser","testing"],"last_verified":"Fri May 01","install":[{"cmd":"npm install dirty-chai","imports":["import dirtyChai from 'dirty-chai'","import chai from 'chai'","chai.use(dirtyChai)"]},{"cmd":"yarn add dirty-chai","imports":[]},{"cmd":"pnpm add dirty-chai","imports":[]}],"homepage":null,"github":"https://github.com/joshperry/dirty-chai","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dirty-chai","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}