{"name":"@vitest/expect","version":"5.0.4","keywords":["vitest","test","chai","assertion"],"license":"MIT","_id":"@vitest/expect@5.0.4","maintainers":[{"name":"ariperkkio","email":"ari.perkkio@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"hiogawa","email":"hi.ogawa.zz@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"yyx990803","email":"yyx990803@gmail.com"}],"homepage":"https://vitest.dev/api/expect","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"dist":{"shasum":"762cfdc8678aeef6c424bfdc74ea92431343b340","tarball":"http://registry-npm.ywwl.com/@vitest/expect/download/@vitest/expect-5.0.4.tgz","fileCount":5,"integrity":"sha512-1Cko3Uav9doH3l+dmIBntzy9kcLM6c0Q7B9qMUgFqhDNgeJiYW57CUn1EIlWZlZ97Uaqj7SYSfu2ezwvDhE3og==","signatures":[{"sig":"MEQCIBLpdxHF34ZMpRBrUK3sJxGuZVMsGoreoDphURvLvX8pAiAmTQRMucJmNFfO5eoq6G/K6qkmOoBsB4EOeX7J9kkB+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vitest%2fexpect@5.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108442,"size":25305,"noattachment":false,"key":"/@vitest/expect/-/@vitest/expect-5.0.4.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","__vitest_source__":"./src/index.ts"},"./package.json":"./package.json"},"funding":"https://opencollective.com/vitest","scripts":{"dev":"rollup -c --watch","build":"premove dist && rollup -c"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"oreanno","email":"foxzdavinci@gmail.com"},"trustedPublisher":{"id":"github","oidcConfigId":"badfd6ed-c6cb-4e94-b08d-0bc601c9aa05"}},"repository":{"url":"git+https://github.com/vitest-dev/vitest.git","type":"git","directory":"packages/expect"},"description":"Jest's expect matchers as a Chai plugin","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"chai":"^6.3.0","@types/chai":"^5.2.2","@vitest/spy":"5.0.4","tinyrainbow":"^3.2.0","@vitest/utils":"5.0.4","@standard-schema/spec":"^1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/expect_5.0.4_1791798393373_0.9944839245960957","host":"s3://npm-registry-packages-npm-production"},"readme":"# @vitest/expect\n\n[![NPM version](https://img.shields.io/npm/v/@vitest/expect?color=a1b858&label=)](https://npmx.dev/package/@vitest/expect)\n\nJest's expect matchers as a Chai plugin.\n\n## Usage\n\n```js\nimport {\n  JestAsymmetricMatchers,\n  JestChaiExpect,\n  JestExtend,\n} from '@vitest/expect'\nimport * as chai from 'chai'\n\n// allows using expect.extend instead of chai.use to extend plugins\nchai.use(JestExtend)\n// adds all jest matchers to expect\nchai.use(JestChaiExpect)\n// adds asymmetric matchers like stringContaining, objectContaining\nchai.use(JestAsymmetricMatchers)\n```\n\n[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/expect) | [Documentation](https://vitest.dev/api/expect)\n","publish_time":1791798393456,"_cnpm_publish_time":1791798393456,"dist-tags":{"beta":"5.1.0-beta.1","latest":"5.1.0","rc":"5.0.0-rc.4","V3":"3.2.7","V4":"4.1.12"}}