{"_id":"@curefatih-jf/jest-environment","_rev":"4-ef4836caa07afae2ff5970f4fc3e4c9c","name":"@curefatih-jf/jest-environment","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.0":{"name":"@curefatih-jf/jest-environment","version":"0.0.0","license":"MIT","homepage":"https://github.com/fatihcure-jf/happy-dom/tree/master/packages/jest-environment","repository":{"type":"git","url":"git+https://github.com/fatihcure-jf/happy-dom.git"},"author":{"name":"David Ortner"},"description":"Use Happy DOM as environment in Jest.","main":"lib/index.js","keywords":["jest","environment","jsdom","dom","browser","custom","elements","web","components","html","whatwg","w3c"],"publishConfig":{"access":"public"},"scripts":{"compile":"node ./bin/build-lit-ts-config && tsc --project tmp/tsconfig.lit-reactive-element.json && tsc --project tmp/tsconfig.lit-element.json && tsc --project tmp/tsconfig.lit-html.json && tsc --project tmp/tsconfig.lit.json && node ./bin/transform-lit-require.js && node ./bin/copy-tsdef-for-lit.js && node ./bin/copy-package-json-for-lit.js && tsc","watch":"npm run compile && tsc -w --preserveWatchOutput","lint":"eslint --ignore-path .gitignore --max-warnings 0 .","lint:fix":"eslint --ignore-path .gitignore --max-warnings 0 --fix .","test":"jest","test:watch":"jest --runInBand --watch","test:debug":"node --inspect-brk ./node_modules/.bin/jest --runInBand"},"jest":{"transform":{"^.+\\.(ts|tsx)?$":"ts-jest"},"testMatch":["**/test/**/*.test.ts","**/test/**/*.test.tsx"],"globals":{"ts-jest":{"tsconfig":"./test/tsconfig.json"}},"testEnvironment":"./lib"},"dependencies":{"@curefatih-jf/hdom":"^0.0.0","@jest/environment":"^27.5.1","@jest/fake-timers":"^27.5.1","@jest/types":"^27.5.1","jest-mock":"^27.5.1","jest-util":"^27.5.1"},"devDependencies":{"@angular/common":"^10.0.7","@angular/compiler":"^10.0.7","@angular/core":"^10.0.7","@angular/platform-browser":"^10.0.7","@angular/platform-browser-dynamic":"^10.0.7","@lit/reactive-element":"^1.3.1","@types/jest":"^27.4.1","@types/node":"^15.6.0","@typescript-eslint/eslint-plugin":"^5.16.0","@typescript-eslint/parser":"^5.16.0","cpy":"^8.1.2","eslint":"^8.11.0","eslint-config-prettier":"^8.5.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.25.4","eslint-plugin-jest":"^26.1.2","eslint-plugin-jsdoc":"^38.0.6","eslint-plugin-json":"^3.1.0","eslint-plugin-prettier":"^4.0.0","glob":"^7.2.0","jest":"^27.5.1","jquery":"^3.6.0","lit":"^2.2.1","lit-element":"^3.2.0","lit-html":"^2.2.1","prettier":"^2.6.0","react":"^17.0.2","react-dom":"^17.0.2","ts-jest":"^27.1.3","typescript":"^4.6.2","vue":"^3.2.31","zone.js":"^0.10.3"},"gitHead":"385b9369db9e84f28bb351fa0be0b39e8e44bf4a","bugs":{"url":"https://github.com/fatihcure-jf/happy-dom/issues"},"_id":"@curefatih-jf/jest-environment@0.0.0","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-eTNCUBJDntaZyBr6EvP3cRSSNIP85egYzF7pBzbElrdqCUxX+cLXIa+XgVqDEPnjTE3dRqbnOvrz6zzWSzK89w==","shasum":"8b459b96b756dd376d722c0951d996a60e3e0c76","tarball":"https://registry.npmjs.org/@curefatih-jf/jest-environment/-/jest-environment-0.0.0.tgz","fileCount":26,"unpackedSize":30461,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvRyPtrTTdzK0cCDJPDNkXct3Ujw0ysImBdLqOkHhuHAiAOjweej5NqJsRlpotKQ1H5rPugiB685W+ZLQIOoyiKbQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJin4DzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7cg//QEqt3mnmn7lvioXch9h9Qnw+XIE4zba71cOEX6UkKuYZCyIO\r\nNGUhp4sHvoGdQJ1604MOwBBQMqekHH2hi8bpxulq1xJ4x9bqvlgiMirF4HXM\r\nr4RYdNfuaTiwOquQJKHoneNE2aMWK6dKrGW5Bc+sVk/Xdyb8+HRUigfhVQYD\r\nSr368S2pXWfsC2JwgaLSH2AQlCvHo0ZtFpAQF/MECb4p2ntOKZgW1TX1conV\r\n4OZH69BCnGn2PEkc02d0op2i88mJIbyFCRKR6XjjnL1dOpHiubxrYHJrAKfO\r\nunXd4jRxGREC01PnYIAFZm72jCbSVhlZh14qiXyGVzh2U8ksVzzxgMGMMplZ\r\nmv1jowFsgm+69/0AXKhqd6PeVjodO1Rqtlt0PBN+tYhG22FrAWrSrY3hzZg2\r\n6/higofd1+mMVTnGOo6W3pcCE+RHAFltXKAzVz+d5TnxrTQh9UOpjYu2Epvk\r\nPLWES3T4iGnvLTRgQFOhx4f3IgmmHtt3HI7AjlV7ZmEiQ3iZBmzFVIAwD573\r\nT/CM5HOPvL2vucbRMMqPYnu7ijBSgO2bzGd94hPx7joAuTUZZxH0ekwechcs\r\nZ77W65XNmXjCV/ZKRvAFa92Ebd02MuZ+JVOm1SULSXB0cPS8Y9itvzM+q5ph\r\nSZVVb1YkREXh2mzHcDWcLKFEBJ360mpjBq4=\r\n=9KEf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"curefatih-jf","email":"fatihcure@jotform.com"},"directories":{},"maintainers":[{"name":"curefatih-jf","email":"fatihcure@jotform.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-environment_0.0.0_1654620402792_0.12204544181354238"},"_hasShrinkwrap":false},"0.1.0":{"name":"@curefatih-jf/jest-environment","version":"0.1.0","license":"MIT","homepage":"https://github.com/fatihcure-jf/happy-dom/tree/master/packages/jest-environment","repository":{"type":"git","url":"git+https://github.com/fatihcure-jf/happy-dom.git"},"author":{"name":"David Ortner"},"description":"Use Happy DOM as environment in Jest.","main":"lib/index.js","keywords":["jest","environment","jsdom","dom","browser","custom","elements","web","components","html","whatwg","w3c"],"publishConfig":{"access":"public"},"scripts":{"compile":"node ./bin/build-lit-ts-config && tsc --project tmp/tsconfig.lit-reactive-element.json && tsc --project tmp/tsconfig.lit-element.json && tsc --project tmp/tsconfig.lit-html.json && tsc --project tmp/tsconfig.lit.json && node ./bin/transform-lit-require.js && node ./bin/copy-tsdef-for-lit.js && node ./bin/copy-package-json-for-lit.js && tsc","watch":"npm run compile && tsc -w --preserveWatchOutput","lint":"eslint --ignore-path .gitignore --max-warnings 0 .","lint:fix":"eslint --ignore-path .gitignore --max-warnings 0 --fix .","test":"jest","test:watch":"jest --runInBand --watch","test:debug":"node --inspect-brk ./node_modules/.bin/jest --runInBand"},"jest":{"transform":{"^.+\\.(ts|tsx)?$":"ts-jest"},"testMatch":["**/test/**/*.test.ts","**/test/**/*.test.tsx"],"globals":{"ts-jest":{"tsconfig":"./test/tsconfig.json"}},"testEnvironment":"./lib"},"dependencies":{"@curefatih-jf/hdom":"^0.1.0","@jest/environment":"^27.5.1","@jest/fake-timers":"^27.5.1","@jest/types":"^27.5.1","jest-mock":"^27.5.1","jest-util":"^27.5.1"},"devDependencies":{"@angular/common":"^10.0.7","@angular/compiler":"^10.0.7","@angular/core":"^10.0.7","@angular/platform-browser":"^10.0.7","@angular/platform-browser-dynamic":"^10.0.7","@lit/reactive-element":"^1.3.1","@types/jest":"^27.4.1","@types/node":"^15.6.0","@typescript-eslint/eslint-plugin":"^5.16.0","@typescript-eslint/parser":"^5.16.0","cpy":"^8.1.2","eslint":"^8.11.0","eslint-config-prettier":"^8.5.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.25.4","eslint-plugin-jest":"^26.1.2","eslint-plugin-jsdoc":"^38.0.6","eslint-plugin-json":"^3.1.0","eslint-plugin-prettier":"^4.0.0","glob":"^7.2.0","jest":"^27.5.1","jquery":"^3.6.0","lit":"^2.2.1","lit-element":"^3.2.0","lit-html":"^2.2.1","prettier":"^2.6.0","react":"^17.0.2","react-dom":"^17.0.2","ts-jest":"^27.1.3","typescript":"^4.6.2","vue":"^3.2.31","zone.js":"^0.10.3"},"gitHead":"ff107249c277fc947b82f53fe6254a5ca8035221","bugs":{"url":"https://github.com/fatihcure-jf/happy-dom/issues"},"_id":"@curefatih-jf/jest-environment@0.1.0","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-7pekpO65k3HlwoPgPiBb8Sho8/o3YTq7uO8dxBjYFwyY3sIVYQwmlE/FOJp6RMXD69N8mr7Lff1sWjVfpn8PKw==","shasum":"d223acb9edc1f531f45c8b2d554ba0bea4beee51","tarball":"https://registry.npmjs.org/@curefatih-jf/jest-environment/-/jest-environment-0.1.0.tgz","fileCount":26,"unpackedSize":30477,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDRlGhUV/oE4QSAlxeowfM3QhcTdMH/D2C301uEVqxkhAiBf25YwKNPbcEjdAV2xTOm3gqGJk8t4+d3Zqa/BV1CAhA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJin4dzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWaQ//W0W3pUxfoqEu9RsTvMKQJFTdMAe9BmGzhJ5t68mAB8wxHMzG\r\nJioSjHUQEDr/i941SPoWvm4i4Mg3sz09hQQ/te8DD37G1vM/Gk+kRgD6XMw2\r\naoGVvayfmBXaenRTGI0k49rulNebrdeyUUXSiJyfA9FXNGz2Pe70RBAHUWZK\r\nNjHBUgaZcFd3wrG+Yqa3j+nO9cA8o8SS4iVkLVszK2LAt+XvIRBSkC+EHp8z\r\ncZbL5Yoq2nalFmzo72DrsK/2/ibgyadQKjqgc/CSPvxp8BNphZGFnmcLQrhl\r\nzrutf6SAbr0icif1SBes4nnDBv1ISBvTjLjn99hoAGLyegrYeWg0dBzkF11v\r\nbduvCOBOW2R2h/NdGLMnW6cuwHJwHPhV0FtJ+8QTlhQgFWO28ZwTHo0hjjiU\r\n+Bwg1uk4r0NVHyta3GmEx+gOJXGCvESqvuXjO12M+SIYe3yxLwqA8mVH3RE+\r\nk/9OsD8PctdTVK92pgXhqDL67lX0110ukrsGagDoRYmyIAXR+qlYa32B6QNW\r\nExvi2EeVlNW/CkUaqPj5hODSzYWF/O7LSBoQ4pPdh3tEHSVRL0VXNrBnYGfB\r\nOVfiwBbiQX6N7/+NGICasKPXGtvGEQX6J1aHPr3m5yTtoEPh91ZCdwVs0GNV\r\nuWtVlVjCTBn0SeYLD75g9ojVJAfBjZxOb24=\r\n=u+au\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"curefatih-jf","email":"fatihcure@jotform.com"},"directories":{},"maintainers":[{"name":"curefatih-jf","email":"fatihcure@jotform.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-environment_0.1.0_1654622067025_0.9913016574675941"},"_hasShrinkwrap":false},"0.1.1":{"name":"@curefatih-jf/jest-environment","version":"0.1.1","license":"MIT","homepage":"https://github.com/capricorn86/happy-dom/tree/master/packages/jest-environment","repository":{"type":"git","url":"git+https://github.com/capricorn86/happy-dom.git"},"author":{"name":"David Ortner"},"description":"Use Happy DOM as environment in Jest.","main":"lib/index.js","keywords":["jest","environment","jsdom","dom","browser","custom","elements","web","components","html","whatwg","w3c"],"publishConfig":{"access":"public"},"scripts":{"compile":"node ./bin/build-lit-ts-config && tsc --project tmp/tsconfig.lit-reactive-element.json && tsc --project tmp/tsconfig.lit-element.json && tsc --project tmp/tsconfig.lit-html.json && tsc --project tmp/tsconfig.lit.json && node ./bin/transform-lit-require.js && node ./bin/copy-tsdef-for-lit.js && node ./bin/copy-package-json-for-lit.js && tsc","watch":"npm run compile && tsc -w --preserveWatchOutput","lint":"eslint --ignore-path .gitignore --max-warnings 0 .","lint:fix":"eslint --ignore-path .gitignore --max-warnings 0 --fix .","test":"jest","test:watch":"jest --runInBand --watch","test:debug":"node --inspect-brk ./node_modules/.bin/jest --runInBand"},"jest":{"transform":{"^.+\\.(ts|tsx)?$":"ts-jest"},"testMatch":["**/test/**/*.test.ts","**/test/**/*.test.tsx"],"globals":{"ts-jest":{"tsconfig":"./test/tsconfig.json"}},"testEnvironment":"./lib"},"dependencies":{"@jest/environment":"^27.5.1","@jest/fake-timers":"^27.5.1","@jest/types":"^27.5.1","happy-dom":"^0.1.1","jest-mock":"^27.5.1","jest-util":"^27.5.1"},"devDependencies":{"@angular/common":"^10.0.7","@angular/compiler":"^10.0.7","@angular/core":"^10.0.7","@angular/platform-browser":"^10.0.7","@angular/platform-browser-dynamic":"^10.0.7","@lit/reactive-element":"^1.3.1","@types/jest":"^27.4.1","@types/node":"^15.6.0","@typescript-eslint/eslint-plugin":"^5.16.0","@typescript-eslint/parser":"^5.16.0","cpy":"^8.1.2","eslint":"^8.11.0","eslint-config-prettier":"^8.5.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.25.4","eslint-plugin-jest":"^26.1.2","eslint-plugin-jsdoc":"^38.0.6","eslint-plugin-json":"^3.1.0","eslint-plugin-prettier":"^4.0.0","glob":"^7.2.0","jest":"^27.5.1","jquery":"^3.6.0","lit":"^2.2.1","lit-element":"^3.2.0","lit-html":"^2.2.1","prettier":"^2.6.0","react":"^17.0.2","react-dom":"^17.0.2","ts-jest":"^27.1.3","typescript":"^4.6.2","vue":"^3.2.31","zone.js":"^0.10.3"},"gitHead":"815e90d9d4c6b96f186fcc1ca04593d5c57bfef0","bugs":{"url":"https://github.com/capricorn86/happy-dom/issues"},"_id":"@curefatih-jf/jest-environment@0.1.1","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-Il0zYHnP98yfajWJTeedgtUXol9wmRGEbtnsgJ9I07Xw5Vrz+BreTHSN/VCCxJmOeV0ly791VnhJDSdp1abbrA==","shasum":"be65e3cf7aa27e707ece4738e9d2e97dc1d8178a","tarball":"https://registry.npmjs.org/@curefatih-jf/jest-environment/-/jest-environment-0.1.1.tgz","fileCount":26,"unpackedSize":30450,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2mFLoHqjtJH36LMdDgqcPXeEZAGN1INMyXeiX29ORAwIgfShMOP1v8dHgoW+h+3JOi0X/rgPSJ+OUs1W8N7leF8w="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioIq2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrS6w//ZpyCAnjo3mMXjHGM5fZ+/WkIwkZW0eD7eHsY0BnoIg3WRvng\r\npLWR5rcYPxwMKO5P58gbXLO6x5sIQ4uULbo1FYh4F1p91Tl5IwgvZZ02hWZF\r\nEveuE9AfecjG1oydCy1UgM9cPHnKxd9cpkptoiX6PmQ6F5CNJQp/oXcwO+M8\r\nKCHcFNceXs6vngPUdKIFA5omcnWmLR9r+pHdVYtmjwkx4WYi5qrRy/Ss0Qvi\r\nIccCz7RFf6fc4R4wjKVUenf16nd1VEYL9anOmzAhvROJLQ0MD+k1CgXL+Xc/\r\n9gyz6z7FTo9tUgsTYca7jPokPtNA1c0GJCggDBX4agHgjdQoA2q5LFUaNhQW\r\nh2P+4xjDsiFtsjJteLXadfgBBRnd9ywVi7oAQMEhQScXIx5BxTWojziYCHTD\r\n5Nmy26NAf7Cdz52f+0jK9qYvPYE4YlIHoXaYMoPIjWoP5dKRT82z+h9KgMl4\r\nSYWjhKaNoK5VBWy9Zk64I/qYsnis2BsTTRLYPayAgkDX7J0db9m8+dDgNUOZ\r\ngxJ6/2ZUGKNs4rr1mVWb5mNAb9NGT5OxIayxQ9M785rXbPJ/CNKed8uX+vnd\r\nNzMMRXnBKlPsrMIzaqs0RjdwRR1GQE5UPikaftlzHw2L4jYXR0wvP2ervlms\r\nBZVtlxg5ivEHKNNWDSqFkV/dR8bRSGg7dN8=\r\n=jZD3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"curefatih-jf","email":"fatihcure@jotform.com"},"directories":{},"maintainers":[{"name":"curefatih-jf","email":"fatihcure@jotform.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-environment_0.1.1_1654688438501_0.25472896811556667"},"_hasShrinkwrap":false},"0.1.2":{"name":"@curefatih-jf/jest-environment","version":"0.1.2","license":"MIT","homepage":"https://github.com/capricorn86/happy-dom/tree/master/packages/jest-environment","repository":{"type":"git","url":"git+https://github.com/capricorn86/happy-dom.git"},"author":{"name":"David Ortner"},"description":"Use Happy DOM as environment in Jest.","main":"lib/index.js","keywords":["jest","environment","jsdom","dom","browser","custom","elements","web","components","html","whatwg","w3c"],"publishConfig":{"access":"public"},"scripts":{"compile":"node ./bin/build-lit-ts-config && tsc --project tmp/tsconfig.lit-reactive-element.json && tsc --project tmp/tsconfig.lit-element.json && tsc --project tmp/tsconfig.lit-html.json && tsc --project tmp/tsconfig.lit.json && node ./bin/transform-lit-require.js && node ./bin/copy-tsdef-for-lit.js && node ./bin/copy-package-json-for-lit.js && tsc","watch":"npm run compile && tsc -w --preserveWatchOutput","lint":"eslint --ignore-path .gitignore --max-warnings 0 .","lint:fix":"eslint --ignore-path .gitignore --max-warnings 0 --fix .","test":"jest","test:watch":"jest --runInBand --watch","test:debug":"node --inspect-brk ./node_modules/.bin/jest --runInBand"},"jest":{"transform":{"^.+\\.(ts|tsx)?$":"ts-jest"},"testMatch":["**/test/**/*.test.ts","**/test/**/*.test.tsx"],"globals":{"ts-jest":{"tsconfig":"./test/tsconfig.json"}},"testEnvironment":"./lib"},"dependencies":{"@curefatih-jf/hdom":"^0.1.2","@jest/environment":"^27.5.1","@jest/fake-timers":"^27.5.1","@jest/types":"^27.5.1","jest-mock":"^27.5.1","jest-util":"^27.5.1"},"devDependencies":{"@angular/common":"^10.0.7","@angular/compiler":"^10.0.7","@angular/core":"^10.0.7","@angular/platform-browser":"^10.0.7","@angular/platform-browser-dynamic":"^10.0.7","@lit/reactive-element":"^1.3.1","@types/jest":"^27.4.1","@types/node":"^15.6.0","@typescript-eslint/eslint-plugin":"^5.16.0","@typescript-eslint/parser":"^5.16.0","cpy":"^8.1.2","eslint":"^8.11.0","eslint-config-prettier":"^8.5.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.25.4","eslint-plugin-jest":"^26.1.2","eslint-plugin-jsdoc":"^38.0.6","eslint-plugin-json":"^3.1.0","eslint-plugin-prettier":"^4.0.0","glob":"^7.2.0","jest":"^27.5.1","jquery":"^3.6.0","lit":"^2.2.1","lit-element":"^3.2.0","lit-html":"^2.2.1","prettier":"^2.6.0","react":"^17.0.2","react-dom":"^17.0.2","ts-jest":"^27.1.3","typescript":"^4.6.2","vue":"^3.2.31","zone.js":"^0.10.3"},"gitHead":"b6d7f29b560f0ce9962f34c29dd55f53b05f31bf","bugs":{"url":"https://github.com/capricorn86/happy-dom/issues"},"_id":"@curefatih-jf/jest-environment@0.1.2","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-zvJeAr4sl3qkuTc3WTJfCceYeWunBf63YszVgH4C2pxd9Q8osfWcDwpE7RKQtmH5CA/3FGHGF0uhPlTgEnEIEw==","shasum":"9d23d926c55ee4a7b7b1b62f9bf50e9719c43ea3","tarball":"https://registry.npmjs.org/@curefatih-jf/jest-environment/-/jest-environment-0.1.2.tgz","fileCount":26,"unpackedSize":30475,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhUOQH0NPTvUVjYKep7DYJ7Dybaz6jxgiwt6pfbFDR3QIhAMiwHuylsXXhtePWmnwvccr0EHhHdjSul29g1Y1YFSpA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioIxTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkYw/6A03Fe2XWN9fRl0eHl6ktkpV3RtBMkUZROT1LrtJBYDAEr/bO\r\n2mf3kiBduM1yrwlP/HGBcxcsWCd7oiXP9OqE0bf/SSWdoh71PpqEl9JKTWHy\r\nsVQrsdpVqzJ5VZfFGOXxvK2mXJUrUif06VMbsGwAUqVHa8ryk8Npvl7iseAJ\r\nHa/wzwcpGHzSNMZ+lcTdsvUWsPLmJOz2JXlE+T2LcyowWh5XVw4j3E3erVbe\r\n+6FsJGFnZju+mVhF8Q+p58CnWuUaDWduEpeyjkEBLyHK6S9jL61tGLICs/Ha\r\n/f2Mug66IaOw3wCcx+k6YowlCOat1GShYDP0+4LO4os5P54FXRB+iJWNQZzs\r\nV5ioZUab5WV6LhP0Hn1xggGdFve42/HdgfL4xfcoHY69BuXZKI1Xq5W9bfiz\r\nk3e/LSJUv+gY/BlpJ4vMSMT4c8Ay1vZ66u5P9rWPN5dLSezCZbYD3fobRE+6\r\n3SxW+Rw14jhi5eDsO4PAzmE3WTa8HzVEBkjh6yFRVZlQNVqfpAuP02vIp5lg\r\nR2IKEwqZ+iPFXG6Di6nEWP1iUfr3dnh0BggzkJC4uCvPbKiRZPkIZQ77UMkV\r\nnXxomvJNGd9CqrjNmpAql36b+fn/DfuJMae2rfizm3Rvflii2Pyq3v3wpEC3\r\nT0RoD6+ZcSAq3kDnBaAVAwL2716yh7Tu2qU=\r\n=lYw9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"curefatih-jf","email":"fatihcure@jotform.com"},"directories":{},"maintainers":[{"name":"curefatih-jf","email":"fatihcure@jotform.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-environment_0.1.2_1654688850842_0.5063324955001274"},"_hasShrinkwrap":false},"0.1.3":{"name":"@curefatih-jf/jest-environment","version":"0.1.3","license":"MIT","homepage":"https://github.com/capricorn86/happy-dom/tree/master/packages/jest-environment","repository":{"type":"git","url":"git+https://github.com/capricorn86/happy-dom.git"},"author":{"name":"David Ortner"},"description":"Use Happy DOM as environment in Jest.","main":"lib/index.js","keywords":["jest","environment","jsdom","dom","browser","custom","elements","web","components","html","whatwg","w3c"],"publishConfig":{"access":"public"},"scripts":{"compile":"node ./bin/build-lit-ts-config && tsc --project tmp/tsconfig.lit-reactive-element.json && tsc --project tmp/tsconfig.lit-element.json && tsc --project tmp/tsconfig.lit-html.json && tsc --project tmp/tsconfig.lit.json && node ./bin/transform-lit-require.js && node ./bin/copy-tsdef-for-lit.js && node ./bin/copy-package-json-for-lit.js && tsc","watch":"npm run compile && tsc -w --preserveWatchOutput","lint":"eslint --ignore-path .gitignore --max-warnings 0 .","lint:fix":"eslint --ignore-path .gitignore --max-warnings 0 --fix .","test":"jest","test:watch":"jest --runInBand --watch","test:debug":"node --inspect-brk ./node_modules/.bin/jest --runInBand"},"jest":{"transform":{"^.+\\.(ts|tsx)?$":"ts-jest"},"testMatch":["**/test/**/*.test.ts","**/test/**/*.test.tsx"],"globals":{"ts-jest":{"tsconfig":"./test/tsconfig.json"}},"testEnvironment":"./lib"},"dependencies":{"@curefatih-jf/hdom":"^0.1.3","@jest/environment":"^27.5.1","@jest/fake-timers":"^27.5.1","@jest/types":"^27.5.1","jest-mock":"^27.5.1","jest-util":"^27.5.1"},"devDependencies":{"@angular/common":"^10.0.7","@angular/compiler":"^10.0.7","@angular/core":"^10.0.7","@angular/platform-browser":"^10.0.7","@angular/platform-browser-dynamic":"^10.0.7","@lit/reactive-element":"^1.3.1","@types/jest":"^27.4.1","@types/node":"^15.6.0","@typescript-eslint/eslint-plugin":"^5.16.0","@typescript-eslint/parser":"^5.16.0","cpy":"^8.1.2","eslint":"^8.11.0","eslint-config-prettier":"^8.5.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.25.4","eslint-plugin-jest":"^26.1.2","eslint-plugin-jsdoc":"^38.0.6","eslint-plugin-json":"^3.1.0","eslint-plugin-prettier":"^4.0.0","glob":"^7.2.0","jest":"^27.5.1","jquery":"^3.6.0","lit":"^2.2.1","lit-element":"^3.2.0","lit-html":"^2.2.1","prettier":"^2.6.0","react":"^17.0.2","react-dom":"^17.0.2","ts-jest":"^27.1.3","typescript":"^4.6.2","vue":"^3.2.31","zone.js":"^0.10.3"},"gitHead":"6b2007dfdd6c65a03b7be02fdd76a4d09cbcb98f","bugs":{"url":"https://github.com/capricorn86/happy-dom/issues"},"_id":"@curefatih-jf/jest-environment@0.1.3","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-C9/9Dayx1p8H8tzEy8QNutaTcyPjuZE7tzJn8Ig/SB2ytIl9XVIVX0idkk+0fBldN160gfw/CR/Fr3CQHnVsoQ==","shasum":"b5c1460e9879e02b46b146a8f13fdc2c20368e84","tarball":"https://registry.npmjs.org/@curefatih-jf/jest-environment/-/jest-environment-0.1.3.tgz","fileCount":26,"unpackedSize":30475,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH00YScj7rJg1YckAWHxzH25DYhOChh45UKUnywEeyk/AiEAzfNZBsFrw8ulK99MpQ7VL/FddVeCnVW/97iSwvU4W9U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioI9yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvwA/+JDtt/9thMetkGOdz4mpKE8EXblHHibPJQKfZ3k6NIlXJHfTG\r\n5NPcOKno8kU5+oU/fGNU7sAy8aYjpp/y9F7p3+dCegHYvNe3BRAaNVTwdwNf\r\nkJb8QMbOUxwayghBh3qfv0YBjufDT4EMmJEcu937djFQWC351Rn4YEe5UC49\r\nIYYZ3mic6SjwhanClFsOGQQsZ6jUjN4B+xFvMyPJ2x+AoVJMbMDpSpU1mFtR\r\nfq3MkIZbTtdUQhOZi8VirIXItVizZ+xWqAhabpb3D3PDoGJ0/H/AaGmr52PH\r\nOXu3VXOptOGoZIpiexBf8VY4R3jzuJTP93zzhEizV962m16Wgim5CcHVVoPv\r\nzdJqk2KuKbUm1gKPxsy5JAza6w/xsH5bLEa5BFlGbFF5r5FnTyXzmfUlyeDS\r\nMu7StW3ZkgzTkgdA25/GmxOYEM7UNH8wyDgf4J/ys3q1ov5UNPLT5e9ZzMOY\r\nxYXejGChJtSJriEJn/jrfM0fgO0UA5iT9hjy53kvosUn5fHshlHf7zScZnHw\r\nJzKataw6ZEQFn5MiSiJyvJGxtReS841pXT2xZI8eLfuDjnl+BU9kiK4oetn0\r\nS+IKw+32lvHXl/t6iAdIJLwMG8XmWEVILBJzT+0ooh9OhcYM5AAwBcoMTxW6\r\nuEy/1awHoO95TyDxmYNaQ5UZsVDFGaI1E0k=\r\n=dM20\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"curefatih-jf","email":"fatihcure@jotform.com"},"directories":{},"maintainers":[{"name":"curefatih-jf","email":"fatihcure@jotform.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-environment_0.1.3_1654689650341_0.6615194837277265"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-07T16:46:42.731Z","0.0.0":"2022-06-07T16:46:43.005Z","modified":"2022-06-08T12:00:50.588Z","0.1.0":"2022-06-07T17:14:27.193Z","0.1.1":"2022-06-08T11:40:38.680Z","0.1.2":"2022-06-08T11:47:31.086Z","0.1.3":"2022-06-08T12:00:50.526Z"},"maintainers":[{"name":"curefatih-jf","email":"fatihcure@jotform.com"}],"description":"Use Happy DOM as environment in Jest.","homepage":"https://github.com/capricorn86/happy-dom/tree/master/packages/jest-environment","keywords":["jest","environment","jsdom","dom","browser","custom","elements","web","components","html","whatwg","w3c"],"repository":{"type":"git","url":"git+https://github.com/capricorn86/happy-dom.git"},"author":{"name":"David Ortner"},"bugs":{"url":"https://github.com/capricorn86/happy-dom/issues"},"license":"MIT","readme":"![Happy DOM Logo](https://github.com/capricorn86/happy-dom/raw/master/docs/happy-dom-logo.jpg)\n\n\n# About\n\n[Happy DOM](https://github.com/capricorn86/happy-dom) is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG [DOM](https://dom.spec.whatwg.org/) and [HTML](https://html.spec.whatwg.org/multipage/).\n\nThe goal of [Happy DOM](https://github.com/capricorn86/happy-dom) is to emulate enough of a web browser to be useful for testing, scraping web sites and server-side rendering.\n\n[Happy DOM](https://github.com/capricorn86/happy-dom) focuses heavily on performance and can be used as an alternative to [JSDOM](https://github.com/jsdom/jsdom).\n\nThis package makes it possible to use [Happy DOM](https://github.com/capricorn86/happy-dom) with [Jest](https://jestjs.io/).\n\n\n### DOM Features\n\n- Custom Elements (Web Components)\n\n- Shadow Root (Shadow DOM)\n\n- Declarative Shadow DOM\n\n- Mutation Observer\n\n- Tree Walker\n\n- Fetch\n\nAnd much more..\n\n  \n\n### Works With\n\n- [Google LitHTML](https://lit-html.polymer-project.org)\n\n- [Google LitElement](https://lit-element.polymer-project.org)\n\n- [React](https://reactjs.org)\n\n- [Angular](https://angular.io/)\n\n- [Vue](https://vuejs.org/)\n\n  \n\n\n# Installation\n\n```bash\nnpm install @happy-dom/jest-environment --save-dev\n```\n\n\n\n\n# Setup\n\nJest uses `node` as test environment by default. In order to tell Jest to use a different environment we will either have to set a CLI attribute, define it in \"package.json\" or add a property to your Jest config file.\n\n\n\n## CLI\n\n1. Edit your \"package.json\" file.\n2. Add \"--env=@happy-dom/jest-environment\" as an attribute to your Jest command.\n\n    ```json\n    {\n        \"scripts\": {\n            \"test\": \"jest --env=@happy-dom/jest-environment\"\n        }\n    }\n    ```\n\n3. Save the file.\n\n\n## In \"package.json\"\n\n1. Edit your \"package.json\" file.\n2. Add the following to it:\n\n    ```json\n    {\n        \"jest\": {\n            \"testEnvironment\": \"@happy-dom/jest-environment\"\n        }\n    }\n    ```\n\n3. Save the file.\n\n\n\n## Configuration File\n1. Edit your Jest config file (usually jest.config.js)\n2. Add the following to it:\n\n    ```json\n    {\n      \"testEnvironment\": \"@happy-dom/jest-environment\"\n    }\n    ```\n\n3. Save the file.\n\n# Additional Features\n\nHappy DOM exposes two functions that may be useful when testing asynchrounous code.\n\n\n**whenAsyncComplete()**\n\nReturns a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) that is resolved when all async tasks has been completed.\n\n```javascript\ndescribe('scrollToTop()', () => {\n    it('scrolls to top using the built in browser animation', async () => {\n        element.scrollToTop();\n\n        // Waits for asynchronous tasks like setTimeout(), requestAnimationFrame() etc. to complete\n        await happyDOM.whenAsyncComplete();\n\n        expect(document.documentElement.scrollTop).toBe(0);\n    });\n});\n```\n\n**cancelAsync()**\n\nThis method will cancel all running async tasks.\n\n```javascript\ndescribe('runAnimation()', () => {\n    it('runs animation', () => {\n        element.runAnimation();\n\n        // Cancels all asynchronous tasks like setTimeout(), requestAnimationFrame() etc.\n        happyDOM.cancelAsync();\n\n        expect(element.animationCompleted).toBe(true);\n    });\n});\n```\n\n# Performance\n\n| Operation                            | JSDOM   | Happy DOM |\n| ------------------------------------ | ------- | --------- |\n| Import / Require                     | 333 ms  | 45 ms     |\n| Parse HTML                           | 256 ms  | 26 ms     |\n| Serialize HTML                       | 65 ms   | 8 ms      |\n| Render custom element                | 214 ms  | 19 ms     |\n| querySelectorAll('tagname')          | 4.9 ms  | 0.7 ms    |\n| querySelectorAll('.class')           | 6.4 ms  | 3.7 ms    |\n| querySelectorAll('[attribute]')      | 4.0 ms  | 1.7 ms    |\n| querySelectorAll('[class~=\"name\"]')  | 5.5 ms  | 2.9 ms    |\n| querySelectorAll(':nth-child(2n+1)') | 10.4 ms | 3.8 ms    |\n\n[See how the test was done here](https://github.com/capricorn86/happy-dom-performance-test)\n\n","readmeFilename":"README.md"}