{"_id":"@brendangooch/jest-expect","_rev":"2-3621ed1fb98c4a3357fe2a157e432bfa","name":"@brendangooch/jest-expect","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@brendangooch/jest-expect","version":"1.0.0","keywords":["jest","expect"],"author":{"name":"B Gooch","email":"brendangooch@gmail.com"},"license":"MIT","_id":"@brendangooch/jest-expect@1.0.0","maintainers":[{"name":"brendangooch","email":"brendangooch@gmail.com"}],"homepage":"https://github.com/brendangooch/jest-expect#readme","bugs":{"url":"https://github.com/brendangooch/jest-expect/issues","email":"brendangooch@gmail.com"},"dist":{"shasum":"9b649fa630e2ee7e78e2ab956b1f315ecf3bb1fd","tarball":"https://registry.npmjs.org/@brendangooch/jest-expect/-/jest-expect-1.0.0.tgz","fileCount":5,"integrity":"sha512-JqQels6BYxz2qNOc/z3TSbMcJUUF3kL4hw8lgVwe1uS/47GtXfVjJHnvAyHO24VKJ8SIYnlxddWwgT4YxP8CMg==","signatures":[{"sig":"MEYCIQDkJUD47Ylpouebh2r02sNrNomWugOjp3GNwXXcCJQ6owIhALGEsNF8scC8bu245XoOj9JYL6kbTNM65xtYA9ZNR43c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4949},"type":"module","types":"./lib/index.d.ts","exports":{".":"./lib/index.js"},"gitHead":"3e3b3d968f7ac076519d5369ddb683901b21ccfc","private":false,"scripts":{"build":"tsc -p tsconfig.prod.json","prepack":"npm run build","prebuild":"npm run remove-lib","build-dev":"npm run prebuild && tsc","remove-lib":"rm -rf lib"},"_npmUser":{"name":"brendangooch","email":"brendangooch@gmail.com"},"repository":{"url":"git+https://github.com/brendangooch/jest-expect.git","type":"git"},"_npmVersion":"10.8.3","description":"Provides wrapper functions for common jest expect methods for slightly different syntax","directories":{},"_nodeVersion":"21.4.0","dependencies":{"@types/jest":"^29.5.14"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/jest-expect_1.0.0_1729936282030_0.5495369735783322","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@brendangooch/jest-expect","version":"1.1.0","keywords":["jest","expect"],"author":{"name":"B Gooch","email":"brendangooch@gmail.com"},"license":"MIT","_id":"@brendangooch/jest-expect@1.1.0","maintainers":[{"name":"brendangooch","email":"brendangooch@gmail.com"}],"homepage":"https://github.com/brendangooch/jest-expect#readme","bugs":{"url":"https://github.com/brendangooch/jest-expect/issues","email":"brendangooch@gmail.com"},"dist":{"shasum":"a71caedc01ef1722f9ad40d392d0c6eba6471654","tarball":"https://registry.npmjs.org/@brendangooch/jest-expect/-/jest-expect-1.1.0.tgz","fileCount":5,"integrity":"sha512-vPcIiAFKeJpBD0OunW+tw5Tw4PGCYNJXBLZAn7Gc1VgKifKZBM99aZXdEcPC45O0qi2d6BA3Y46UHCONqwesqg==","signatures":[{"sig":"MEQCIGxh6zC6rD4WXt4pnejfVScbROxI745f68V47P5dEUReAiBPVtA26+6pGcbE+NgTP4kpF0GnT8w3U85pwFW2w+xb4Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5141},"type":"module","types":"./lib/index.d.ts","exports":{".":"./lib/index.js"},"gitHead":"1e571fbf7e88c40727647acbd1e685cb09f29cda","private":false,"scripts":{"build":"tsc -p tsconfig.prod.json","prepack":"npm run build","prebuild":"npm run remove-lib","build-dev":"npm run prebuild && tsc","remove-lib":"rm -rf lib"},"_npmUser":{"name":"brendangooch","email":"brendangooch@gmail.com"},"repository":{"url":"git+https://github.com/brendangooch/jest-expect.git","type":"git"},"_npmVersion":"10.9.0","description":"Provides wrapper functions for common jest expect methods for slightly different syntax","directories":{},"_nodeVersion":"21.4.0","dependencies":{"@types/jest":"^29.5.14"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/jest-expect_1.1.0_1731090574625_0.11441866513354682","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@brendangooch/jest-expect","version":"2.0.0","description":"Provides a slightly simpler syntax for writing jest tests + array comparison method","author":{"name":"B Gooch","email":"brendangooch@gmail.com"},"license":"MIT","type":"module","scripts":{"build":"tsc -p tsconfig.prod.json","build-dev":"npm run prebuild && tsc","prebuild":"npm run remove-lib","prepack":"npm run build","remove-lib":"rm -rf lib"},"private":false,"publishConfig":{"access":"public"},"exports":{".":"./lib/index.js"},"types":"./lib/index.d.ts","devDependencies":{"@types/jest":"^29.5.14","typescript":"^5.6.3"},"repository":{"type":"git","url":"git+https://github.com/brendangooch/jest-expect.git"},"homepage":"https://github.com/brendangooch/jest-expect#readme","bugs":{"url":"https://github.com/brendangooch/jest-expect/issues","email":"brendangooch@gmail.com"},"keywords":["jest","expect"],"_id":"@brendangooch/jest-expect@2.0.0","gitHead":"9b0d21dac4ab564f9a5878bff0555d142adc56ba","_nodeVersion":"21.4.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-V9uYzgsNpYq5ls85UnRUVhG3UkGwCXTC1IB8P1Eiu054ul5N6M5kdjQMewyDmg2FF7d21Cbef5Ve2rTtOSJgCw==","shasum":"90602ab9aa67d4d804b87edd8e3f706b363dad86","tarball":"https://registry.npmjs.org/@brendangooch/jest-expect/-/jest-expect-2.0.0.tgz","fileCount":7,"unpackedSize":7316,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDylqijb6ZGum0Rf6NaHOkpvNF7WW8Vd8oLlELnNlYyogIhALrtqtSDUtBa/r3Ukseu5oeCooTotUWpSvb12/EFOr+C"}]},"_npmUser":{"name":"brendangooch","email":"brendangooch@gmail.com"},"directories":{},"maintainers":[{"name":"brendangooch","email":"brendangooch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-expect_2.0.0_1731404883433_0.4496354224707104"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-26T09:51:21.876Z","modified":"2024-11-12T09:48:03.788Z","1.0.0":"2024-10-26T09:51:22.232Z","1.1.0":"2024-11-08T18:29:34.835Z","2.0.0":"2024-11-12T09:48:03.631Z"},"bugs":{"url":"https://github.com/brendangooch/jest-expect/issues","email":"brendangooch@gmail.com"},"author":{"name":"B Gooch","email":"brendangooch@gmail.com"},"license":"MIT","homepage":"https://github.com/brendangooch/jest-expect#readme","keywords":["jest","expect"],"repository":{"type":"git","url":"git+https://github.com/brendangooch/jest-expect.git"},"description":"Provides a slightly simpler syntax for writing jest tests + array comparison method","maintainers":[{"name":"brendangooch","email":"brendangooch@gmail.com"}],"readme":"# jest-expect\n\nProvides a slightly simpler syntax for writing jest tests + array comparison method\n\nYou must install Jest package to use this package\n\n```\nimport JestExpect from '@brendangooch/jest-expect';\nconst EXPECT = new JestExpect();\ntest('some test', () => {\n    \n    expect(foo).toBe(10);\n    EXPECT.toBe(foo, 10);\n\n    expect(foo).not.toBe(20);\n    EXPECT.not.ToBe(foo, 20);\n\n    expect(foo).toBeTruthy();\n    EXPECT.truthy(foo);\n\n    expect(foo).not.toBeTruthy();\n    EXPECT.not.truthy(foo);\n\n    expect(foo).toEqual({ 1: 'foo', 2: 'bar' });\n    EXPECT.toEqual(foo, { 1: 'foo', 2: 'bar' });\n\n    expect(foo).not.toEqual({ 1: 'foo', 2: 'bar' });\n    EXPECT.not.toEqual(foo, { 1: 'foo', 2: 'bar' });\n\n    // extended functionality, works with arrays of primitive datatypes\n    EXPECT.toBeSameArray(foo, [1, 2, 3]);\n\n    // etc\n\n});\n```","readmeFilename":"README.md"}