{"name":"@vitest/expect","version":"2.1.9","license":"MIT","_id":"@vitest/expect@2.1.9","maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"patak","email":"hey.patak@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"vitestbot","email":"vitest.dev@gmail.com"}],"homepage":"https://github.com/vitest-dev/vitest/tree/main/packages/expect#readme","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"dist":{"shasum":"b566ea20d58ea6578d8dc37040d6c1a47ebe5ff8","tarball":"http://registry-npm.ywwl.com/@vitest/expect/download/@vitest/expect-2.1.9.tgz","fileCount":7,"integrity":"sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw==","signatures":[{"sig":"MEQCID9jTjLT1XjGLVeUJJs6Wdx4Is1UTcR0uicrhRkRIW5JAiBLOLHXs+qEXoEvOsabkqmcBuH8im45rfAY2vOdj4djWA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vitest%2fexpect@2.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":165487,"size":26671,"noattachment":false,"key":"/@vitest/expect/-/@vitest/expect-2.1.9.tgz"},"main":"./dist/index.js","type":"module","_from":"file:vitest-expect-2.1.9.tgz","types":"./index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./index.d.ts","default":"./dist/index.js"},"./*":"./*"},"funding":"https://opencollective.com/vitest","scripts":{"dev":"rollup -c --watch","build":"rimraf dist && rollup -c"},"_npmUser":{"name":"vitestbot","email":"vitest.dev@gmail.com"},"_resolved":"/tmp/652e9ba0866a11cc237307b1d89c3798/vitest-expect-2.1.9.tgz","_integrity":"sha512-UJCIkTBenHeKT1TTlKMJWy1laZewsRIzYighyYiJKZreqtdxSos/S1t+ktRMQWu2CKqaarrkeszJx1cgC5tGZw==","repository":{"url":"git+https://github.com/vitest-dev/vitest.git","type":"git","directory":"packages/expect"},"_npmVersion":"10.8.2","description":"Jest's expect matchers as a Chai plugin","directories":{},"sideEffects":false,"_nodeVersion":"20.18.2","dependencies":{"chai":"^5.1.2","@vitest/spy":"2.1.9","tinyrainbow":"^1.2.0","@vitest/utils":"2.1.9"},"_hasShrinkwrap":false,"devDependencies":{"@types/chai":"4.3.6","@vitest/runner":"2.1.9","rollup-plugin-copy":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/expect_2.1.9_1738590268779_0.9797957528849417","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":1738590268967,"_cnpm_publish_time":1738590268967,"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"}}