{"_id":"piral-jest-utils","_rev":"740-c3a946141c49d534ccef9515c22a1c21","name":"piral-jest-utils","dist-tags":{"canary":"0.15.9","experimental":"0.15.9","next":"1.3.3-beta.6204","latest":"1.3.3"},"versions":{"0.11.6-pre.1320":{"name":"piral-jest-utils","version":"0.11.6-pre.1320","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1320","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4f8813ce2fb12359d8774c36bacd5e7d73f52adf","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1320.tgz","fileCount":15,"integrity":"sha512-vAmVvJZ/m56G44oVxi8N4lxwukwlBzw+zMz+ZXcKU4SnYFysy9LK3lEyxncKAMK+QWycEorrD4hwj0o4bf+IBw==","signatures":[{"sig":"MEYCIQC9/W33Qqq5yQkcUwHEITkU00WXO/oxwITOCu68/T/wHwIhAKGF7cUfOeRbt7EzXcoyDwqjPpUrtYQCXK1IBKRRykH6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0Tk9CRA9TVsSAnZWagAAIeUP/jLhGItonUigmESQ44hg\nw+ULUbKEC/QncJy7RnhtI0voA4Iz+b3JlacFNcvSa2xQhSgmnQPMl0BZwWGC\nkr3lHXu3Dcyx9XwXYJiz09kBijdWcxJvR3hbZRMbdicQBN5nTqZNxqjND5Pn\nxTL5DOkF6K7AHkEaIEUYjlsBCPSVihUPBkUhhB66gLyyGkmqHVOz2s0DX/c/\nKHi0oTYkYbPuitemn0xFnYwtFeh5ny/mfrFcsesV4A0m54xg/cpp2WjoiHcQ\nQ1NCG/BXFJH9ARUCmHwRxUq6k/9lWLWbYft6ToU3brRMjJwZG7lA+GBJ3TIH\n8Wkaoa9XAWxP6CvUEingwwoGegedDhUT7UqSNJQr1yz6Dszeem9dhE8v5flj\nfjgHIOHt4wkq0kKVA3NcZeEpnVkikdSbfnxRcmLFgO/efqL5rCmxez2rJt57\n8gJHcriy9TN3zm4JES1N3DrLq6NXbIxNCB6oSawwUGrOuFDA53IP5LcEeht9\nN3ox14RrWEvNMqg8lQ1Sl+s0wPLvFsdsT5+PCBm/1a/PWwOXeG+v7pLWwTOd\n8aBcX7uAGCxGSx80K3Np+gqa707eD+sHF/ZTXFQ4KQI+yPKk4uTIo27LyFbM\nhw80SpX8kx770caVrd5tgAoxtOL7LNtz8u0YCng8m1u1hPASkqAvxToQRpGM\n7cdr\r\n=NUbx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"0076e4c666c530008b7a820e18e1817012c890a5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1320_1590769980565_0.44686512313822324","host":"s3://npm-registry-packages"}},"0.11.6-pre.1322":{"name":"piral-jest-utils","version":"0.11.6-pre.1322","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1322","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5bcf13f7b8df2b4b6d8f855a10d35924acac2c8f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1322.tgz","fileCount":15,"integrity":"sha512-YdFRWRaPErywZrM4VFlERJ5fPmcdAF8huSeztbS/AyYFMKl0sgijHX9W52RZmJ113y3ugirLAumwADSl+Jgb7A==","signatures":[{"sig":"MEUCIF5prB2VDnSvyfurL6A5ttq55pvp+fevsBBD0ZK6LiSAAiEAiH4ii4w/li2Lpcv/JAgRA1NW4gyilZSj3JnN2YxLrD0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0XR8CRA9TVsSAnZWagAAyBEP/RQILOTPPzqoEnsyOgXY\nieIhUKfArIndEd3ed5KnmzxWl8KsRx1c5E/cTr7fvXtcFdP8sXBgDShdjeab\n5FaDgKqXGx+tUkbisu7WJnhN6AAC0ndtEyR+NwnI+geuHMrJkoWezYssrgz6\n8JVhpeRJuQRBZZ3Y/psdOS1YOMI/TERVfYaxXdyTuXZKkBRaW2xcH8pFkoYv\nY8XZQYMIzScubhq1NE3TL0ZnNlR1Qo9+o2nITa7hsbSOKQT/QJb/KF9K3VCv\nDw5TtBu1Kt0/PCkXY0R+4BZiMPcXmtAw3ysBf2sznUFpt7XC0PGFIRsP0tJh\nwo4RPaAz+SjLW+WH2XEQtYTnfOJpTwdwfsRyCmzB8zFHW3cass+KNu1BJxov\nvWnW7yve1En9FB7ZuuRaIY6nvmv1YO5EN8cCP61cDnqvy5OKNvb2I3ZwmOTC\nhFP/dHHTojeTQgu+vhBp3TCZwwPyMaD4deaFZRUQrVzcuGeWboWawCoZDnxA\nIdDQFU6p9bPwknHUq7BcepknqOWtuFQ2df7gmXCGhTUOqfEdN/S1snth+rbD\ngssJxkjBUmmVj6aHYBxlVTTSjTFDDQz+KSUqXqFrtZ9Gl6eXEoY2X/1cOhIZ\nmuChIpDgdjre5WB07VSAp/M1dOwV1+Ru3LrZL+jUXADgIGVQmUc/vSI1zSOc\ngplL\r\n=f81E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"da50b6a8ac845981a5c38cef9f86d1c400487648","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1322_1590785147918_0.7112881296057283","host":"s3://npm-registry-packages"}},"0.11.6-pre.1324":{"name":"piral-jest-utils","version":"0.11.6-pre.1324","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1324","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cbf48252db42d9db22eb9acb45ad10994c68ab46","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1324.tgz","fileCount":15,"integrity":"sha512-Gp4G9sFrVkVAoeNxkyfavrOMn+r3K+nnMAfXEVEfiZEauQfTMDtiAoEHcVJJ653EieP0oskpAzU7MZufJADZFA==","signatures":[{"sig":"MEUCIHXddlmJYc9hvtzprZ8KgXCZKZazr3rNJPg7RidmI1+PAiEA8PkVyIas4XQVTAzyVX4y7uSyPTuWT/6GG6uJ7T+uFkE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1fMDCRA9TVsSAnZWagAA9yYP/37zNIi3RiC46Z4wZRxW\nzh1+EZa+TfUeMrb1PEZVn1xij5IumTszFPQCRb/BkwPlozOs03wL9aZQwHtP\nVZ96cbTSFc65/5Aj8W/5i7+V4HYzvfDPBoEOfNxEF3TnZoXMH2huxhyzn+te\ns3vfRv88xyOHclJ+lwpNKdgUTsJIkEFXoBJpXR2WRCDBTLf0Sdith77nnNQ9\nraFE5hwYQQc9rOCNPtpiAZY6d27oBrHyddROYNerJC+qj/SlUEAGzT7G0Zdv\n+nDTuoIvrvIPLjf1UwF7RGVHAVYEaby68JRFXIXPKQ9wd9nuvUeyHh+YjX2L\n+AJz6YQchTTx4t3z1TRnUaWqVAnDTjevSioi6oD9JSXRS1AHYLhaM+EcZQZi\n4Msq3dUk73oHU29DnVevCs7gQOnQgt3JenwrHknEfedKGE6T3iMu8SL3+Sk1\nW/Zv0bOnsITKhUvxl0aM9HFDKAAH2nTVMJ4b/B18Y2nGIZLgZQUJSV8Zl9UJ\nLzHyRAjeYPMTrZ2qqhL4Z6SCxKhpFj7Do7X9hWSCRE/4g4TYgeVI/CshqOWK\nVTY3lRVFY00dIwCIq1u8wCulY112kjXRbGHCnK0hqmLvHbLGA5OyywBK1Srb\nNNelTHRrKrJ/Lj+mxRL30TzuKA3VVTujpBNLRapejeJipsqNXQjE90DS9SAV\nBtX6\r\n=x8wq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"310e40de68efdb9b25af6326ec0bf156c3ee9c13","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1324"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1324_1591079683103_0.7091076999368187","host":"s3://npm-registry-packages"}},"0.11.6-pre.1357":{"name":"piral-jest-utils","version":"0.11.6-pre.1357","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1357","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b18f4fe81d06474b1c384d26bda16a5e07137080","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1357.tgz","fileCount":15,"integrity":"sha512-hJjKlORboikcA9PJef56ybEEPW7IvJAqLOwi0EGdEQVb20tdxA2SjatOms+/dHK37cMihGF1ztG6++sOm0cXNw==","signatures":[{"sig":"MEUCIF6k3JtEagkqkqu2Whq4jNV4K6PuGq+Jlg+AxbqR8tCHAiEAykRJwM1yNFCQUgu4hK4EDGnu5Nw5p/eDuw/refBwa+0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1mO7CRA9TVsSAnZWagAAdXIP/2LwwhpSJ2rkPeUmUvoD\n05Dlwxxpmg+pSn7b0+9QJnaXN9WPlueITAPR8w24HzE/1MoW7zUXhQAcN0pJ\nHMpFcFm55Zwk6Kx9Mai2FH9yK4DiYUeaucKoO3lfhHBO0QWCdLLQwO9uwf9a\n/xVGYU8S4l/BknJYQbblE/3RSiMu5r0nku0NMB7jomzUucjzfbgnSr55Y1kF\ndbsHVLVcD8mbdI4VhGQm2i8odIk7gZoY9uhN6Dff+IE8gdVF+ptbLe9eaW9X\nm7NB8fR08jPRSmbIjjMXhE767XvPRadFbfe9Z6mZQX3Eo3Eyj+zh7hWcqW1s\nYT/gvbtRqxJ+DVIsdw54WYfb/AqpKnCcGOiEQ+/KYszzjWd34P+PJAjvxtSH\nlbqCyVyRpKbip2xYqkBQbPvsOnlQhE3Sk0zLv7AUTMUobGGnI4StQUgzXX2a\npmrGgKStjL3gdjAiVeM2cuPubYZQMhCxV5VhJZcDSs3Gr5CGjZ8gxI2oQMrS\nS3ntdp2VM38Eb7yv6Bv8awgzD7glvHZdq1/LzDeWNNbQ4m82+enM0erHKDSo\nZc6b9sIS0dk/2hYij4ndha1mQEOA1OyUut/WpjorYgp16thRn9bmxWGi/qV7\nepd2QaL8WgQd6joqeJZMg92xJAwjOjwEe2DJ9EhTgdHCd2xQoDs8tvS6zOg4\nsq85\r\n=R/KE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"12666232b5aa8dbdc1972985620f4efae5c1459d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1357"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1357_1591108539295_0.3769352312754315","host":"s3://npm-registry-packages"}},"0.11.6-pre.1361":{"name":"piral-jest-utils","version":"0.11.6-pre.1361","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1361","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b6c7dd978d49198f5cde6270c63d95b64f00d53f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1361.tgz","fileCount":15,"integrity":"sha512-dFIf37xD+hppE1RHX15q1UJFdiiYFjEqwoYkR3LQq77HohGkiIS2ZIEfacydUbnaw1BX6CAwvLA+uFcy5HyeAg==","signatures":[{"sig":"MEUCIQDIe5BFOC139IuiXbwukR3hm29zO3dqHx2wS6EAASpHvAIgdIfM/P1jX2IX13yPHjcQ9fHB6m505U+88rBbJYnO1fA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1m8lCRA9TVsSAnZWagAAbTsQAIz7ybD5fsc3l+EpRfFZ\n/KqnwvIrtmehwvn2MgDAvIcSuRF0ajw+3kdbTy3qSHvbeTUk6JzmCOvB0y/t\nQVN0pwygvEA8AAkJa5DocNYl7Lh26G26xQ7uBC5VNtHYcce/PhVHoqGegcMF\nAbqX4KOxJN1u/7L+r5fFD9KySlFboV4OUXmRj2j5/EcMkgIAagHo0x4W1TJ2\nY1Y4PpqoITNmfBj3AEQdZ74sdWe4RY6Ow0no4DJseX84vzZPDWi1fZfM/am1\nQXVAqvOyKMiQk2+Xyyh7MZSVThNhHTh8L1nHJQhbvBAEEV5aEy1lEXDUL/zM\nNBZuEMREBmaoGZciiGYrd1Ao3El+hunGJsrFuGeCv630a/Utgri5FFPWKSF0\njDb+pUqxDi3LlIjS7jGsfP+L6cq3AmgSvQM7t8bNd28SHlZuKsi581KJ9eJ2\ni1uB6bn97cVoPENFItGzmS++kVtt7j6BR5a14jeI5enco1R5kCKdhBa9dUOr\nCEAiBjvLiX31XEkTjh8brazONBS/EOndPA1I77K9Cr9Ys+7NvaXiUd6UGu1h\nU6Mt85gbvCQnS6MWw7y6bQq6IGGfdhBlsOun9STjWtz7aiJML+aw8BZHcgfJ\nh9KYq7MTfVbsDfDSeCUCw2QYxcl1gnP03o546rOP8Sa50OkA/xQ5NhPnAuI5\nf898\r\n=F1O8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3af9e744b7700113ff35217fa06e5c2e08113c4f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1361"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1361_1591111461487_0.7923235757731428","host":"s3://npm-registry-packages"}},"0.11.6-pre.1371":{"name":"piral-jest-utils","version":"0.11.6-pre.1371","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1371","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"143db69b7a42a515d5f34a6cd4201dc88ebe4724","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1371.tgz","fileCount":15,"integrity":"sha512-FnTL2c/+JEKZ74jQkSMU1e48tXV+jj/I61ZFHzuxwWXf1PnfNdKhBVNY9cm6FljKqOItbFYErGyNISBudP67Mw==","signatures":[{"sig":"MEUCICECPdQSIP4ctH7FwNVdoBB/nJiEu8PUBU1LmsOQLgxBAiEAxoKeut0hi/yKT03veM3bLOlRjIu+30q2lHF65FQlMBA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe11DECRA9TVsSAnZWagAAw5kP/0tlRoCARqNPSCXZn7k3\nexjPIYR1WyQ6Kfrndc9GUIETxBB1gzqwfc4G1zON1hHMLcsqHhLI4mQ2RoYQ\n/4uaqlUAuyiDmvZkMmWZtiUd5K2iJUEipaebb1dKUdyEHPmAJOCB8MV3QM35\nWRdY3jiDKFgDfsCzGQnQlylps+T/L9qK6Fj9FiiGiQVFY2YnwC1hrzl5fnN7\nqv/vtqnGKXMln7EciPr0DIRRaysIXF+DN/X2Yl1f+k72Cu+7dHEng8RJjnMh\n+fEw1X+rFxrZyVqE1DwukAE9f0Fl0q5R0FjSG6TsYK2nZ1KdcQCMJccX0fmQ\nKdW05/QgK1WyZB3y9UHs5p+bLFCVoaLeg5e8NoILY+3qx+pN8GOjHius2OTS\nNNRyvREB7EmaxU2/Vb5cdsIP735wTcqcISK9LOX60cPnzHp9Vtfm/nVwg18N\nB49ifREZLFglIvHEO4keOJsqMi6FDSKPRewH/P0iqPmBRlUsimJF5gtxJy/9\nMfxbDdTC99ZYLBHq2a3PfCRogppz/JJNFZXll/yWQSUBTUXMMhI0Nsl9EszE\nR5Oc37T2NxZeLhTNMIsc2poBLjzAT/vc0cND6Fl0uq7/RWZVWNd83lAd9wsS\nh203ooR8jdlCLaHTC+9kSVuh/OvDjiAbmg/Lcc+zk5ykjDtwQ53eKTLF6VEg\nI5vK\r\n=7Pc5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"03de236167ab3eb62fe565fa7d6b4e2704ccf1a4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1371"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1371_1591169220286_0.21546554614942415","host":"s3://npm-registry-packages"}},"0.11.6-pre.1372":{"name":"piral-jest-utils","version":"0.11.6-pre.1372","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1372","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2d64f8408df435abd4a2b2553294b6ac3c828fee","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1372.tgz","fileCount":15,"integrity":"sha512-FWw84e/NohtUrlOg0X+YL4tCRsB5pzL5puRLG34R5idDBy2C0+g2is5iponGGs7b1hrpHTC+EywEbNCFcm6Dyw==","signatures":[{"sig":"MEQCID+saWjUqVg8ofoqGPidurbyVdrJxU2b8Fznwp47j178AiBz56IJP8b5IpNnd8cLOXIvXccbvVb89h7hKtMJTrThCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe11VjCRA9TVsSAnZWagAAgiUP/1WNFZo35aAfp6jMouDh\nbKQUKrMR9ALs+rIpqbreY9LQzXm+goIHtuQjrItLJ6jGuTRC1Ja1k82X81G1\nIpvHPsXkSZa3drYR6rmX0pVggBm3KzUaP3PSDHZ5WaUIuPSZm7VnCT06wA1b\n3YlNXoqqATlHvlhTrinju8yQUFWkGE1YqIpNbmiH91m4DTv0MhEAfjIIEcV9\nMgmMrPjNhYflwcbOXlk7Z4150oa4twApl5SyNeWJq8TbGEfE/8iV5ih0Q7xk\naGJhXPiM/BLakAMMTev4+ehxv0Xl4fvdQuNsVzr5zCBl9et5ZayQH8k7e/qG\nu86pbvXumri2N+9Cr4ubuRnahVH+/OjFW5TPpCVkjyEUwfruK2QZnTG0BJIH\nIegSWtA/JVYKhi29k8IoM50foC97mxu93UweVvIMaDpjCGL4xMo4VXDrAD3G\nKkmEkDq+VqlGiECEpWCsfzY5TBZ65EbMw1M+V+kf1Lh9LAqLZXzZQukYSQ2t\nckZnyMAl1ZM5G80+CMVmRx9ivuYWBNwYHsdpAKxnGOko2RyhMwSJ52Wh0bVX\n5XI+ELThCGnMuSy40Suwk5/d0DEjO3XPWjb0uU/n9NuknRNX/HJ1yQP9vyHW\n0X/EylIwHkr9HjnDdMhGyHFsHgY751QqodblTyv3fO087pIGtXQQbqUKVIw/\nGaON\r\n=AoqH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3d8cd3549113ddc046ab13bb8086e2abcf1d0799","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1372"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1372_1591170402736_0.37216013163336203","host":"s3://npm-registry-packages"}},"0.11.6-pre.1377":{"name":"piral-jest-utils","version":"0.11.6-pre.1377","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1377","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5cc13a7c63658caa9ab8d4588f30c8cabf7adae2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1377.tgz","fileCount":15,"integrity":"sha512-g+bLJMBah7+XHhBCG6wzjEXxjpEYerh548zEZ/Npe9/BeJ+gTnJZMQ7CRYtgkvTUcaig73vDr2PkjsLXTluqEw==","signatures":[{"sig":"MEQCIDOwimRm5wpGzgCua6ikvOofYGtEAALQgtVcd1jChRh9AiBQ6Hc6+vig/gwgloMQ1UjJ6EZmzS3PXj/FpGK39efycw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe16L/CRA9TVsSAnZWagAAUHQP/3lo0nHXJuGhLXKOzqw5\nKgAynZunS/DrI3UaomOkwzWyTO6W7KnSmNNqHsQpxMYMQ7+P7//2K8YUZLkC\noc6f4h7ih4M5YCzH0VcFuRk7E6geD3FV+KnAtojONYrEgjO7JoB4nBz/Je8F\nELahe0ar91XgrtutPdfh6+bAW5EvUTs50q3MRwDIohY28J1RKWySkgYE0BQu\n4eQoXhAmxCQ/CRSDg6n3uIIKt0ig0Ts3oIGMZ23FHi/ZK2SxFtT/WNmeyz0m\nECJfqN3CsyLssFhSNuGl0yQ758hJSl1pYxo3ysupbhlIN6UGBuanClcuCcrw\n9YK8vkTQ20t4kHpk8KeTzzfRillzEtG91IxZ7yO6WXG5S3n7EyKmDiKBk5l9\nkQv+zykHvcuLMylj/AR6mMzkZIKfISiCT37eL/SUymjEGZOsEzJrnAFVU5cj\nMgO/1EC44fHdI9i8k4btmxHnf9reCKkIJCIiN4FjWAZADG/xIVKsef9wecQz\nxQloX/aDLw1IrE+wK6JA/4xOQvdOAgLIIM9RQ0gKOsPOKFlsOjITbVio1ANT\nuLHqZi1NAuZ6gmTyGHyOvqZ8i0ak6VqBJZDhQ2Eex2vXGuHPjvDt21JjAAL2\nJJ5DV62dZiLxWTa31s8K6khSMT28GunKviYwko9bLaq06mcaQWYbb5zNGX6J\nWHu/\r\n=1uTl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"2b6ca04d37512ee8bd1355b40cbcdc3bbebe2226","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1377"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1377_1591190271169_0.9026391381478696","host":"s3://npm-registry-packages"}},"0.11.6-pre.1380":{"name":"piral-jest-utils","version":"0.11.6-pre.1380","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1380","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"da3980e5d24e565ca09051ec0455f4e50cefc398","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1380.tgz","fileCount":15,"integrity":"sha512-u8zDnrg7ZjHhRtyMKWXW75owcpLEBUOxmsAqjLvw7VKknrvgFY43YWyhgNZJfAKUcVfIMojNXsbKsygngwz3KQ==","signatures":[{"sig":"MEUCIQCA6dfQnME8qNE6lqajt811XzymGn1ATdPdhdj5YX9FSQIgddkT274JUOiqCLAa9M/qkw2MiXGODLu4SHaq9kW6Hc4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2JqOCRA9TVsSAnZWagAAPu4P/AuSDTNal3qW9sqq9H5O\nZf6n2WbPGWCk1PqOeOxkrceAH613349RI5eElkn/DrICCPD8UU15ydHzVNMs\njsvMp6M17V/8dQgHt8OhGP2LJuErLpyxlvtlq0oWkLhsFNOZUwCQ4VdjW6mM\nqT8O2Avuse1e7Hk1179ibdV1po/gy9iU39xzlpy5aWri2veCvttmqiF5XPfr\n0WWL6e9CWfrdYli1hmfuZVeat1OOftJHUBlg73ItNH5fKroHsaCt51PfFm+p\nwdsMNZ9Jgj2dD2P6gvNpBXN/AxYR+enmgUd3X0Qp5uZlz7X1g7v0BJ8QCPTJ\nq3QPN4hsMmi9tEUsMZjCbPRB1100PDG7aDwsnvrhgGjrjcU7MH/cN47hPixZ\nmB2pJn7LYfghly+yZBiDeQyKdmoLUfFvPXdU5HtZNgvgDTdhR+9j06lyzJas\neNetZ4/Mrwz+yfPVrFmmzU6CZCv2yPgYgVFMIAXn6bZAsPJccBOg8yjcUXCL\nVim0lbH0fnuKrtgZeOqtAlF3gwo5KeNFY0D8FI8yu8L1Dbb+0Jren8YOhseb\n1603G/l0DPqU/Ki2MnCcW30JOobkWw1I7DrXs6N5pEBqiGXuK9Zkzdb2HIh3\nA2L4xMNvy8LHfbu/DqKiJPNiZu4qDqEcjBNUUvWJsiYkc1AebXbEy7a8IOkf\n2lKp\r\n=v1Bw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"46e964f9f287fde8db3f319434b9dcaa439abafd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1380"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1380_1591253646193_0.28709914569846307","host":"s3://npm-registry-packages"}},"0.11.6-pre.1391":{"name":"piral-jest-utils","version":"0.11.6-pre.1391","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1391","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ba369ecb1e30537c1b49e88f06bbb0703cf3ab9f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1391.tgz","fileCount":15,"integrity":"sha512-BbEz4cBQbYdvjwrhbbdg0LQDjF0j81Dng6ls4AKbiQVbx6WQa0yykekgE7J619dej5jC4WXM06mrsgVJUusxuA==","signatures":[{"sig":"MEYCIQCtyd7lZpC7byCmfwa0Z437Jmbc+pV07O/AGXtw+kHF8AIhAPqk2qBeMJQ60QLyGltVnPSxaV6dnNhbOb77Pm04e1Bl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2tDvCRA9TVsSAnZWagAAT/UQAIzvC1BYnFehVJ/Lr4U9\nIqusMQjs72evCL/uQvLEmwOQNzarCkJmmHCh8q360F8ZbJC7F27NQnE+oQ+H\nyjeM7daXn7+7w+Pj0FFakZi7E1P5VYmsb0DLtTbo3bZqnT41Je4y2ilJw/5S\ntCEpZkZCoI5uUs/5eC1rVT44pVhW3saSh9scxGPh8INDwEEXQo8L24/LRR/7\nuuN684GtO/FhkeXA57Cz/lPveSNsEwcKL/OJH0swVU6qO12I+obIgKcG9Ppv\nsYuxuWBU6wFBz8VK1Mt8Y2HR0p1Yn+RE80P0mSjaBTk5rheZRA+73wKjQYTk\n2S4gCIYGc8MWrpacIHsGYSWlFN5m14TNUZ6E7rTb30MYvtDy8sUjbt6Vk7tL\nsP+WTwRXqxQbYWK9OK8umZdPdu0iGz4MwVM1EWv6i6/cAJOijqpg9O9IlEVY\niKg0oJOnqr2uEy/w2J5von7L/H87Lud4WCvDARdEPJZL3/cswXfi38I3GxbT\n31ilO2gQdw5pvpWKaz32id0mWtgLV0XEgMyKSOYDpeP8DuZWnqHHpkAhwmNI\nC1ev9LcsxtKBILJqX3itdkbxVkJPJ+EoE2KNHvQoruEVy7Q2Kt1LVLdjIsH1\nlgkmq3XdaGUXFvXyOBBGkzkZxE4fKQJn67dY3T3SpXSqEqsLSZQd+Kh/SPPa\n7oE6\r\n=eybZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"39a70ad2cb9f6c2c588f1c1fff536e4d408f1f21","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1391"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1391_1591398639226_0.9285221858028847","host":"s3://npm-registry-packages"}},"0.11.6-pre.1393":{"name":"piral-jest-utils","version":"0.11.6-pre.1393","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6-pre.1393","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"65b174abbb42c0b2a7ebde7406e5b2dc22f7c006","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6-pre.1393.tgz","fileCount":15,"integrity":"sha512-pIhZwf530eba1gFSDz3Jb6na/RmJgHDazcPnHHF6WlB9nbFIYe2FwtN6oB4IcoWdBN9brbOWdOfeZYh5wQhwqw==","signatures":[{"sig":"MEQCIGiLeJmwz/TTEbJ/U8fCWZVFg+t0EevCzSaDbWpMp/uQAiBBXTd6pc3zG6VDc7zEGjHLLIEuAA+PtN23Hmb30qdPHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2uzqCRA9TVsSAnZWagAA3CEQAI6S5nQTB0jkEQvJ1vQ/\nlBNy1uhaN820c4Uvt4x2ZRKd51PfKfQpEn2xRWFErra07KqaZTWjF7/liz7s\n5KSqZVPL9BVGRvVdkcuR1Whs/fdm5Ch9/MltPIwOJRTmdeIvzv79Fn3Die2S\n+tSroHCg2y0svqGi1P+2QBY3i9vkqInZO1hI6RhLjtcVCpFHyYjmgBDSv56W\npB2FxVa6eSPyeTelBsqy/ZW6+BMRzSst4zuyoN6r3wU1dyuOOLhxufzEvIzr\nfgJeL9VSKMXzZnH6ZTVDunr0y4Ddj9svPyLpUVhz6ap0niOllB0Mi4Z71Z6t\nkb6KI7KYWnqR/6nYR34kqj5rkGaWLVAa/d2qCesIQ1LZ1m2PfbtFl9+cHOF1\n2A/CGTFAUktXgx0FSmWw1PqGDcbDXuv54fBmf+CN44HY7r7W764FY60y8mSy\nrIVzqVtVIQxMCbh4Dor4JusFfNMJGchnbLwMSKh6/TwMzt4tu+7uatkuYkFH\ntwA35cdFIn2T/2pOexDJqLtWN9x+TPUgxFHzGlR/8TiZ/wN0a6vJd8i1E6yZ\n5yDyz7lyA35HND2Unc7yXYQCz7getZCsHnvmZw+Jy+nGc/i01lx5KQYB9IRy\nQ8r3/5mjKTvrzZgvIUfTqCYTyv8C2z8UpeV4leCkEBHtKdThU6wmVXDJAL1u\n4xIg\r\n=tUHl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"33b8cef3ffe2814edd98123de6ebc938390dfca9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.6-pre.1393"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6-pre.1393_1591405802479_0.047725555072695824","host":"s3://npm-registry-packages"}},"0.11.6":{"name":"piral-jest-utils","version":"0.11.6","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.6","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1154d95368d9a5386a255e9adfdfc0f1dcbf21a5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.6.tgz","fileCount":15,"integrity":"sha512-VZ6Bc1DLi+Mwv/ZVYP61PFMu/O1x0m2zSnS91RIGrby2TFLEsLQvuo5WHBXEBHniKH0ouGvyfVgjQpZRZzynLQ==","signatures":[{"sig":"MEYCIQD4qe1KnooTGJOQjjh9sVxwMfMXxNb0xujGyGh9UhOBBwIhAPQGBbsvQBI84kGoNJ6vTzaBjVgRGYF73FZjJwnOUTFt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe260bCRA9TVsSAnZWagAAOW8P/isHYZHdLifp0Re3vccf\nSEPYyAnG/DMAdvuOijds1HifdbsF37NKkzYPd0EBzlESaBEYOZEt0Aq3K9rM\nA35Bd8KUhSuZb9YUlGlGzRNaAoGEsXtsjYyysAf7qqFTZ5F0EsvEpknFTqjS\nDLJhvcP0Pmp497x3UAR0KeVFlu7NKl63SkL7bzh56X+uSSLN34PuTUxS/l4V\no6t9aD2g+8NhQYHbhqu5BjOL3TiDGs9tTgVSkB3DGxXXFVFvpEoJAHdn69d6\nUiec9xqlpP2N2Bb3ktiyt6uRUEi1R4x4svVpACAv1OSWx9TH/5ecv1cIpRhn\nnF27+Huw78Qi3P37NTQViOYNZ7KfZRMdwTgDbLNiw43tnkLl246boIty2OYP\nfDEsQqphnw5VDNe2kw+rgibAumTgTaUFWn/KU+DqTpuUj2+LamVHM2LlibK/\nNBLUbeYaGnMv4rrBM5I9gb6JF7PRYQq7QuKIpvPLZliJc97s5kZ1R0pPP0ce\nd/SFleTdEBYuBJW/0kVVXA+uA4AGI0VqLEz9DUWYHB0zDX1UH3zbxPYIMKBw\n9i33D2qzDlgRHKHmxCgB0r0ZJUPkc2QInZfMUM+mr74j42TxxmFfLisgbLpu\nGWFu1UJchV9pIaseRXzdu2lhKXLYYsquHST5vNnifqMtQxqKbEx82pGjiDC5\nzHQC\r\n=zAQf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"77f45e01cd4c1ecdf3ea49968c305aeb3279a0fc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.11.6"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.6_1591455002688_0.26259803413206684","host":"s3://npm-registry-packages"}},"0.11.7-pre.1403":{"name":"piral-jest-utils","version":"0.11.7-pre.1403","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1403","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"263549db30537ea4cc53fefbe78e78e3628991d2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1403.tgz","fileCount":15,"integrity":"sha512-tB/QIWcEqb/2zoHbtvTcX+WDOE1VaVlUSxuYWUJujzEPc1oCIsZyZq1Rq9kg402231skPkwgZdeQOTH/Zabtkg==","signatures":[{"sig":"MEUCIHiEdejlIRVRbzcA/cNNUdP5gO17Iw+gPRl1TBZNLcjxAiEAqk/2kTMPKQzTEu6ySL1wPAPVJEevmhkPtxR+D7WkKr4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3OzQCRA9TVsSAnZWagAAZy8P/1OriTjycG1oBpCmYuCj\nMZPFXNfnhI88SHS3aAnEcI8cviuYZWJIjlorpmaBJgf66cHKfBBscLjYvmXs\nmQDi1wWv+UbGyTLAiYtecaopQLsLfgQv3EqILBB0vQkmgX36Xr/PnO64ki/Z\n0sRXfgo6HklflQ+0zV+C0GVK710YekHlGbTF/nj9CkQLEJrDzDkLzj4fj31a\nfx5ev5q575XzlraYAPmLY2T0RlG1yzdziHphDstVlxsGXb3IkHxwNLneBR5f\n3w9zcqNQqnQXJ4GDEMLrK2rP473MaZ5eZfNmihjssmjY7/i0JD0MGyI+JWwD\n6ykx301P3yE8AJllBcFGQ1a9K2rxMT6cOF7FEs0gjYfxN+L8U9OntUI/WDeZ\nqcY+lCP1TpNpvvCDY4V9Km76PuVbrEtua13seOyomR8gGT3HAtyFMMz0yUIr\nTPfka9FaTAu/1q1NQKTRv7l9DTgEhavLclH6QRyPwSd0CqG+o3Hgt2rlQ+Fd\nk4CMX3+4YQ9AxnOwna3GWHcvAsTBAtnEreF4xxPgBVvgW6Y0T52hg6eggh6R\nelE++GEtLNJU1hmoxiPSfkG9BD0MdtJ5+uub8mmjB4yNoGvPAjXXumQPw0Ia\nSmjjmeDAMT8ltlEdrmeDv+zLYSk4VWG7TwoGhRLBgUfstoQbq0vklEFh77eI\nMaeV\r\n=PCy1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf57c1d8e95abd14d40007893d6fe864ccab50dc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1403"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1403_1591536847781_0.35632546941235455","host":"s3://npm-registry-packages"}},"0.11.7-pre.1404":{"name":"piral-jest-utils","version":"0.11.7-pre.1404","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1404","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b736efe6ac398639b5ecee0a33869b11c807a5d8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1404.tgz","fileCount":15,"integrity":"sha512-sHJBU3Da3si8tkP+kyHxPdFrWAfvHAMjgcuw3XtzWwARQZBgZ2iTp8TeP6yRQgh9/IfdjQFNG34WXwzDatA80w==","signatures":[{"sig":"MEYCIQDW4HDkHuUZAlL405zI48ODnB4bGomfeCiHMmjuLGQn+AIhANfcbB14masxSxGYdmuVdWLy64C7TQ4qxp7PtAg7rsMD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3RS9CRA9TVsSAnZWagAAjuMP/0ofYiKjW02NR4U5xg8M\nEsZeGsQtWszZ6MICY+Z1RefmbkLZKQbft3LZo3c91Z02voqQImAlwglN0keb\n5GrVZo2XxTIyZpyxjfOP+N035X+dy1zNOTxLExbaSKyIlQ83EhK2xQ26RxvI\nFAynsBjhmq+nsPGVYFRSmw03Kg4ZVAS8bh/G/LR7u5zFzVRpdGhV0g5slLYh\nJuVHE6Ejy6rPiLmTkcK/8b9n5QICR3cV3OSRBlivOl/n0w151h9TfckpdHp+\n0Z4TYO7FS98ybJVjEfvEjAnb/c4WAhBG99ovt2tAMn6BDbKmpWAFnQjAcOQb\nYdG6LobgJv90dOUq9+m93W/NwwVLa4jCnxTWYBEwBTIhDiGVDhx+Md8hHXI9\n1wspiQVrNXKiYLHNQ6fyKPER3i6c2T8dgX3pLVkuW/0vascxzvL+Cx0UvJGO\naUFvaxPESSAwBfFXhQpP3aIlyvjyIrwdWYDYwg3yt1JAYxrn0LhDAlpjFy71\n3KvlpFiqzbE7g1IV7a4usXlpZWiDitqOv9cB6HFxQ6mCH1d78mIJmckjLTP9\nLLU49DkiAOh6g0fUGlIIaun674DLbzx8qD7azD5WnTRmehmhyHJO/8oqhChs\ng84Lh57tAFFT9YCPld+ZsbRSa9UCBRrjKmQ0XgAQMRqQXDIm0z8ARmPXzMH0\nugQj\r\n=j+Zh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"9641030afeb37eec2c4edfeb3e5bdd830156fe06","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1404"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1404_1591547069287_0.6277458186729354","host":"s3://npm-registry-packages"}},"0.11.7-pre.1406":{"name":"piral-jest-utils","version":"0.11.7-pre.1406","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1406","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3311e5420448af17203213fc6b0abf1685af1ae3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1406.tgz","fileCount":15,"integrity":"sha512-890hHvnM+6v4fgE9cI8EcQF/T4SaWqygONga1qxYHns/QN2Bgd/sQ1cL/GcnPFkGG993Zy3znKmlp3uwCzKNnA==","signatures":[{"sig":"MEQCIBmNTtnIb15r/nYgCeTXRnFL3pSa5lQjFuWkuol9PX+mAiAGSxK01QSUoDEf5Ld0V3gov5NOsrnV7um8iI/So5xj7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3WBICRA9TVsSAnZWagAANVcP/27HcA1C9QtryzQIbmQd\nX92Lan+53NaApmt3875N+X9u4WjWkVklLgXwPcRZoPl5iQGlZK+e+X9MGDCw\nuMJrQ9d5QonuKuyR5cjoVreRI7PVM7akAqcSIa1LANb1KnZmaQxG5tpZ/0FD\n/uj9N23evOLTu0l6gfAfTkETQntZp7s+AqB50z/aBPeW6VwmvZmclAyHK4m6\nTPspR7a+Cp01UXjUziwj2hFrM0XSJt7VMCZVCt5R/Z56EMx9ALUL0YaEiAPR\nRsvB4j6x5JMUnlHIkWFLMhy7kPG1RuUtCYzklbqV/6WRAQ//T2Inm4wU2XA7\nuHATM93nguBxzxyex5pc/9nIJeQHK+WBx+mOQW+kLGWLQJYQetTgKv5E51EC\nwM8PjT+f7mPBgXYLH4CLqBBz4xIHgOLdnC5MimY0+sLWxjQlrcGKkowQV6+E\nZW0LTfWpMY43XtTcu1/gSQo7zhhFDLf4JDY5nrBFnqgsYzqUTeBklaIpNViM\nqE7yb6wfLWg7Qw7H3e3ucR7Bqczet+yrxFtGzusqNsmMy6InEf056KRAzPRJ\nJKOV/O1W5F3IEoCbxzp+86edsilQy9LBN97BROVZyEONuKYxwAcSbbFVCH6r\ntldqQ5URNZ+iyxutZsnDxbRTvksBCC+1Fcn8eRrC5i2fEd5T7xFXy6gxb6Y5\nfowz\r\n=5PWZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b819942e913b703141154b98ad648faa4ff2abbf","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1406"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1406_1591566407689_0.7300942561140942","host":"s3://npm-registry-packages"}},"0.11.7-pre.1415":{"name":"piral-jest-utils","version":"0.11.7-pre.1415","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1415","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9ea0e8f480db7fd8082e1bf92fbe736de0edbd53","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1415.tgz","fileCount":15,"integrity":"sha512-iQLEY8X6+d7c6MjCAAmxmbYLLg5qkV7jCS6v3GxOjVRDxjH44o3r12EGjNhK8fmnxraCdSdPneJEkGfENLVCOg==","signatures":[{"sig":"MEYCIQDeJIO7xW/UIENGUwUdlBrJZNwQfWz5n86VPAEwn2AEXwIhAPXoUKa8GFzLQ0CZAPnfplNhBnInidMIlnFu/ArMbipc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4IdNCRA9TVsSAnZWagAAF2cP/RlUL2YjToS2/v6M4OxS\nIB+tmk1h86W4AIPGkOg37bSW6U+20nBDHuvMd6Izyck0D+/a6abNoACniYgL\niKgNNbU8o61O4260wa9ZVemWmefbDJ9Fi0/S8XtEZmSOPD2aNZvd0Ip8PUs9\n1P7L9aF/c9g20wHz4T19HH5tLZT249uFuMOwnPilv6CCbTmuZmt8wIq55gVI\n3AOWFo+9Y2xUqJQ1+IvBlWE3PdKiXQ+Qr4Mgrzbv4+D5w+C4cWbOll9arZnv\nsBskurtc3uiT+6lEUJWu35KFWjwpUoF95FVOr3SgHBGu89sBfOJzRYdctEKF\ng8X9TAJARBcz11EJR+yErOzWu2FpWhhabSo5kFSqY0qB6MHHsn/E1LlT2TLU\nHvL8K6R/6PPmM9TJ+jEimv1ikXTJn1ZG9TlQXShdO6TwICPxsIviGfgvKcB+\nWgk3xSC4vHRKZ57BtfxLVQTiTQOnFDvVu8cmQ/LAK4jc4yd0po2Ky3Lot+V+\n+JX+ZK44Wacs98sxJwMJD4cPyNCY1CZqeQjIwV6rUud99kTVHSCYwQKpzjVD\n7wEUiHSoNVqSgZ3OZI9elDlqy7h5Sg5N3ZrntogbiI9cUetAuvU2ZJ41j+vO\nFtLJt4pXfSVnWtViY8VH9Z3GF3aNpFcOQdx/IHL0nAfdzCWsHI1nUULTBHj/\nV8i0\r\n=pFKn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"d23364acb75206d6b542cd48026e377c4c34d59d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1415"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1415_1591773005158_0.5301394937445683","host":"s3://npm-registry-packages"}},"0.11.7-pre.1416":{"name":"piral-jest-utils","version":"0.11.7-pre.1416","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1416","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cfb0d94b42c7cb499c224100fd44cab408bd68d7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1416.tgz","fileCount":15,"integrity":"sha512-9goP3zEg8IK69pqe3IvILm9dNFYWDs4xiF97vZYty4er60OyPBFuxsRuqg5LVsAQ9vaCf6yCLj9axsurBp3i0w==","signatures":[{"sig":"MEQCICe9X0l/t2y4h4Pt4PBLMrpiWT1JjxbXIAj7eC/xUjeSAiBkcHvgiqxTwpfooCWsAfJMPTybCjltTtlMcJRBb+Qt4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4J9PCRA9TVsSAnZWagAA6rUQAISYeJ+Q2MUhI21p3VFR\nnioxdyW10+N4hw02V2OcbTpDujBpF9+Cy+R6fCekZBMpXN6KdNLXIxEX3urI\n/MnxvVbiXuoJt08W1qw4ziwq1VJnMY9j0zIgUO4c3j5yv8KWSNB9cwl0lSFq\nYKFmrvEAXoJl7jGkFYzKI5Q4EC45EhtPitH0OJaoR0t3G1QsME/OVOJH6yV3\nnGl0CPvwzbW/hnyEJXo404UwfEB9l0JesZDTWwiuuocH8IfVuM3ZqPUUIqCe\nNS22oIo26K/2MbwLB3OBVn0HtlGBLZDh9MrmV9AFGGLPcGMwRQ+o0+lLXXiG\nGNi8PS2x6jmQ73dxgejw0xC6DD6HFI5SLwN5omCxJFylgiF1AbtM7DGvM3Ax\nNDWi7VdsFpRg9B6bU9E5tbiSRpYGINs9Cc5sxduga25xvNc2pdPyI6lUl+d+\ns0FT7zBFr6ulhttJ3KHt+C1lw/JGp0yBBcZhHU7YwUsEmr/uFSImxnFggwih\ncpqIxAWwNBfgeLszC1YlJU4ooDc5nzBvtErVCKo1GZNq8UK4rhGBKp8t+MxI\nZSLW2zOYj/JAtosXnZMXa8Q3Gp4zf0y8I/cumAZgSD+ZPeQVK+4/6fVTXHUF\njEKRDcUiMmH3dNVh61UxeK16x8pX3GTkTFrrvTPgzop8xq9ZZQO/Jqdq/TxM\nWRTG\r\n=3HG3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8b42780c2a66b8a76acecc1cb61e072f49622de1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1416"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1416_1591779151257_0.35987308800504425","host":"s3://npm-registry-packages"}},"0.11.7-pre.1417":{"name":"piral-jest-utils","version":"0.11.7-pre.1417","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1417","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1ee99fe842a958dc8e6908778772666caf81f497","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1417.tgz","fileCount":15,"integrity":"sha512-DqBSFyuJhYanlwaGYQGLqbAjeg6RdY7ScLWLE7xLZ+d71RRx23reS6pUmMCTRETZ8W7IDgseCN0tMHqO46+oJg==","signatures":[{"sig":"MEUCIQCwACKSAYCk+t5YnntNvmoIo0d4cUcOdrLbCWO4WMdvlQIgZ70+GSP4eNE+t7kgSodl4GQoDd7cnj2Jg4gb9s7SkYE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4KfECRA9TVsSAnZWagAARtYP/2drdJutWbWd9yaYfssP\nUZZMzwf2hZ6LEoj1OTaXaCvnd9ZKAmqS+rb4OH1FPJvllvHSIGFSsID1TIVR\nvPVjsUZ9mdToGSm2Q+2U+4xf64i4vLwRk3JyJI5CF1+HWezB3+JFjkHHsT9i\nDQ98W3c02yJVni4uItEVxUJAzmMn8Pc0Wz5LMEVnJhU1BFsXGRjqk0ERa6zP\nnLcaogOsnwPIT6ij7iS6W7bcD6G9vC5NH9eGp0LeOsiKlJ4IXPbDs6XNKvIq\n57q/M87jOhAuYg1o4OcN/SYLimS+nFdm37nVlN3TpSel3WJbfRF68e04bjFo\nNlEkuhR5ZGaPwiAITUu/IvJzgVqxh+xGzifkdyengddluVip4mubAp8m/GmE\nCC3NiS3qTBkPNozkNTD2uQEtEJ0s4j8z3KzqHzj+z8SocJhgQQvSA/BqvlBC\nmuAdj7I4SThsaDcFQI8zRyWJkMjuXZYgOOfYoH8xxgkRfIV9YpbS863kQ0Pm\natHrpFbT/4NgITG17hwG6sk6mcdG/FzQZ50VLWosbF7LvOvDSKtyEuu1BMtS\nYqbtq7gUOKWONJBMIz/fUPR9dRKBq/jngBDHYs/K9GMm2K4dElOfbxspcjs2\n5Tl5NJW+XzM4ORcuOEwAHhXEEX8Pa74hY24msfsGkUU2b061II2dOpbBpJjQ\nT099\r\n=r8aP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"00199cfd5cdc12e23b981bf3b3849ceb4990005c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1417"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1417_1591781315994_0.46228862499193135","host":"s3://npm-registry-packages"}},"0.11.7-pre.1420":{"name":"piral-jest-utils","version":"0.11.7-pre.1420","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1420","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"443716affce3dee961f2e9c959abc1e9cbf609f5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1420.tgz","fileCount":15,"integrity":"sha512-X6J4+GIQWaxlyjuZ0Amg9WiCJzlyhsxjykm9p+0D2/2YieXSLyAk34PODHTqDWikdirKGTL4BTzEQdTX+fxQbg==","signatures":[{"sig":"MEYCIQCH8a6ySEAQjbsKzeD7sOCc0AtVFsgEOhMKHlNSjJmeKwIhANqC6nFpdxQEhugVPBi2s70wHHCQwWJlWfduo9Tl/hgR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4M8/CRA9TVsSAnZWagAAfe8P/0i7z+Oq9vo+HsBpTaQo\ntAm2ZjzzfbNPZmfKqleTkCCOs6w+fePJiOWkRGtxTtCfLC92HBgTv8BBlFiI\n2RhJI4USXuZwrJpuHLKYuAlk5OKQUTYxGP7Z/hRN7AvxyVFsrL7AWmIL9i35\noDU9clfsWyVWA0iYrVlpaKaFeHRZ5kmHELtxZJH+etBd5yuuaataUJBIRpTi\nENMvs55/yPMEDWTSiyV9YHWl0DdSzXpjgQiOBvzLvSyBaumyMYHw6G/Hs3Vr\nd/Bytce0etkLw0zWa8bCETz3Wpqz2VbKMOIAcjDB6FWvJ1HD2xQM78lbmqOW\nSg0NcrBNsLWVzlONdIIOXU40oYjK8iiAwroVbzv9cK3D7N76dgEgMwmkqzhz\nk4Hcc7fMrajbIRrT33HxXOc1lEDAU2s0pfrSoKmo2fBdSS2U4+PXdRGFnVAT\nxn0aJkcEOgtpNv+xofddFhPfqzmDipLwsujICcS0U7cQie38KMELTxN3tuwx\nW9Y/8sN8liMReSbnjGXJT9JgRiv0GymptETrDGh9TLFrfVDNoNt7bcDdhQrQ\nIEm1NzO5UqYHLKDLn4mLYcO8KpL3QoQ8C9Zg5EZLgE7+02S0xaCHOYlNUqz3\ne/dnU3mzQHreX15iqv39MlaNZq8IESyiU0yFisRWJo5jUH/yhlrnyhg3hwYv\ncx7/\r\n=rFU4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8e7837ab12a56161240940e5b746d6625a826ff5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1420"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1420_1591791423321_0.9687845729910063","host":"s3://npm-registry-packages"}},"0.11.7-pre.1421":{"name":"piral-jest-utils","version":"0.11.7-pre.1421","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1421","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"986645f950e545f053859f8fefa6fe6ea5d2fb66","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1421.tgz","fileCount":15,"integrity":"sha512-pmIx0ebElIG/e/Iu0/dv6yVF1fZ09dfZgEb5WbdUBcASXOAs6KuV920WmNNkg2dlCeNravH6NB2I70H9RGPYog==","signatures":[{"sig":"MEYCIQC/pjJzdkR3N0RyTAlFKX2k201IlLLgXx4EBXQ0nPVKBgIhAK00p4GcSBjspnraqP46zqam9mNUty2hAstqA82z/tdr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4QC4CRA9TVsSAnZWagAA73gP+QAKQDhP3XWgRMvYFLKG\nXoQCVyfjRqWud7A1iIJijvOxIN1ox3ePtg3jn9Ptp01ewEIiVJTXSjy5Ek8P\n3gMvgpWeZBsv603rpefynXfkHG1AwaVAcSVyfEWGC2O4iZUxZvpYePM8egRt\nht4UF701If0r7YkSifVCl4PQzHiQMGMeTaKqtTDLq+p7d+sp942vZvzHWI5M\n8l24jzyRMdA+OMDOPntUcMAi42rktMEy11CSa00HgEulk66hpTob/nUgQSN6\nLLysYw+WnpCwC0NaUzBditbFF8X0JLjls9N0a24FAif1ynUmxocB4RqwM3V3\nUWe0tFesb6ec22Qwkr0QLdL6bTeBsEVKDSM49+goW6USPmxQKV+tVqHJWX/O\n9JaJFGbi8mK70gyuPoRI+tYEutJzCY6dFzblfCJzYEF6suz/HqH33ejcoFWa\nY7dCLTkbTdu6akjOW0HWX3Rl3fcZfx/jlNSxpHCNyYgJYK2RVdrCHrvQZpux\nqywlaLMLDOcCAxWH/a+h4NaLJ4oLbWOgakT7uMIpaWbcVqLY+0RZiXtabsIT\nFKXaVGxLyP5iRv+4r4B28/6TKXKVTCFLlkiGZPqzxqxHLjAuOPHH0Lr1i+J7\nwFylDc/LHB/BX+45kA8yWJVxkKw1q7w2EaJZM46OxIJaTQtVyiL7znGlxKEk\ndZY0\r\n=HcvJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f6cb7c22c8a663f0c6ebc8c6ab05f852a6748b9b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1421"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1421_1591804088570_0.9765347204457304","host":"s3://npm-registry-packages"}},"0.11.7-pre.1423":{"name":"piral-jest-utils","version":"0.11.7-pre.1423","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1423","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"65d55ac7d3da39cb411767439984e532ccbfe03f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1423.tgz","fileCount":15,"integrity":"sha512-X9OaY5gJFLdWJKoH/FJK6UWWJqYbvzmuI6tsFUjh95I9gRLhgIa78oEf7QUrU1cfTulkWncd7GUtoRibqjDT4g==","signatures":[{"sig":"MEUCIQCxZqBkqacn17wK1Ar9YSsEAITEv3br8yGb3suVhj7xqQIgBObvPPqfVZpFwJ1TT5R7PKjXxEE59JtSk1mLtHzB8bw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4yxSCRA9TVsSAnZWagAA1iUP/1T64gCLji2Rp0Vao4nI\nDDNGT8um8StNlvKCL4qxrkQhUg2MwY5CVtdfVwZ+gIBMLGi99Sl9JXBkPgoo\nxfZCJTmjjx2ITjIrxvoh96vPabHHpTuSfdtV7A9bD8WcE+ZeUS23E4iL8SKm\nQ2D90FIllOge/fSh/EHmW9YQSP0SySi/uTkDv1mok5tgAVOdoUsAEkyH/RLT\nncQu8v+tC5+ytMtlKEPnCaeyDNF6o2sHR4ZiXSBTfvHIV8lTpTQKvA4UVt1u\n5+zNUg6JbYJRxKPZcg1mXKm7pz7nIG9nenDriOXRFBftQ0u4c85VKjaXcpPc\n0YPcimkWKM6uB4i+TFYXWCRVtpyD77u5xnjD8F2FR6LGvBtajfL28E5quQCC\nW7A/mdJyBbk0lX+oikUSUYwweiH2zee/f0+qBywG1wngSEnUbWk7ak+Whe39\nWmLQsjtqPMWLPSl6NXVnDX+ieBYaNMP8TtonN3rXMWFiW6BQ+OQ4nOvOgUhi\nYrTsW3Ta2+LXq2xD37TpecAm5kq1MPDJa2QzZ8h2pd+nfvKshVR+cs4HMaY/\nEP5TywAIK80bC7P203JuWvM6tlk+k6DimIERwGDRxqgw3SljbHqelooKJmtV\nxy9iAv87DnGxArUzle1uv091CtPZ/6WdIQFy1crzDtirGdQxWAm4GWeqcb1J\ngAIf\r\n=hOwU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f0e7891a9e260c6d99e1b0418f2f877b98d7125b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1423"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1423_1591946322507_0.25984993237086473","host":"s3://npm-registry-packages"}},"0.11.7-pre.1424":{"name":"piral-jest-utils","version":"0.11.7-pre.1424","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1424","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"33c843d80c124d47b353c7f39f8d6c0c8430f372","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1424.tgz","fileCount":15,"integrity":"sha512-/NTAz7mI3dxqh4pHrvLNSvrZTh6wBA/LMuB3uLMG7OQC2ZcfDNkN44BRCJ2gTBf/0Aw6ub3uuGp/Vn/8sI8Fsw==","signatures":[{"sig":"MEQCIF7G5vCFDVtOfqh/yiajCruMju0cc48KuwUYbtbEoPKXAiAXnWeJRLVgHQyzJ4UbAGWGevvEnRhnG8ywpRcHwi+hpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe5paZCRA9TVsSAnZWagAAky0P/ip3InuMYlTv0I45jDSt\n0Ie9mClgUgps2Pm42hrqy0rITotkSl+354f/9/XoLE3CAS4BI+GFGUwjnrxR\nmX999mZu85veN3UO8L+5aecImnrSWNTRUBUMC61HJDWnfbURmWGU0kRhig/p\nLKTPxr1EIEUPTKCccjx0x4kgJfI2X7Uy87TT6C5sTrnX9kaV/4hd37KXlke+\nV39y9X9pBhYU4MHEjbKwv3WfBUXH7CFh59WK7A6S1cgD7BRVWyIpDQr6igV5\nfLuoRXIIZSOHYMagT8XH4zVR0bd4ylR6DqyanPlJiSeg9Iq2fz9vIvswFN+7\n27S4u6H9TqmNKLqCzK4zF5YLKJ+as6Vj5uADF1/vl69eL4yEuTqVKB2JyH2n\nhinFcgWzLG238onJ38E4VJTmCAeyf5QuJeYuZlxcmyCFj8FZUBG72TvTVCjd\nxa35orPCY1sOUKLkMDLZfCasscVHcEIZDKFWpqV2+ay3C6CkHmlnpgS8KO37\n6NCmGe6FqLD1ImVan/Bf989YMJZIk0sjLi16HoN3qWLcDz+oxZwIH3MtovOZ\nGos1gpM/CykF/qU8S7FZW9EwAQU3VnR9pcHLCiIuAp+blQNqZeKIfRqc4EGa\nazyyIPGCon9bHVoP6xtB2qkRAxplLzh5MDPwU8A8i64fzO5D1JDmFir5gr3I\n2AY3\r\n=4CWr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"9c69064a69e8e7faf332a8ab069be006afeb9274","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1424"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1424_1592170136981_0.5421225334410085","host":"s3://npm-registry-packages"}},"0.11.7-pre.1425":{"name":"piral-jest-utils","version":"0.11.7-pre.1425","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1425","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"341fb1e476e12a1adf4c75f165e0d7da6cf96f9f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1425.tgz","fileCount":15,"integrity":"sha512-07/nr3zsMfYZIMFxEIQCJ4L3UkxAdXu98hNL7dSIudzBN25MuNqCdTB5CNWDWi53EFlLQPrMa+eu5e8IyrAyaw==","signatures":[{"sig":"MEYCIQDPV2vkPpunkiGN4ykSjXIONMmRbgtq1rcwekgWhwvzHQIhAIFbPPIFfkNPUxbJBw9xxltPSvdoaJd9Am6Q0+KfuxEw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe52kMCRA9TVsSAnZWagAAmawP/3702qzORafs8voZfYqR\nTa8MaDAN93t0AYWK0aaH4wWust3+MnT48WAKcJzb9IveV2mfQweq7BGt1svV\nb+gfDB8hyf40vK7q34Ty6Sig6gKWiNqf54Z87+kilPPHxHaBT8+NVcXhQbE+\neEvBOKfMqs5u8COwFcmhYaazDoTEcZWbeI/JUGWq9HVevv22hze+PW/13Htk\nZT7vK8IuwwgHPFNTkFJwwNPyHBonOYShS2cLqfZ+JXQj0LO5fOHAAZdpsaoC\nYU8hAyfytebo71BkMgP7a9OSOuzHFcp0nq7Y8ZTJfWnNJCs/BAbK3rCswsH/\nFWZol7u51yCYKp7Rqvj+p1iWN7gA2t1RfynKs8vopL2xhJvuYMCm87eHGh+r\nsxxwgh1ngj5lCWiKYS6+PQXpNwxJuGGHz8i3PR0swNGw6raoL4Kjo37d4Wf4\nCT0UMYDQOQyoJct9vxDRGfIoaYhlErIQqJATUj4Tu096+j2vNMhGRTIZ6WLq\nJp2cfGhVqnbZfeHBFFgCR/5GhNA/muL5HOvBPBR9Cg5KQM4T4JphDOKPcQBJ\nAgHGP3VL8o6lWk9nbsmlxH6PmS702c0Q/pCk0EoVvyVdQa11lQkx6qVtBp5l\nld38rWPSimH8qefuc69hKoYivvZ8HzdwcxiQrCL/D7Rsnahlrg3vMhnSbPXz\ntpxF\r\n=LyWM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-search) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love touse yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"1289a0e81dbd2bf9034e53d74a992e488b409a6d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1425"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1425_1592224012196_0.6004981575715747","host":"s3://npm-registry-packages"}},"0.11.7-pre.1426":{"name":"piral-jest-utils","version":"0.11.7-pre.1426","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1426","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f1cdb51a564c928c078814f91840b997a2b50ac1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1426.tgz","fileCount":15,"integrity":"sha512-9mhjW1Fe/X9sC4UbihCpB8hyKbWTX/14tEeYySbOxgOXis/mNpdV425cIXgBsrxwxL0hN3m+ICCFcHOsEyG2LQ==","signatures":[{"sig":"MEUCIDmznjnJh7HLHWi/WbqCsh/2TWzYl/cPEHjwTJIdek5QAiEAmQaM5Zj1Odoz9y2AJ0NgPKCCbOJVYSVknrgVbeDAJBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6AOoCRA9TVsSAnZWagAATl8P/0pf5k8THttoht4XRtdQ\nnduF2ACV0c3Trf0ud7bjz28pOpV1SxtPt6MDqVZu2PKjTEmJKpyQdME5tHyp\nn0gcP+aWvVsjx6tZelWatdm3IJf+YwIw1rBFCcvblFzfhAkdiBsAsUmii6Wf\nJm9HxqJD9HJsT68bNoPF9kZlIpcml5WGmdpHSqU4DzQ/u2KzhvZbP6EbuYGj\ndsvol9WDanI3LQ24LuO/IkJYNGKCEE/s2bLEK90P1K8Z/3buJCsHU2oAWfG2\nOb4pbNU5BmKz+dBtRVAU5sTw4HOmn/ZjMcuXaN+nyypbNRfXiMeUkHY8H7ZJ\nAHCSbqXtczC5LM5KuuReHwXj+dAXuYMr4l/anNBm3QRI9N7HpdTFst9AbGxG\n2+Bq2NnJWqiNcfeKtSUfLCE0Xvk4KoVuZeCggGp226eFDivdwQoResma9L9U\nE4ufsVF3cnuLBZ7q8FC/XdVvabE1a9jHq2gfO2r0TKVu1QDdg8K/SkvKq7BX\naZcvREV4GLanda3yl3y6ght0WR9ivBOb95V/Y8luWoxkAKnHynufoZZ0xMWb\ncQbpEvD9bsBxJzW5BJ6SOeKOyji1iZUi8DUv2Ir3qeidslainXSZU4wbSDnG\n4RMA+bftZBH1EiOAdTrk+r7p9l4IR7/yI3zDTWHcGiU60wmb+N8zZ7sz+qXP\nKR+R\r\n=WZen\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"1716378284edcaa468e24b8f88f5b91f6cee4121","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1426"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1426_1592263591972_0.7679627758026897","host":"s3://npm-registry-packages"}},"0.11.7-pre.1427":{"name":"piral-jest-utils","version":"0.11.7-pre.1427","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1427","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"03dab7e18d3e6f65a0358d4a201a80e6581094e7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1427.tgz","fileCount":15,"integrity":"sha512-5sqpPHfuJ+h+pPy0BwOE5A4G3D4T4aquVWwX/GcriQWfIRL+/J0A+JxM+On13t0o3D4ddHYHjdV2k3TzilBEQQ==","signatures":[{"sig":"MEUCIGKwBFbQd4Llm9mBgFQ4Lr6d0G2G1gI3U7PbzgPmyyIyAiEAhgcYO3RrXmF/oUclUn1uVvGbV/OLRDRCHKM/KKU758U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6JrJCRA9TVsSAnZWagAAm18P/1W1gtVxoUXuH83p2MKo\nn1l6tkVhvTWxq8BEXm6horYv5FoTix1nhDkEtFndmQSqBO2zZVQ7bF1HWKU1\ntodzM5YSzPymEd8q4gxcKSJPk0EPAERpS087sD4Ii1ifjCH0A+XN8GWVYfSQ\nxvyMziaretY1pybgGcOBl7uCRo0RoI3NVykuwjsyQIu/zMOGT5aCgDlIaYnK\nBazAVqZpFeFgP8BezIkxJqPsRI/gMDDFmvwnkAorhGMufh5VlBr4wbW+Zmf7\nthvTm7gfkQ1bAyDRyLB3veROU8GAOG3q4K6RDWgNM9/nZHMPOL0YbAlayfFf\nVjh7Q8Tn1xcm/jpWIzewbjyeEmDkm8WjoFPkqo/1C3H8v3c589IdQyihRcwJ\nyGjslKqwj8sfyY3BkuRpyLcF8QQ5d/pGDyA5ogE3s6cD17nGVBAsGnwRzGSk\nJD7Og33vqlTi5+0ARtUs3bCpAKaJHH92ci98401m7cP6q5BE23DMEUW/dMCM\nceWiNKDD7k94qd5Azct41Xg7GNB7PEXnEp4an2fEIibGqoXwmTAP40e3TJBt\nTTvr7S6xGn0M9nWkL6dQiiOq7mCalJiwpEbRuToQ59BHkxIoBtMMEL6iiWIE\nsvQNUnEKlBEF9etMFf39nPjW5jIBldgpdTVsrX6Dpf/TFZL7htcQuBSZlFtd\nN9YH\r\n=tVIV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"55cad63de2a3d100b5594513c8c3e3a6e15f6a00","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.18.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1427"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1427_1592302281448_0.14182270716474576","host":"s3://npm-registry-packages"}},"0.11.7-pre.1428":{"name":"piral-jest-utils","version":"0.11.7-pre.1428","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1428","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ee7fd4233d96ca774109d6588805c215561b630a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1428.tgz","fileCount":15,"integrity":"sha512-x5q8NcUDdDp25FeU0nCB8EOHPVvt8//UUp7gMFrhf5cHSJEex/7huxAqcmpT991XaOdHBJTsrhTlAB6vMzSKOw==","signatures":[{"sig":"MEQCIGFHAg1PsZaNTE1hQD4QwUle1jPka/neIvAJLOhNR5LYAiAjmHmEKqMd80PAizBYbn9WyYVXU4YAVTKbl8nstlfmvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6Nj0CRA9TVsSAnZWagAAFyoP/01uuazn3vBMAkHkUjjn\nRycX53ZTuy5o1/w4z1z+WNdsX42gErLntbbTVCEKDP+JYnZJmLeXo7Ix5PEM\nAY5iIN9M9WpIhcd5aaAnC4KylagdU+oM/hXaf0c2J29CMkm+t6YI5YDMst4g\nYIYkDJv2hJWmBM0ax+yNEtard4nHXfcBo7pQE3dgG2TukKeLJB4q6KgGjM8E\nbwe3e5MCQNBQHoGcgXMFDhuUteoyoSy/ylW0A4g1CDj4ZXN05mGKue+NeO84\nPled3kvKoSs1IL52GvSUaUv/YJxJYJ533RlEF36i3WwX7b8IDUsJ9cBCYC3M\nrYB6SN3asMfgQ3oSot3DxrO1qABbXzSNWOdvbi6E35j+samXHmLiph8TLYiK\ncsrFW8c6f9J2TNVODjF7JbVMCiTNLOVtHrOqvYJ8T8Fr7GMz16JuAw46ChkB\nbQ0Gu8UrzuUWwOI9PcGimQuHGMwObY6lXlAsp6Kn3aYTqSMmF5m/7cXJ3wDs\n/H0+8iBjpNB2mOIbBACE01h5Wh3Jm1qAw6M0dD8D2ssgEidwFhryGL9OKzgF\ncry2jnIOv3SnM+JFYZO/E9QUnrH8f/3TmyaczORas2MAHPiVMGm3wTA18c3F\n5roiN0m7ACAcBZ3K/sfWWynEmjCAdaNkF3lINSsFePrp/57nGEFyFbGmkmKI\ngMjQ\r\n=qQMa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"55cad63de2a3d100b5594513c8c3e3a6e15f6a00","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1428"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1428_1592318196376_0.43853508313773126","host":"s3://npm-registry-packages"}},"0.11.7-pre.1429":{"name":"piral-jest-utils","version":"0.11.7-pre.1429","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1429","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"837493a26622c90977d86dffbf80932729b1ec3c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1429.tgz","fileCount":15,"integrity":"sha512-MTF7cGzTxV7h4glFqcfmK2LJhfulqLz4X8aTcYaKvjEX8NMyMQtlp4XQ1cQN2b1j1JfGo0SlTzeOSWZ/8iOqcA==","signatures":[{"sig":"MEUCIG89Sz3ot/koxNNF/CFibVSHQ53Lcn3J1YsACKBhJy4mAiEAspAXFa1+pwKfOphvhQ5QBI9JIZF6qJsvf8HnitfqWfU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6S4VCRA9TVsSAnZWagAA7rQP/jRdbG8ThNcouefLr3kX\nwAw06B1/Y8nVipxFr5rhVqFQ0jd1ZNbNYxn4RGEf0SGXRUz9yW8KizgCQVt9\nJfmNyu9fe45YwFhCh2i6YFiQG3uvUgIIlv8u2s7P1tuS+/X6EEkIiQp4YtOx\nq32hVmv1viritEPkYZ+p4RXZ3qwvM/lvQnLn+q+n1+J5V7ZUfxElfatiIw4j\n77mefOa+LKycHplVT8I7W/4ahmgjVfqquADWwkgZlxfMcCZUQD0oO6GnuPxX\naHVJNVz34KIlFi/Tddpc2yLSLhrdlRnr+tghmQX4GGu58/yigVvRTvD9s/cG\nE5PA905fUN+Z08KCCf7DYQIDn5V4Rwd0RTGWiImJUTw2ubhygywaFhlP58Si\nSgIElsRgiOox9E9RIuq3CUJFan41x+I6+ZzJxUbz1bAsZgscn4Q7UyVPgJkc\nr4ouj8X3I6l215WVLNjembLIZEmZq0zUwjFTrKJ/1OfPzCWv7nhLHg9IWZtc\nI3aOOW+qIxUZ8hEb/oGiBTkInTKUmbECUuPV9ckEgFDEUIHHAbf6wA6KmHUu\nZ+E66oAf15JGNFQOggzPqQQKtBTurHQP5fCpLm1J8JDGNmnkXr7RY+Q4N4LF\nGclRzvC3+grxDzSEuJHrQwVXVXaezvOHl8toCVUK8LDlEySPmbRnmNsjUV/d\nynsH\r\n=GvDT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a90898fa14de3452eafbb4642df2ab3bbb49a7d3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1429"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1429_1592339989312_0.06186708774875482","host":"s3://npm-registry-packages"}},"0.11.7-pre.1430":{"name":"piral-jest-utils","version":"0.11.7-pre.1430","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1430","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2b58126e783b5ef4bb6306297da4495ffbf298c2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1430.tgz","fileCount":15,"integrity":"sha512-AOuMwQAJb7A9I2UykFOiIhIuWuDfPJj0/CVmnGbT0133Ayg9Enwel7tlbf+0RMjTvUtng5kWj7fRUMOiwB6glg==","signatures":[{"sig":"MEQCIAhhWbUM9aUPeDsF/ZlToJQaXlAItGhljkbxpnlwoaiSAiAc7p4gk2ZfZNPSEnY5lVN/dJABiw/zl3DSfbSkkuwywg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6q1jCRA9TVsSAnZWagAAM1cP/Aj7N4TiSirQCJWly9Ng\nQxpgyxOsN7IUKAQa/KYOzyFAAOxQXInqJwTYfZAE3iPWFR/M/eE7kZWrcNwI\n+HmgzK5SlCl7Lk1mX1Uiiqkig+Ak6dwtM/VirtU9ybZjzp38mmjABtbsOJqs\nuyhxqtBv2yWoFpi6KrnqZA1sp4PigD5Me1c5lDltQvPWAcnyTUx/Ysk3Mqg+\nqJPcrAE2m/pijUZjiXTGnxjcmaP6OXvBcKJqp6zHWY5mDxvUbXgWMMjoq/+o\niv/dk3JOh9DboCUwUB0l7k2POPEMCDbf5qaUHDGQmEaOwTQy0Y6tiL3+vmKh\ndCBNnOCxbYOM+S9ee0LcgTsNmlgTVJ8KDSDizmvUlqjcXN1XfriuyrSIRttV\nB4RNkeeVS+PvcDtj6237/4uKbFuoaneG65i/JK2k1IZ25je6Cyjo9UMZ/pvF\nDM4pTsscDbIkBJ9/o8m4Kbx3D0VMi8R07zXue7XjMnkTKff9Xa91Jmrw5jEv\nKY3A9ZFI/u/6gH22vYzl0NakZtGUvRe7y39iBcMwBbuXxN79151qHbO/34bn\nqrCm+9NArw1Jpf6LHTxRisr7tTAxTv/yzY8UKQtDn4jwD6eP/4LPFu/VR15m\nYRl0Wyb2H65sPT9kD5fBNhZzmSBESIJFPI9EQ0n72dtdYDY9CzbA1iGoWOzV\nwSSb\r\n=NJmV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"dedb7a52ca53e7fb8ef62b6093379229bf2f6c5f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1430"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1430_1592438114789_0.9028034543599137","host":"s3://npm-registry-packages"}},"0.11.7-pre.1431":{"name":"piral-jest-utils","version":"0.11.7-pre.1431","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1431","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f8c713ec28d13e8d6879e9ed21dad9be92099a55","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1431.tgz","fileCount":15,"integrity":"sha512-sZyF3sMXVsTgWjrwgec+mtCcm7T8hA33wAMEEdk92an4OUVr4EO9LGVKyimDOGJSEtMRTuqjptbbhxe2jSsnQQ==","signatures":[{"sig":"MEQCIEzgL+35agPcdVa7VDFNPmNwj+WsAaR2dOVUdVSJ/z7MAiBcow6NiP1c0cWOQAiqm53oh0bjgGQaTDP0OIc4trjgnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6w2LCRA9TVsSAnZWagAAfrsP/0uKNXLMU1BSfr8PFb8c\nl1Mbj8xRQpfdrPfvWGP45jVSUeJkBTYGgmRaLQMZoimOiecUvlpdLx2aEHbT\nDkIxUV5DuWWclVuB8DtylaETgnkCywppceaVvXmOcjehFBadHvARd4NyytF0\n8ep1m0R2onfYVUvAaFqJrtwraJ2yp4wOHrZsxze2FjytvDPWfu9R3oOm7mPt\no41XZJWwyK2S4RthDnfFTqA4u1i966Gj1mYCBwW5u0KpXL2ZlNivfDEgboFT\nz9ViQlw7qN8/A1NmaEiocYnyf7h0RuVhvU22e6taKrjwaW3MjfKgD6YWXSRC\nvUxwwOYXgjGYqrM8ZJ8lJzsVgEMHpS0XFo5YlPDxIXrvPZ5vvrrVPUtKvj+k\nuaZzbJ0U7UFsTjym3pb+/ZIU5wLfhFCg18VGDh2QLcYChn+El4JtjkvZ4Rmj\nVVLRpzIih3JfRO0vaV+WUMQkJYiF4B1JPhPX61BZXx6chwtT8uNqIkOIiWmN\nKwZs9o9z+oSU7jjLjifD67adFXoQNxtaqc66uX6nmu0bi+6vgIa3QubSrwRz\ntO5yuTnZUVEr05e1+3XK7sAhlaZdxDKDtc3laF1Gc9UYNXKCAyRYisrPYtgx\nbZpHyTEbZUhALxpO2lyIjFyCPYUTR/huxF0CSW7PmgruUHis75zQwys8L3gE\nJ107\r\n=HcA2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"808520d8a271ccf48d0d30c390ec1b678506a92f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1431"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1431_1592462731083_0.45305050392517576","host":"s3://npm-registry-packages"}},"0.11.7-pre.1433":{"name":"piral-jest-utils","version":"0.11.7-pre.1433","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1433","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"38a35fcbe49c0c2526460fe1f9d2f49aaf4b3e2d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1433.tgz","fileCount":15,"integrity":"sha512-WHO9gG9HBkRJ5/rpoDepqXjtpwINr8CItgCcHjXpyj9Yp9E+72PXf729LfwjEl58NACFzc6Cn/iYNmDVj8ZfPQ==","signatures":[{"sig":"MEUCIEAvxEmHq2y2mSNwcQLqPcj/WgtW5kkwgHaS2E8imLiXAiEAtgZGcxc4A5N9OmBY/bDyMPWOu9Ng/fwG+375DskSVng=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7CjGCRA9TVsSAnZWagAAHGMP+QEVKZHkvziD34aKsNwA\nsjM6Xn0mZSus6llGd2OUtNfXeRhT6wsPyDzhOWPurBvaOx3TalOoNF6IBTHR\np2H1I3U5oY3X05jnLjORJCS0/YZ9FgzaHAPY+zEM/DdX6FkAGCX5CrmiUehj\nRC9gminZSudbDGUHPJPvYHNUVPInjzt6P0KB57NDrxXGmLC+QcNCC9DXDHqA\nmfCo0mSEzIkjFr/j+w45KzNyaBFYewnO1MvW30eDAWYgnm+XsMjMi1k14r3F\nks/zCJIdRo+ItCZj3ljQhoui2xvv/fyEZaaMvhZD8jMEpqKuuFnfyrrR7CtJ\n+HtvNHdvFr0gFNQrsYgcNBod0o6u3kR5FBAe0I0qZnJrMaJijKdg2qbY0j56\nC3Bo3UWJwxM2powtyfYbw6rykebdWGsmnILuXqrXZzejPkXPe1b7B9AIuTac\nptbZBiZO1qdbrEyDKkVQ6kJpAcm+AWH1EqYNV7YdGGxQRu2H7wzSyZz6j6d9\nl4Ec1HXw9MuVzuFthdg7Iq+Y+BgIy3lzcPPucu5kMfWvKRknoRh6il7NbjWF\nfcyMfDQ5WxTKlzEyMhoRyS7YjDPzANZ5HRMzcPUj6S427nRCDeRBs7WfR9fX\n0vYGjtgmRlz5D1+Y2jTodkQFGzLFqQOjzPmHJA3Vb8eRhoydg0mD/kMjcM/9\n5Lo5\r\n=YzFY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"98e8cc1dc1e2680a7798154f033e99bce9222e0a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1433"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1433_1592535237837_0.24635256414322115","host":"s3://npm-registry-packages"}},"0.11.7-pre.1435":{"name":"piral-jest-utils","version":"0.11.7-pre.1435","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1435","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0ee217f3080f45e00930cbe3dc4071974ea48375","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1435.tgz","fileCount":15,"integrity":"sha512-8STX7fn0zO9wyQNoEnZCI/6RiZOKUAV7ILg16CDrmpizy9Wf0Z6AyDk9tdZdQGV/sw4wzD1tve1yQFxogP8b4Q==","signatures":[{"sig":"MEUCIHcOenMliOlecbVFl8lz9bBgxWNo2c4ZE6AO4dRhWNsKAiEAhYoYok9WRv0DW0mjBvWqGyTj/JoEn7MiY4mGPEVOL5U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7pdTCRA9TVsSAnZWagAA1I0QAIGdB0GPitOXRi4/QVmz\nJN/V/jjoY0zpps+gGJB1Mavc0jni9yXJfut/qNIwoo/f89WYWkfBr+G14vWo\nhN3ER9DqJw7fWK6RRC5ekclngwpN+/u0R96c35wTHDrJL/3EWgiMydsuKW3q\ncb9bM64jCa5wK8BmBlCNJBphV0FGmmF70cCD375rSjp0bGXmqRw//REXLJ8W\nyclWJVCXZN9S7hgUso2VvlETLUqixnPtNnVuf56oVNhaofknWUjGgdOvcAZl\nIaG5cvXVWjFY31T4Ms2yPZrUTo58Oqm/pwB01IAibDv7RnuetyOplspL7Ftb\ngHNKgcwv/WJyD+TUjCERemr1LypZOmUGxTIiQAoufkhjG3tM2b7I3WIWLRGV\nYuYcPNb5ZV6QcRC3JfS2nfwDAa3sIOiXoKFKhMI/Bv5T41E3jB/blD7S6loo\nB9binzXSMT5TQgZ28XsgroLbayiXw/KEoFJ9zfVb9aj5OJ1y8S6trBBw2v2W\n4Iahc7S4226jLvfXl45sMhQIwQng8Q08jgQcxAESlTMG0p2w322V1OVDPIU4\n0gkwBCpEaCAOfDwfG3qV6G3bSeToBYX8aD6p+ofcg4LCzg/z1Pal84qVjy/Y\n/UpI4MkVSulMVDhndc/Vr3Q2XQ8loORzHcfh5rDPw9t5/I6UZ67Df2Dj6AxC\na/NA\r\n=YmM5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"81ac39400bdd054cd87de9b33754a74420deeaca","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1435"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1435_1592694611471_0.9653176533633614","host":"s3://npm-registry-packages"}},"0.11.7-pre.1437":{"name":"piral-jest-utils","version":"0.11.7-pre.1437","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1437","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ec48c3170543156f7976a3bf243808b6c6bdbbf6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1437.tgz","fileCount":15,"integrity":"sha512-7EdovqidJQilTk404xThA3Ji4X/pbOuuwoD9lt7yn235vMGVbVA42gwsBIEFpYw/Y8D4dVh5Im7Vdnz7/HHgUQ==","signatures":[{"sig":"MEUCIQD1FUJJxrsrEkp2Qu4hafJNQWd0fWoNThGrks1pjdh8ggIgcfRoHdculUTtY04qZuST0m29Gz/MZW30NQWEkQZocVA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7qxgCRA9TVsSAnZWagAAAswP/AijYY+ZK6skrkgFTHAU\nxdsMkKkJZhyYG8qB8jjxsXie4V01CyDM1wj7Su6Vm2Z6O4HKDroiHJEstua8\n/HvWMX3R/ZhmvJcjAHcQwVlvZodLzZptCM3TdsEquDsVDV3psTVu0XCQKnWo\n+JxywNFZf0dLdxfXj4USX1GeT4X2ptvJDlpy1ZaGHLkAC3xFut820TNZzc0C\nudZa5xlJ2k9KlpN/vsbQ/z2SOePaaPY/d8J92iHrLtSh5mPudSGS0QPpe55H\nzlLmR+lvkOCLt4JIyv3ERPpp+wmu6cdxzvgmqJpwScvk0CSSQgyfe7oDQEw2\neRRhgY2I9tH96XDaV+zqtaMSzjNqvrZD7HBDDdd1qWtStnf7A7u3kRILF5c2\nHHh6vMrS6Hufp4lykKsyCnxMgrF99JLLFpsPNS0HRaP0Nu55HmtOjnDRe/SI\nBHfC/VbhZF0u2nf3jOnpsJLV96WajCpXBlTXIqk649XoDiEvgaEcJgkeua2A\nzE35dJiwxYK1oRxSIaGly3FwepyWiUHCZwlYrLmVeolZDpofvmfZZeLelOaa\n9QwxEeLkLpDrCnrLjLhxFPYxHaSA/71eJLKCEnC5cs3O/cYSDAK1jUcZkB+D\nxFuK5CmcKxoyEHTmJYslDxGXRmaNwJ/4SdAc0v73pvdX8tFnRHeocH+VF+Vo\nhXOC\r\n=kZbs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"7b749bd6b074f1d01bc765dffcf8df521b4e5921","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1437"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1437_1592700000489_0.401338058260158","host":"s3://npm-registry-packages"}},"0.11.7-pre.1439":{"name":"piral-jest-utils","version":"0.11.7-pre.1439","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1439","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2e6e1bc3ea7e952d3ded06b701d2f144073483fa","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1439.tgz","fileCount":15,"integrity":"sha512-/pT56AZrSqi1WSEsc+AqkemvWm33znnVzGujDergJ7bpWHV/gkEhxIxMhD/iXu5Mii3rLtwgJORSiidJMUou2w==","signatures":[{"sig":"MEUCIQCdhc7HY+YxU2vYJVTcHdIFtTwTWwqbmoUPMJwipYdVVwIgRbf1Uho4qJpamV6EKroi1WNJXbywc5xIVUWtPjIFY2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe73UYCRA9TVsSAnZWagAAwcIP/0/lCNo9s6dZZkXBu3gV\n4OEDXFl3mxVhBN8wdYC0lwT3LJzlVOZTfprd+oWg1csgyd+Gf/eFNDUwyb+b\nela7zwK7/kJ4ViGVWAxxUQdOq2W5kBFVeAcQ0e44ZkOKyl/d9vSgJuGVhExX\nrfvcVJpFFOEs4t5qFuVaQHdxWGu+nTtfrPbuC9ujrxb4bPn38p5idDdlfMk+\nfaJlRZG0Zzm5rih3kaGH4DN1R8u7Go1qQrRqNG1sl5NrjMXY3RMNeZ7U507i\nJon8DBDWD7sA7y/FJe/kyhgO1yh7V+CNWqPZsQmlgudVYwR6UEfvNXAK8x5n\nY9+I+TZuXk0sBGbEcQftKWAjKCW9LDpLaEA1l9R4jlyxW91780MCsWy8hvhC\nJyNYaD5AbTAilRsPVazOXnEgoNwa1V4QMt48qbYO4HMAtvrp3yJKDurpOAAy\nO9n3iW2l88xwFLlLKyKzhgChH/WN5Q5F05rUbSOc2J1LRiZlrzb+rRFA0thL\nif3jM0MR0aPSF4/K1yqYWVej7ACJ1Iogc9Q0DBwg3k/sdg7Po4dnMdsX6cTj\nSiQFCZQNDDnBxy2+YKRq19nR6a+cn7kAfvtfrBpNWmHiiAu5ErudfJb9ieKH\nrYTeX7rgBwb/q5k26CRSuzrPXsw6Mv+ZQtj3vfBxHlvI0AiT1TnDzQ0JtZvj\nfTtG\r\n=YzKK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"7eaa59e8d1420a4e02c93868d19b09a5486cb23f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1439"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1439_1592751384167_0.5100166947154334","host":"s3://npm-registry-packages"}},"0.11.7-pre.1441":{"name":"piral-jest-utils","version":"0.11.7-pre.1441","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7-pre.1441","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cc72e3b537597e9fbda2e2a49fca667144a951b7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7-pre.1441.tgz","fileCount":15,"integrity":"sha512-abNToZq6tV6YXsCX4nhnrB6Isg5HsNwFa6K8fXaO+bvNuYCq2Hij3ckAJbuD1Om4cRp6Xe2s7qiUYD/JWdWJdw==","signatures":[{"sig":"MEQCID2wmtYCWxGOyno+eEZ/8IBCrnjMLYrJV6ATAnSeQgk3AiBufaj5YbBPe3cLWOBg4Nz7Wn7upfnbYsnpQ+8Be87pKw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8DquCRA9TVsSAnZWagAAlwAP/1K8JsbpzAIfKbnJfV3v\nL0TyBjMDkrKsgkTJSlLjw8lNLsxipmfVbIeUKLxOpbXTg3h3Y7KDwphoasKt\nw+Ljhdw0+C3itXT0zhB3zj/UZmVI6C44AJiJ6l6lMh7pir8z4rGwEuyLtVwf\nBvgqprqI/Y0nNx7E45LDry/cdxzUL+Czd5O0RBl07x5LnWaWAdfQVBgfLpzy\npaRjlagHVoo3R8y52oCRO1tP5vyVBvGTZ3YjwBzUa4T3uIgt3w2qguuERiRl\nV95JElAuJ9XAkTve0yW5yufUd9WJvZ6o5tnbIhUmZ99mrs14kyIyCWds4icC\nzH0g3dkTZI/4n8YE6aob9Cy0KCr5YHBgiUzNo2nvIkuODDRaSvfqHN4R0EcH\nqpxQ73GVnPLnfUTgvzyQ3guc+7oobnOHXyaSjYdI4zqPqlNJ4lTbgT6rV5Hl\nWNUqqu6fb1QqYjOH43umQMA2mFh/yEf/ceP7FF716qy6LyE15pO9w/ho0VnX\nsk8bRXrVd4RvRBzCVIBxqMCH370eBVER8a9olsSyCJEAJiLfVE9J3HmocPnt\nBBGRXsS8uDMQrftr86lQX283Qt5Elp87N0oLfDcIuhRfNEUFKEWUt4VWC3Ig\nS2AG/Dp0/YLTiN5R92rZCTHcQwu35h6Vn5V9VQ4kRc/ZwW5ujRwEwq5Y4bjA\nxvP2\r\n=mepd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a03d56268723e670c630ea48a4fbb19fea7ec09a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.7-pre.1441"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7-pre.1441_1592801965998_0.03213690039832939","host":"s3://npm-registry-packages"}},"0.11.7":{"name":"piral-jest-utils","version":"0.11.7","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.7","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ca42095b1cc2fb1d456e69c7d1da4d978e5def60","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.7.tgz","fileCount":15,"integrity":"sha512-GtDlpnI01m9pivpQ52AJkiG/v8kJ4BBTtAOURiV+J7g+HgllvwQ0VjmL+0QVAqIrKY5fcNewkSFOxrImydLqZg==","signatures":[{"sig":"MEUCIQDqlbOJwFxf7FtkM7VMX7BQsg5U/4JD9jJONeda20hEMAIgW4Tr3FoWIGTZ04d8Df8aMBIDMbaUKf4tzkRkOSRvkxA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8FKSCRA9TVsSAnZWagAAFPwP/jZvFs9w0S/TPCC1c14M\n4BU9uYr9fMorm9qUvk4SAQbtwhrpi5//VvM1tisGb5YlqxYUzJQR26tToKI3\nTY6j52a8IyySfRTB5d2atpR4fOWD+QsX/DMrojGuBDLZEL30vkbEyawc4WO3\nTjInF9mMmVpVEqcsIQQQ/8SQnaRsJS4losEWRK6ikUZA+Bz2PzQRhbUODMHh\nT7aB5QlaZLd1WhQgH9dAYeIQxbTePJTkEDEm/VcH/G0jQ/OaoeZmfdWmLJyf\n6NUHeKCcJv95Oo5LGwyd2lJ/y3SieZMF7GILvhXsmKITO3fWV2x172ICv2SK\nUX4R3+4ZWR4s/i+7MbQp/cgtCJgBaJA2FkQ0HKc3WI34HzBNwrhPtmCdhj6B\np0BcInecI/g5m967sa2DOGrLKxvTmGZe8Q30d+5RvdIqal5o60tPMSX68Xpm\nzF4WO5L3566hjsxgHFWlamHO1weHml5s/H5W/DgxA08Wyf1LK1GKGplJBJhT\nENNUHaxoldAuLH+hGJW1RAIeUE8eVGIDFcR1odZgj+pZU3OwZSimwCCIESBA\nM2tKcwEhDugpo+iHcAJwXpeQajrOGU+oh9Bx6z0c6VHHAkCjhvgCEAHjBu2T\n02dKAeeXmTKBAm8k/zkJy/EWOzut6+6X7Kvig8Vowmfl/OcpSoBOz9F43sjR\nwVJZ\r\n=VtjF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"cf59b6f518e6bf63f287e7ad918a633ac60cad13","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.11.7"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.7_1592808081965_0.3695449285621484","host":"s3://npm-registry-packages"}},"0.11.8-pre.1446":{"name":"piral-jest-utils","version":"0.11.8-pre.1446","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1446","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d574ba30021e642cfce025ece5e2f6feaac0a82e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1446.tgz","fileCount":15,"integrity":"sha512-8ZDPrSauIK5US011sLUvFbur3CY8bJZgV0L2R9P2AZwoFl9vd9o2qVtp+LZgBbSdbNou6R9xeQ1WwqvsH4/JRQ==","signatures":[{"sig":"MEUCIQCmfwDUwsLKreZtWB89zPqzpjsLY8RtKZE9nGT0c7IW2gIgELrJo+QUc2rSHCCTae43W71iyqPVG08cC6Uk9KASuck=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8LW4CRA9TVsSAnZWagAA3KgQAJpJ4wHrETjA8qzKT/ir\nrF+E8w/OSb2rsqO7D2qWokV8umnVbORwstAOYVXgaWBOu3y5ooESCAoPIMEm\niERHXwG4EsKpqS6TELt18qSnjPne1duisxZpvZGlxfjhkVf6/XX8essPlRFv\nOzyJZlz3YMj9wNE3bHuAGG3kRXVsmvIQ7LPNktaGg1NV9MF9rqtA/e/ok6uI\n7oQ/31Y6Qkbs2sYpv5AIaJPsuUsxkrH0KQF+y8rLWt40Gan1bFkkZT2r+KVk\nV7KDDBE6oQxZe8kD/So1YehC5ioJM2n5l53LtuhBqtnnKWUS/oEwebSCYuqV\nfNI0d03dYGNDUdJpQnrhRX3u3eJz5y5T+TDNFb7G5RTZSLnsRtVCjL9Uvm3d\ncLOFheHdz9w7AI4mjFvyz5xQ7JzXVTjHSaAr28/4WEPghFIyUtcUpUgw8dGr\nBLjFMzbVbOWCbw19xiAEdGTwNtUgDzmeR3zj8VlP/hllG3WE84rlbAqbi05g\nK+rNuOmpg9/4Qzeu8NlQTzvQ0mZPfi+yc0fIwNSF7HLU778kUXvdXOYyZxIA\nEBqQhGSrOQ3YyqSmcJ68boCJYRgVZyCwJPOD7IbhF0OUvKJ/QtP+swRo4yKR\nFAF+epBK9PYqjao6GoeDXENdtYKl1G13Iz/gM6E0DG2hF4iIT16yQmuxqGrZ\nrOm2\r\n=sk+3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"0abd6be5fd40d921815e6c937a2931c0e14d63ed","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1446"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1446_1592833464139_0.06959399033728575","host":"s3://npm-registry-packages"}},"0.11.8-pre.1447":{"name":"piral-jest-utils","version":"0.11.8-pre.1447","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1447","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"81d93384916ebe73a65e8ce119554614e803ff0a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1447.tgz","fileCount":15,"integrity":"sha512-hG1at+tAbfzJUdn6ffIfZDNZ9bTrNwTUV/PCHBnpUEO3yLfCE2aSekPEJ6mIRJIOoBbilwiywSsqAo7VrgzbJQ==","signatures":[{"sig":"MEYCIQCO9EMPR0SPKu853rlVmmfQagn3JlRZwPWQjCdy16Wu8wIhAOmr+bCsHJbPB2jOyg68wyZsN3V1wVOZcZbx4zFMyDuF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8xRwCRA9TVsSAnZWagAAxk4P/1usZ+x5acGnYX7KhspI\nnroqenISJkkX1RfJu7kUNosFK3i3F5MamiH5HXuTy0uDEqGbLL/sZMEUIhDU\nCTlih6MxZP5ixx3LcbLNs1qk6/YXLxBBZiPUAKmEhKhC76z4e+cgiCJfN9xS\n8qJ70+sl3sEfuML5nUqwX8DJv3bIufFU2wslFP0OQ0A9GPM2H/BWmDjbTBqk\nMNufAf+BYxvL4o/ZVgOpWynowRheJ41cEeKBA+OnhEZmlAJntSQeG0jp6CLA\nbvvE7Z7ypgXIXAU+elc3543BvxjEbLxIpUB9gE7kZVugokhRoI4J01zXCo66\nePfUSZmak6l56G3gkDFRbbR9fPw6tE6yKNSonrfLsR080rzs5N2IxUSIO4KI\nLk6+qRqUvTuf4qND5Zqj1KcNbqV44/pdDUqm64Snf9GpxJx53VvW84FeQ1Bq\nD2Ndjq6sb3OQrJQx4HtC98BTFpzGCpPeIartPcDaWApHwJkOZ9SrVxFKn1nx\nuXxfbmW7ZgB4YPlP1iDekOcLL0AtYmrDlEihIXodX7hZwAyf9V93N7jMOCa0\noGU0mtgnxhtfIhfHkiwASPmYQB9FFG4a0NDeUODYxGjqyY0mlW355yo70rRl\nMGnmxyLmVStehq6YjhQajBtSxHFuKK9vDFIiDBOf6FeoanP8UgLb1accQvkI\n3FtG\r\n=TDJ0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"5ded0c1cbd61cc1ccee9902e5bd2a7568357578f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1447"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1447_1592988783610_0.17205212470566278","host":"s3://npm-registry-packages"}},"0.11.8-pre.1521":{"name":"piral-jest-utils","version":"0.11.8-pre.1521","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1521","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d41cbd0bbefa93cfea78bf2ea41d2bbf8658a8d1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1521.tgz","fileCount":15,"integrity":"sha512-a+nYJ0amXli2FRTUTI3wBluAwConOkuBOcSIs6U8xvhY8YVoTElLGnc+c5YXwUk5QUEHem0s+AwqiHZRzeZ0Mw==","signatures":[{"sig":"MEQCIHXEj2KSBxBkADRdggQg4ZWFoJA16Y1er8p8tas6IaU7AiB9hqzjco02a5kCEklQhjQKRxsqU4J6d63hvzs4jbhQqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9ah9CRA9TVsSAnZWagAAzY0QAJ4X43Obipp7EsjQD8Ii\nbM2Yj4JoK1NCRh/lhTxLQ64wwtzG9JuqyKpcWY/U6A0s1tAxjpksSNyad7Rh\nYP7tQWdI9KXxIQkJmBr7otU3PMlrqwauSvILWhVb3NcQZaWCOM1i8jGHb7HD\nCJ7stnjoz8HS80+gZXcN81uPwq/iwrVxfpUz/I7RZPVj+leyZjsWiQNHJuud\nluqx5kFkSqVuBfvFUQCV/HAJMk7552dZ4gOY7xLklWUGtNeD9ETUizgLcDcC\n8OgfN20Y2Jffx7IiQtQerxjRw4miFcEZqh7+NdNSR3Lb4hHbLkw09DZDJXoZ\nRjqi4k6n5GlypTPmJnQfbVv90o3OwLb3GD2zjwh82U1oHbJBtmG1faLNVRpc\nriG5h6RSoq7sFjWt56b7GL7X+b5Xxr348WNH5pJpIiriHhKJAflrLKJx++e4\nS4J16xO84TWgL9YDaPxLIEdgOYVrhAgKnt+pyZzWVeUAl3Xme6lzL9oZc+CR\nA+Tk1gPhGMLGN/HDbWb8nWkaf+aaET6CHb3a4HKVPpeIKJ4xnnZMiST4E2gU\nM23wRPbPbT7JwiErPGimnyH3Wl9k3Z0QrDQr7L6lsNVAyIcQ2/qg0md/833U\nmN+lO2qhTX8fkYFOCAP/X2qwV5ARM4+ul32fI3qkUene5rY0v4iRRnC0XJaC\nCeio\r\n=/Sfr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"d172b778da850708e881a3128e7315cc8272f68a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1521"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1521_1593157756879_0.915427669489564","host":"s3://npm-registry-packages"}},"0.11.8-pre.1522":{"name":"piral-jest-utils","version":"0.11.8-pre.1522","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1522","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7002ca4c04129d92c9d063aafd00795b1b8cf53f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1522.tgz","fileCount":15,"integrity":"sha512-gtU5GsKP0jJVKakD5PwuwEvcf480Qe+iaxJvj9xeIkTkuZy+9s3FQYv6NyE3qpSwVXMLBiOJ9YZRgX5esSZ71w==","signatures":[{"sig":"MEQCICAjNlhvw6VMV1DI/fCw9NPqmfcJlv3n+nwpLTwJA+FaAiAkYgmfGJtacG1NUZoadwoyjOCnG4YfCArK6zQtdgUlMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe98+vCRA9TVsSAnZWagAA90YP/RuDBhgWE84GiHADXwys\nlfzRCW+sQF1oJ/4zFqKp46YE9IkIWQleku3lYnQXe2k34DlNXRxHEcny0oB7\niHNSWKvonMMEbFlhWrqn8N8vImxT5U6wBh527v8vJ9p1iKWKfyh/XdPnnmbk\nv5P2TIbLVOGHDGQLpew8Ed8xPCZO6UHCsp1fJF2I4BUhc47pGh/sp/uqKc6z\nPZpZF9/9P4hOPqCYwUy9qY4wvysruigfNbItWUnhSGzpt2QNbw/2qgOlFwsw\nxk1JoiytHtofhjBLF/ujmAROuJwnxWRH/7tIj+SkQfRLizGGlcOhTArNr3HP\nZVoRwHiIWDnAJa9SjN7XCfqrqzdukx40atbptNVM/ZCOxWfr5zo4T83UlQyi\nBrIaRXrexHsaKzxXuKvmzR1abidT0xzomKLrlzb7K5Z21TxFUWEcCrZ4T9CW\nlW9Zy2ktlJ6H9lAnr/FsZmGkQwOgACm1ShfEBNwCgFYb4Ru3IwBR4pjfy4ks\nWK5RBOh+t7QCF4LcKrb+Sw0IJTMfCVpeMzx5+W0AgPROIu1Xewl2JVKm35ze\nxtluhRzLPAuDl3MilF6kBJFGcJo1wRwE23sqJe7Oh+DZ/wK7B5IY7szSvw+D\nCUJ6J6jqwcCqpRlxvViqCeiaZhWzaTx+D+OW9pi+W103ms8FJPJZNZebArL6\n9BaL\r\n=X9HS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b354823bd0a3be383ff31c87bebda57fc569188f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1522"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1522_1593298863493_0.7764437088457257","host":"s3://npm-registry-packages"}},"0.11.8-pre.1548":{"name":"piral-jest-utils","version":"0.11.8-pre.1548","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1548","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"08c2ccad70a6fca3aea96e3daf3d13a5cb1615ba","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1548.tgz","fileCount":15,"integrity":"sha512-Ar6bRnXwxYrxqzi2O0Em45FVNy1AMnVsGAtm+DOIFssHFvQOUZ7tfyYqKawNkeQc/xGMgI9wBZeqi3fDfcelNQ==","signatures":[{"sig":"MEMCH2DAV15AZXpuGQEM64WzRsd+aXfSEFtAAriRvs99QI4CIFfVwN8/7/jUylFLKabM52GaLy1LJsog1pKXQ1KgAdZJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+m/VCRA9TVsSAnZWagAAXKMP/1i4//nHLOZy83s2T0IM\njU9rqdLZuZs2qnWSRqW3OTkVI4A4Ue67U+pNsPgBB2dDrY5UoAZERa7mU6zE\nR2kwptvjMldFtW/5TunqKrB1Bur5WmHcIxROaS5UOof6aHnnUhJpdwNYIqiA\neRsHFkMfvWBdg2tSigXBoQ6A8OZgwZ2NP4zCEJZr9QkujeVXKvCVZt3rgGDZ\nSS094qOsYme5p2zIf0pPyclMPVHnMvcO78yh1fKEsoL76ljX+SzblDOxMw28\n1Tma8jWpM+rNGcJhr3mG8r4kXP0XVKw8NTUwyYN6NmeBzNGXkwAkAlltRH37\nkVqOGxBVX5waATY7llsAcs3BW14R/5vtggAYj24kNw6WaWHoNI2ZHzsp0vzl\n7CBQBK/uPM/jAtyXwnHyAb1xq9GjHvsZSS9Qmc1X7HH3qjaEQmmPTBXIsxE2\ndDXmmDnRb55/FzILYdVMeO/3UpZnvrDs9SLiTplrRxBxiOdzmyU6JsfStKLc\nRN2Q0XBCENac75ig3kuYboVsCYIEEv2Rkkp4tOXV9aTtYrfC8ZzgsW5La/NE\nKmK3AGY56ZBWzZ3uDJs+CMLMaQIGomCEK8mNhpJmRQRjFzhqcDT7XytLaSxi\nektdSSdNgPUo0+41V4fFrL7QgxEVBLAz3dW/xWPp5KgE6UrZqiI6IHL56Mjl\nim1x\r\n=LJJe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"6971747d4506137f579597e1ebe6ad4bc2488acc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1548"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1548_1593470932819_0.49273268055109076","host":"s3://npm-registry-packages"}},"0.11.8-pre.1560":{"name":"piral-jest-utils","version":"0.11.8-pre.1560","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1560","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"00036e93d8c40155312dee9006aab06d8574da47","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1560.tgz","fileCount":15,"integrity":"sha512-4On4u54MhBEQ0N6Ni8GxwWV6ImUQhqx+FLKmGFz8HmMGz8mMx1jKFEHfJwawJoD85poQvBRnGWVewqPFXf56VQ==","signatures":[{"sig":"MEYCIQDzI9d/v+V8cZWbvdrmQskADyXNK9ygHiIMwjWKMI/AqQIhAPp2twQ4uz8TOekzKCLcBz16P71CQLvWEQQDoyFf5cDf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+04aCRA9TVsSAnZWagAAuvgP/3N6CVNm1qCiTUHV/6xs\nOtREJwHm5tkqNWEe3qAjrTfd7ICmD0HrkC+QgVeUu+7B23hFeZqEUiTdNA8O\nOtdvOdZVNFo6UPLbNgEJNGGjf8AlRgNNdN2WsDPDjMyozaXsG6yb8OeCf3vV\nX+tBEsctTI+Llbp7RGTFE/0TRyrGj/r/1xrYOI3hQKWgA/aSHrv3xdaIEvE2\nfI31iG7zTeEt0KllsEdgtHMMhryiIusXWiVHE9JgGzfDoRNq9s98jdgnIgum\ndhtBUzcnXbFnyWUWgegODD3vOz845p8VLzfyFU93JXQjLC8EAOgCTpPPZAGf\nl6NMqd7KHV4SJaRAttnOSzSuFzWAVrA7jCF+GYE+//BTet84553rcczP+5u4\n40TZh9AP0GGwT8s75wukQ0tHGFrP4N67ZZwdpEEVprkkbco9D/UL2cx0gUda\nz7JVKDgzkBpOSpcs4rv+OHpbltiVFTKoLLDgka+6Y+SFt10VSALEo0Fnj1ws\nuFyX1x74ElEP5/NlKvhOwSYS27CKoE5XRQGMa4o/4gjp2BQZJMLlyRcnZr4o\nyGSkOaHm8nD4xofjV48kWK5fCn8Y88yjlgcoyh1sn2QPKDxLZzA5siTwmknM\nQg44oUiuE/c1XUb/3LEXg2v1JPbvGx+aOlRqqRecaXm8mIOaTosehrt8wK3v\nbFue\r\n=AiOU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"be78be619fc808f782fc21983131556242bde503","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1560"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1560_1593527833991_0.7019003550337364","host":"s3://npm-registry-packages"}},"0.11.8-pre.1583":{"name":"piral-jest-utils","version":"0.11.8-pre.1583","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1583","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e4a5a2eaed01771aff2e1145d0cf62b9c7213c01","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1583.tgz","fileCount":15,"integrity":"sha512-18++8B4qiJ0lvODEk5eNf4C4JaK/bONuWx7tiQUfpUy3kXv0WJTze0uNm35tpyY+7hr5ww9jYiY7E7JyRJtd1g==","signatures":[{"sig":"MEQCIETEUDTkWCJ0eIleg5C2Tb9YmM0JF3d5OACNnRLHtjXhAiBgs34f+GX+ZXBx1IJCXyzQcZXA4G8X1PoW/tZICj3ofQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/ExaCRA9TVsSAnZWagAA4LQQAKCo+SdzeKyRMbfXtrmW\nmP+QZm4Qwduw2zXnUhaBJBWJDIiz7HlQCxns5DgGvnY5fSBs3KVugSaD9Iiu\nbG+5n+L3e0oTLeaZWoOvpq29+qJK6soPWfDXbITQumZv4+jkesogXDwpcnjb\nbvHqFwp9FlO4b6LCugIB4aY8q8N8dJoN4d37YF5njXFQ8S64/fngi9TbCfAI\nmBxLG2MCMoZzWychBba7+iW0GPBRsflqiN6RdO3eB41XPONnGQTLZTwGZGSa\nolB3EeAB7pbVuO/HKjMhnODNgTPD9sttbhtWc9SSkGNwZsigdPDsPClbdupf\n9/0Nj9lQ+MXVQQjIcrFbXSEm5EmcGup+S9bNbSb/928+EP6aiyccOlKKFuIq\nLUPEsQ6LC/cuEw/za+b1zMfUfVXwVfoHLGp25sYFOtHH/6MpYuvQ0OR5cIsP\n8TCSrnH0m88mwXcJNd0nMK4bJyVSbQ5TWDesGjp7kR1Li6RCJQEmYlEHnxA4\nIkBwSxjCy0pC4A/dHYV+PLdlrhGJAx6sbQR4+C5k/IV1lgVA0Xf8X0oVeV5x\nd8mjmXj8OpAe0cFTQkSMs5YLTF3f5t6Gqsy7jbPb0ZZP38h/R1zbwQDWE+V/\nU7TtrLpi7a28b126GMm7B3/7KLiDnco7qFLqOE1Z6SFdNB0VAEKOVn+xQq4X\n3tLV\r\n=je7z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"67ef5310c88379541e595e4818cfe996cba1f252","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1583"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1583_1593592921746_0.8697124688524533","host":"s3://npm-registry-packages"}},"0.11.8-pre.1591":{"name":"piral-jest-utils","version":"0.11.8-pre.1591","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1591","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8ddf309ac119b9bfc8f242f091316bf6960975f7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1591.tgz","fileCount":15,"integrity":"sha512-soUkpR/jZZ29XFkRfA2XEGqx3S10+xUGqogL4F1lJwnicG5a77fUhwG+Hnay+Ey4f+6Sp6vSqydY4A8Andwnzw==","signatures":[{"sig":"MEQCIG/6w0Cm+pD0GhT6Eo8LuChAME++RrIptK92s+nFhYi1AiAlX6IxUse473jQs/gWXWRT6JVSkAg3+I7xsp3kqlStPQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/JwfCRA9TVsSAnZWagAAsTsP/1CA5mdq7fueaORaNHZo\nKbdtSf5intrLYfwaY5lmtQ+Qk+waXQnlaV0j4cgQ+t+8aUTplJI/xXhGKIDr\niPZZDQmgY3QyAq+lQC7o2dzhoNM92ZYxbsfXPnVnmHFEMx/tpMf2ytDTtrYR\nb9OhkEEFRaFuQa5cE1Ep2HOMPVcIHBzmYKdowIb9S3jBScfZbduAk//eohrd\n3xgg47rZUn4mYeNZAsH8A7PU/ep41jqdLDsn/ei22n0P1dfiZXyl/jsTYJxl\nSNM/caN3VVpWK60NcxapE+oJvI/PROkEwtFpW8lQbEkAcA3yI0Ieo9AjRne3\n7A2r86IK4g5n8VgvZH1GjEJPF1dDl15F9NdXiBEKpX/JtS3pZzbsVQYQeBDN\nVC9DySdvITvgYvt9kUBNtM6aLuLyBVGCCeXcDSVWrv+Dk+JaeoZpkVospgYz\n7/9hZydScjGkYL/MdB+R6HPGWKY2aNo8Glesw3m94Qe0Mbsiw3SfC6IUF30R\n03l69ZAdYIBMWoUV6O1clLZ9Pj6JSVrd5LfAC8dqp/nfcGepGnT6h1GbXt9L\nhJ03/Gv75HHUex9B8zhF7yoaU/zGDPcXm0Ta0vBSGC5/vde4zXW5cKTnon3J\njXfdnySOAijePmvOv89IE+mknXwOIEkgO9TEgVy7WL0p0mWx/d/Rnv2TIRBb\nk8mS\r\n=/YWW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"4f994ed998506d367e90b99ad2ddfca8091f088f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1591"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1591_1593613342505_0.09555233267885921","host":"s3://npm-registry-packages"}},"0.11.8-pre.1595":{"name":"piral-jest-utils","version":"0.11.8-pre.1595","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1595","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c9ad6f52df055bda9a5787d290833c26adf8374e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1595.tgz","fileCount":15,"integrity":"sha512-mLCkdHfk7PvycV56F1pXe3pulA/7Vienbfskt/9xYWOkYKnAeWMfaiVu8HldXMi9eW/gjuyvm0QEgEQVTkW7XA==","signatures":[{"sig":"MEUCIQDTCn2iE4KX/oakUOnovcgruhdtrSGU1OhVBFyf0eSWmQIgGPcj6N5oO9T+fBpDtrdB3F726PKkfC7E3cHDw81kSLw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/MfGCRA9TVsSAnZWagAA3PkP/3BcvNj293ThoR+ywx4R\nfmUqA76O3GeyN1P+dW3rHJnXIl8Coiuhhywz5MZeMfcog7waHPfT1P+SSxjI\nx9RDzE//85yPW/JfV/EAaNE3O+3cZcVC/kqQkRW7p+glyRBTe3e3aPPi6rGU\nn5sqNhEv/pZDlhjyQPJ6N2HbTMjALc5/g2JwTkxwoKtrJgaba8Px7WqfZXAf\nDkRC0gu+u0D9Zdw3ytBT4FWgbZlgoHPGqsdIqsV98vAhNr+9x2b1N0x669sp\nnIwyRRuLHPXQKKktvKrf8YfN67u6zwWGGMmefSN2kkBpVBJM5h+immKIlsHs\njfnU1RrMCyC6sekZHi0Qj8rQ7luorIGFzx2wN6AOuVHWd3hokYujRa+HqdG0\nd6APF9X0+1RwKdlHqgtOi/gldHQO0+SC1RTxKyweU3dpsFZDdVcyrw6n6y1p\nQw7G2n4w1Vw8XImsD1I38xK4c3F6eBA7MrO15ZMvvasmvWm0fHIMpG9BK9aI\ndy5BaGhkeH93a5N4y58dBJWcKXleidKFaUu/KbvqEy94xSWCXqIWlBv0xlTv\n7kiuI+dt5A0mCOSchFHrrtB6hwpomtkrdu9G3v0B8Kshtb+wqjuioKay1tPL\nUVHKMQpRgfcviYkAcZ4zvkjEDyuZ9p2GKqEX2aOsqvHQINqr+xTAiWCpT7dT\nK6o6\r\n=A6l6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"be1abdcc074bcc6f2fbd04949bbbe06de0fc470e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1595"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1595_1593624518186_0.8441694764161061","host":"s3://npm-registry-packages"}},"0.11.8-pre.1596":{"name":"piral-jest-utils","version":"0.11.8-pre.1596","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1596","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8acca95522a073418780c57d9544a4c72dc0cd27","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1596.tgz","fileCount":15,"integrity":"sha512-c9tLWpBxPIS/fSnlSa5jcf6FiFbzyuAVwmtyvd6nYBQHFmyL0R92ksdASIqXLIRkpH7qjK4GfPFw7ZsDBGPRiw==","signatures":[{"sig":"MEUCIQCjz1fCs8GJjJckpYAG28qQqWtwSg/NmBEnP/IrILoj8gIgd4zuululz1FNDGqcduNe/H8o/iTw+LtUiWKfvMr5O7k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/R0vCRA9TVsSAnZWagAAvV0P/jhUSXvJBTTdBE0VohGN\n00kYUHXymOQ8jxiY0l9ybLQxMnH1F59SjTwfnJzBqbgTWqPj8CAu6l82TV+w\nlIVvY4Y4GUGqLrChp9Qew7zkP8MYMM/lVTq4/Fi4QHx1G7fxtAT9jTd+mQ+q\nB22qE8R8uoF+PFFxtY/0SY8F8U0aiFU08ZWCMIIQnaQ/Q2i3C+M4UNMxkYM3\n6t38odvfH0IocQfEdJwitziSqo1d7ZYRSOD2WqmMUfNZO0Tj1jMafwbhzLm9\nd4yTNPPO0jlWhvwI0vxMFF1IbxM33HCZJHFmz+SlJuFgt9c62LjOfHDwUraZ\n0huSmRp503Zr6KDGoORO/6uVrDMzXGZnztI5X7/qsvNrrOh+hDDTHSUotn6W\nwCSazaw8O6G4njY3egM0kXZVjkDmEODFyCLQTMchgj1WdgU/VwQ0sO82ML5y\n7xKZQZvo+VAbZPsHJFzsm/y/n8CV6yAjJWehJUu4/aWZZIRdv+s+0ZxBUTMc\npKK6X+mclyODRJT7wD20mIvRkf6XSTaS3I1n4/wi7M1SUnzdTN8UXz2gSPpV\nYJtmaQAUVen0dsdlycpKVOPfu7WqnCm/wjC9nbQ1WjLtyXa7jc197RnQqfbA\nhR/CLT2J93L2XUOTvPFr4lLms0K2EzkzlkVllHclrOKKLMC2YF5ZNsyVfkfo\nuHrN\r\n=rsI3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"87719c35ff19f40e26fe55e63553920607c7732e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1596"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1596_1593646382936_0.6258896917678676","host":"s3://npm-registry-packages"}},"0.11.8-pre.1607":{"name":"piral-jest-utils","version":"0.11.8-pre.1607","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1607","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6eedb5c58046d5b7fb521656865651f9e26dc1d9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1607.tgz","fileCount":15,"integrity":"sha512-zWUQzSKkIldf427TRBHuNzxhEoiJPn7Bp6eUNmOey2tqyF8Z5gh4n+ExFG0wXIVIKeOhaPnMxzg5hBxNB2HgcA==","signatures":[{"sig":"MEUCIQD75pAttsK3WDorEfpZqaU9YbQqCsd5LaKwB8vdf0EOZgIgaa2jpAmF5t5hmRQGe6BO1Rw2/iL2GICK2gmbS/I57lA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/y+wCRA9TVsSAnZWagAAcF0QAJun74SbWOvBY6a7xVXM\n3aOHTZXqZXbUVa2iAnHiSQPrPFp4VfjxZ8joX9FyGUwqJwe80AE1R8Paebx/\nY+MR0agAI5RI0xFVIGRdiPZ47lV25yPubo4AwHNSHKRY95b0uDzMnCWHjX/Q\n5WdYOamVsMOicg78rOpHt5dvdDpYyw/2E0b3Uma9iY1eti34IGQj2N0cgfxb\nGkXlfaPwHpbCyORTEaL9xM2rV0wberOjOpYaZkIxKLcbR11D4v3AzGBi2JD/\nwbwPdGZgdsbvzOEJcWdXD8BOxMXhyIaOANz39tlXBUTVDIF9YF0/2yu/06gt\nwmtfWgJFxjAaYQw3HATo8zJpVV6vB8dwAPCQxQa2q1HHuYS0d8MZ3zT+rLkc\n22DmdW2t6jjkGi0WLFlwGs615Z/uPD40Vv2CILVAAS7EecjuVvG58ChQR+Io\neIfQuofnu6LVFY7Xro/mJ1XRWFr6AlVFJzDa+ckaqg3fkc/HDzFPd/e+PqZu\nRj2ulT2d/Rza4EXBsqi0TtpgXa1uLvnDyr5gCqkNACrCXmPPF3DAn+U9tAmh\nipJPHkVGVqrnK3yTvk6t+gGsEdDVeSEIrk5pUwl6kuuV/hYafXrWgAIUJmDO\nPNYjpDhutV/2ma9+FVbMBr2WvCNg9P4MRCirgYmgTakfXKoq25at5PwwTslB\nl9GH\r\n=cHtw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cedd42b825516601cd989e1493381a91d2e1e5d9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1607"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1607_1593782192351_0.6935522703838506","host":"s3://npm-registry-packages"}},"0.11.8-pre.1610":{"name":"piral-jest-utils","version":"0.11.8-pre.1610","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1610","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f2dc8d452e9bf689ea7d6dc38dd04c2fd0a4b19a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1610.tgz","fileCount":15,"integrity":"sha512-AoWHctOnFhHL7M59DN/Zk4Dhl4GFEySTD851UF7O8ITkfbHXpx63Lbh38Y8bYyVxA0uluoYlK4prMqo514sdwQ==","signatures":[{"sig":"MEQCIC+5Dh4C4huT5sPXvPGAPEKad5juYmfdunUHb2gt10mQAiAue7r3tbZg/LMzOM2TO9tNsTLvkPuP2BdRJcLULnrxMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/0rbCRA9TVsSAnZWagAAunMP/iZ5jccsxvB05rVRdgi9\nXK65Y3FTNrYCK2GUtN4wRUkxgY7dDz9i447Cx3zZjQhR10IC2j+uWDVzM4Bi\nioLydXY/pDUNwDyM+b9NLCL5GWaqVTrpXdLIfscFUAl+bJfwj3VymWAPW7z/\n/0TJFaMHuYQtZ2FRYlorFLtXi5wSkwWiFaAT0/sSjuexjCxo6WSkZJMKXaog\nKFPJ/IR1cNERfxJ63xmflmz/w3QsGagdnh4v7Yfm8yD9L8BApdqgzYoJ0BsW\nZ6XbCAkjWR/+3icTKqSEw4ZmLPXlXD5cJdQFKg4hQJNe3o/LOJdHzCXbTgzy\nFHco4oolWND8u+YTixuPAObrRUGHPlslM+Loovm3dzZ2WWIEuf/dYI5JNoWq\n/R/Ha5dqsdgxXJauL4UYE2Y+zDrHQBa6in1+Zwe8wzXaFlAvRCbf+LxowxJe\n5pciPHNLK0ayvDjfzB+RjvkDavDenKTOQ77teKYyHDlpwFkSfqx+m1Wh6xLT\nG6wtGEQQ/z5YgeVC+5Glc/NEs1egEIR/ynxLfWYdmkytbrS4spt8Q5bmxgF9\nYBT4I7Bt8DDeV9W0IGeC3qvi3iajqo80FPQARxrioXE/B96oaAgkroONM28+\no43AhpaTVB4XpQB145JHzbRu0gkaoplI1TguIIAsDT3Qp/vdStyLKO3pSGkB\nt9qP\r\n=pzi2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"655b59b19f9696177163f9bc91d0a1aedb1c831e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1610"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1610_1593789147270_0.5778566154997884","host":"s3://npm-registry-packages"}},"0.11.8-pre.1611":{"name":"piral-jest-utils","version":"0.11.8-pre.1611","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1611","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d55d58cd7d8417995211ae7d5b5fe1ff9fe51d4c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1611.tgz","fileCount":15,"integrity":"sha512-IvoSsEnilnquyLrBLcyzgS+ydo/COZeNJKzW3+rfOwJaUWbdXRaBaNzwKnCm+FkX1bNXJUS6ZJLA04FculdMLA==","signatures":[{"sig":"MEUCICOCPADT19lKQf6+mKf0pf5TEeurjzacdH+vFdcv88fMAiEA9mWN2XzGgbg8F9Yd65880N9raGMsfaKcaCv/nO86M8Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAf9LCRA9TVsSAnZWagAAuREP/3q2/W5mKcogvzPKoD2v\n62wIILacCO3GRO89Hc01sazsxRzJsivbMWJoryjfgltc3ZRfCrs+FrvjV8hN\nbMGO3tS3SoraeGeUSEkujPTib9KLdvEGm0P+oDMYq7HMqkHRqFBKHsLTqJln\nWPBQSLzmQFKNEBr86t0gdjTb0xnsVn7kGxPITvaIe7l7qNCWhk7bm/D9Thd7\n/CbOJ1sNveNpFV/le+EM8HvDSJeyvw9W46gTAnLr53hlrWMcfxWo2af1br2j\nam47lH3nk4yEMtfs5g9gRH2zC5vPJgTuIz6Uw+k2qQ5zWXaY1ZsAw2v1JC4o\nWxurxdDq8wLJPLg9+dEjgsWjumii/Jx36ZC1hDdJ/u2mzmLcrs7+iW5In/i7\nkzkAt/9XWj3CFwqURhkHduqVYEM72av8gXmwgKnuqZAAnMQuf7HYZ4+0ANJV\ngOvCSf/7h9f0puuXF7yuXgu/8QozK65i69OjyMxzePYEchc5E1Re9/ujH6Eh\nLWxeXzsWLAJ7dIl5jhxabM1XLn9TqbFj4ATZDJxu1S2q2J3vX8ZvnYSfSKVs\nYqoAfjc5JQbfervzHIIWo+5QHp7CzOEth9J2YSC4ZSmT/MbToq6vxw2Ji+7I\nAhkX72yiz5+NKhnFgp4kDR4TMULHqDybgEg+qza/HbEw9YLg1qQSg0y7diHJ\ntTAY\r\n=+Z4L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"1b11dc71bc8ed0f058a68a19810b7c9460142d3e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1611"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1611_1593966410862_0.14978213196179913","host":"s3://npm-registry-packages"}},"0.11.8-pre.1616":{"name":"piral-jest-utils","version":"0.11.8-pre.1616","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1616","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d8d4c4290f4d74ef5617c9d8b7c13d5056a6eee7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1616.tgz","fileCount":15,"integrity":"sha512-9RWMlHX/4FZ+9+RdkSoiS7o9L0aSJ28BeReW5FSaSWwW3zKEbSM7AhF3yBP53YRjF9oW+rbuvN5Rx0HseJcU1Q==","signatures":[{"sig":"MEUCIQDjzViF91v8q8c/eflAQzkitsxvtk/4C+pUXTQZWVhglwIgPYMglK0R1TEQIe13Nng7n8AeRRFIdWHAndejMuHsAes=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAzLVCRA9TVsSAnZWagAA3McP/A9YtZZDhJHITGT+m4qL\nqa+UD+LDhxbIvSng907I449GaCbg+t5iAfDjX4trapqM4IiEoi62rSeOE59J\nxtqFNpZ8E9bQpvi2jqUxopYC+NjjgeGp85WlBxpWTmKURhjt8qVN+QrVw8Ec\nievERuotIDbHIgMECpKp0ArkY/8w1MYeaq2pVR5r9cS0UaHVygDY4yyMG66I\nKpFio0EY3ZRwr2XjxT3WxI42RWIUJ87UMOvFhk1ACI89hVzA+56W6Wku+1D7\n/F8H58iBxR00m4r0xk3P1KNJG1Kyh3PNLW58IAYH/cxVL5oJHNTsovQO5KrC\n6sHQ+zdp3+t62AlDIlQmzC2DhgV0uJmT1xjbKqAAFOu8LoDaI79aTdh8eH5s\nWRYe2arRJPVxOhQkSjsN5jztUrABsGtB+32negyoZzK3LQ1dGPbeRJBrpPZ5\nZylm0yg9WmJUpzOBPiM53DqbNdo3xbFmpKb3zEoi/K/wDVsCGH5ZGUTgURcu\ns1OVFq/g1N9m+k/z+el8sNQuWuxvtaccGKs9oiFySOpMoHHeoMFKEWLzCDYy\n43XlIdmLsJ3lSMXtMhc+tS9sgi6W4zqY+9e+yiBswWQdF7+5q+uDpAZ+FLu2\nUaQvqgaKGY6V10kL48jxOdTna3WKLL44hsPHk+RhGT2VsJwFQbMojzP3DXvi\nQI6g\r\n=obXN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8c804c01c99c45e0931181fa755117c4cf3a7a9d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1616"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1616_1594045140996_0.7066061616998993","host":"s3://npm-registry-packages"}},"0.11.8-pre.1618":{"name":"piral-jest-utils","version":"0.11.8-pre.1618","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1618","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c00e09efc1bf04431baa672f81179611e3950c93","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1618.tgz","fileCount":15,"integrity":"sha512-WVJsf1ZO1SVOdlmOJZCPv8r5YNVm9K27LGYvXwhi2UVKwrwmPDjs+VUYMQ35fkM1HLYwH7k4NNYA8JDoLJ2z6Q==","signatures":[{"sig":"MEQCIGQMMkc043ocOisa+FtmEacIw7+LEcU7DqpP+NpVG0ErAiA0Kl6o9UmQkJ/3uGlJxS7Ng2Q1b1qVfHZEuW/GlvSHrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfA9y7CRA9TVsSAnZWagAAVRIP+we8PzXxUagh1624IIpV\n58jPNRsLIcwovBpJkcfBTKAjTt9gMLgs5b2UgF9wL5wsqrD0D/lLV2zUGwyT\ndP90WNxUmNS/io9ZXu/e53hj1Iv4D+/oM0ByYDmUNkHAdHHK+ElY129owGze\nueje/WzvNsynS/34hBASg/SeZtumCwqhIubdXMIZoZPfq/Ae6NRB/PMVtPZD\nyp/BBCpmErwInHDxiQrTB7h46rftbHK5p18sS+tOfjUF/UXEKIZAlMo/fZBz\n2SRds2kYvU8mHTjiLPP+HeDKuztdkyi02uSqrk6HmvC9x2/LILvQF/3s9jbo\nD42f9LRsPmGncfzSRbjUqKXXeWVqe8TS1Y/KwqGdrRtZW1YaTseX5PxaiX0C\nAWIDUkQb0Go/u5zFNBrs4wPEsbSPpSHsjb+F6adLwh7Abii1RmNoAhWOKjT1\n73VqP9zVCzlFiBuOd0O17E+eNGkzaMxMeiT2j8+z6dkpOmr+/EqEkR6at1sQ\nmDOuLLlXZJN6NIywjvjbfez0UfWpD5uTW2uKEE0/EBxyNLTiJ/cukS1NLZIX\nXdXDiFPB51HKg2btFIzTp/A/HZOasATuj4+fpaB9E4U/nSmvzdQ002krIXev\nky1rN32Sz5lOE68i5bmcqcbWj/knptg52Wt4ZePZaAyxska5to1fFmb7GHqq\nMfDg\r\n=9ont\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"01bd7ec7c065721d3779103030b25dc66c20a0ec","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1618"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1618_1594088635506_0.4187333487752367","host":"s3://npm-registry-packages"}},"0.11.8-pre.1620":{"name":"piral-jest-utils","version":"0.11.8-pre.1620","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1620","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"07e45123ee4362139a15419866dc34fa80443a3b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1620.tgz","fileCount":15,"integrity":"sha512-+6JEpu696GXKC1NBXhNEPosaJPCZUXIj43fdKmv596SKy8wx3Pvmg1rSSzVlnaohvRUP+PYQqflnpW6cgg3hwA==","signatures":[{"sig":"MEYCIQCO4WWod7XXB4TpjiKyg4l5F+9vPj1X4HfSt3qEcCPfqwIhAJUiQCmnOZhdRWHkzYodv3UUDt/+JFPqT2cBaAsv2o0C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBIaxCRA9TVsSAnZWagAA+84QAIoZ9j2UeUWvsynzw2lz\nRIu435bvFOrjLPWO7glF9dFaqSfsqdQyS9kKywKyZpPslFPmPB1imIGBqEiJ\ntdROAStZgZ45yRWia0LeYzXJn28hJa4SRl8sd4gUNd8tufnL6rVs6a1uJLci\nKQsUUzXbRAlUlmk4Sp9EuLYzjFNx7lAlBNxMsnhtPUh9AmHxHosdhzM/6pKS\nZOVLORz3jYTP3YyyLpuL9DfjufGfqaMeKioILovVKS3cMomLLa/tKeIq+a/t\nbJ1NR4keZa0QByQsqMH4DEoqqv2QPTjMq4Yzv6Pqq6dhrfQE1uiOsO2cuiJD\nuCHBTbVfYxE2eOt+rP6HW5bpyKBtulzqi1oYlEGPDQQYZ1rXpZYxgaDSE94Y\nUb4fQeSmbToO0MsBy3UwlQ15uG4GhS76pd/H7r93vFmEC8gWTlqhfugJ2qPk\nwiGika9W+lsyYge/U+D1YEMinNf1u+zGUQXmkuXu39AJguWhWDdxxW4HKBFW\nV2lpfXcMdA5WiCkIdeiaczS4mR78nYqul26V3jO2N6zpT30OgUElJzbUJJGs\nvnuyc54Q2fCe8oHoX5MnzVhB1vhiJuoe8zKclDdWVuMnsoO/omWeJFH+uQzz\n3jxcR74HXsaRD7vaIhor1iHQRJLgh64WjjWJEl6SZMtYy3oMQXiv+R02X0Ce\n90+q\r\n=hsNK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e027010f23a5a9fbda79a2c6443d08a378bad1d0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1620"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1620_1594132145384_0.02826982585790394","host":"s3://npm-registry-packages"}},"0.11.8-pre.1622":{"name":"piral-jest-utils","version":"0.11.8-pre.1622","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1622","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c6c99759d2f6ee6b805112d58b2d21ba119009d1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1622.tgz","fileCount":15,"integrity":"sha512-4Pn+vAuEzLUnVr1M44f8dUaCOLGOnm2Fm5yUFK0M7aYi+fBawJBFr1DiHBwUTOZpTraLSGwh/XvZv8A8TK1viQ==","signatures":[{"sig":"MEQCIHuryzgSzcRzcjrC7xd5+ukzA+8JNQQjdIZG98QSVZgtAiBTRrBTlUbwERhXWUc6Ty1M9vxLJF8tEFDNHL6VOah0Hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBYPkCRA9TVsSAnZWagAAu1cQAJ+HVjPeXxYufgC6qBZ4\na7p8c0CthFIz7qesSjrzpqEKziUdN53CUa6awBwEHeL6iSH75HKagS8neayw\nArUpuy3zyFW789CEkQi6eO3PIx2cprC17BnoFDwfvsmG2lgEVPEYboOn3VUF\n908y2K5i9c1jSl3rwGE81+GQacfJXS6gSPp1c6QZtEe4/NmFTAWKVp2uqPhq\n5ijYMUb7D7j2nkNPR8WBk3N8JsHYy1+Hi+zWW5jwmtZQJP1HYU+SWKxNQ1hT\n/T6prc82D8WQX/83Z4yfB//jYgbBXLBp02OHu6NvOuTqn8EJuJcd+aq8iXqy\nu0NEzYiiqSD2uEC/kb8LL9s1W8EePP1dcLvLqYSKJ70MJLPDagvkHXeGaiID\nZXxMBoJYEaa3VlBRMk+3RJST9dHMIV2bMOO0zn842+5Qrxk8V9K0k19HTsS5\nMcK4zywcdGPEeWPCrWf9PuNAL0QBuU9UaYDbjU7NyCwSoagpTS/LVf/RD4u3\nfXiluu0yj5xKMMyfVcNCtD/rpgSv1nf1gCJynFH/2G3kiL9ewuHmei9Y5f+h\nWhEtf+6/WsCKHWWY/Ee02ZGDeoBTu8J2+PCutdRcz/zqOwlONmp57Gtjj/dr\nOwHZ4c4pKX5xt5Fu8gAkjXcq2goDCgL3zElpV3MlKT34fHBIKrGIcyQATcFh\nDqOC\r\n=P/lY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"1a6dd01fef8c367fccebdbdb01245bec0ee260e1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1622"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1622_1594196964061_0.10633751984943451","host":"s3://npm-registry-packages"}},"0.11.8-pre.1627":{"name":"piral-jest-utils","version":"0.11.8-pre.1627","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1627","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cb32dd01c598d8e8b86163bee47c1c790a132728","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1627.tgz","fileCount":15,"integrity":"sha512-LzN1js7d/Xzpg2Q9T94dn9ngWVp/Ct+wW9mHncZcivpE3syJJTjeZBbufIrs92q7db7ty/OsTeHVL5bm2WjcPQ==","signatures":[{"sig":"MEUCIQDF02oufPbVAvje/pBQJP6ybpXRHS7dQwOXD+4nY+2dgAIgb+/R3OVnb50Byu/B5MaPmD1HI9RC6lx1DYSSZnOH+PE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBdvNCRA9TVsSAnZWagAAQZ4P/0GVR2/+ur1Ldh2YBh1c\np3s7ZBEVRiEGGtF/mbR3dF2WOZA1BlF+o1Fdg2bDTejkeCBGeQidlwnXyXzK\nAzKorhtQjsqZOjN0qROqLCS4PeHFdViFjCETdC/B8atsPdZKMns0iE1y2bfp\nKhD0hgPNz+Iu2VmF1Zm9Ir/rSzMfvGTLv/6+ocYXJKcOv+I1BjgXloBRkODK\nfR+PM4nS+yVIldcJvR76ChYqGE8tKKoGcY/aZX1DoSNmkdcn++GXwSuNhrwX\ndPcVpX2SgwwT8DECvZWsc1AqorFPL7hVocbdV+OonpR7sxSFn2LDEGpep6pM\nHyilF4OtpxpBu1GSzBGw8IzBajDVNtkKBOj9R2kSb854If1R6rn6v3RTds+7\nq1jEKb+DI1y8W/C1ndtSRBJ6lWWfeA3GuGSYVLNFcLVszOW+u297Zd/DwDU6\nLsZMtETSYRy2QesM2OqMOjibVlQevg1SUEdnnjG0NRTfDKj5BezyLJ3eZKuD\nkHIcrxDPui0xDxuLeQGC03cvNN2Sjnc/KY75CaqsTSVCxBdKsnDv+E+GP7/Q\nkTgDZnOO/NjS4HsL0egDY/sRM495BqzenMIgEXEDf0xBrm+ixYsIIKKACeVv\nPex0+m4gvnpRB1FURFRBZ4i3SGXQGELMm7XmwU37cQqmnBqkT9mwBU91KAJf\n0kie\r\n=hCT5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e9219a97ebc4918a34d06ddb3c9e0a8e4288c1bb","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1627"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1627_1594219469392_0.8409859262239698","host":"s3://npm-registry-packages"}},"0.11.8-pre.1633":{"name":"piral-jest-utils","version":"0.11.8-pre.1633","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8-pre.1633","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2412a50a35cfc4baa6f287abebaf434e4f4caf37","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8-pre.1633.tgz","fileCount":15,"integrity":"sha512-L6Ku90lyyJVuMBjeT6PcaH4lggJFbJzMZGaxMnshw3jzfgY1RooyQcyk/9cLd5+zFmKZ2FbLRKha4DPA0AHVig==","signatures":[{"sig":"MEUCIDVKLlNMT16S/TGl8WNf6ibsX8avCFk4bsQhWlCpmGAgAiEA/SR7dfY0QoUZ1Cwm3c37kkQtxw9BHIVNZnGw20MzJ6Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBrTVCRA9TVsSAnZWagAAyTcQAI+bedhvApR0fMfI0C4J\nVz/YYiJqUFoagyAiAyq5tScreMi2i5aRWxCeC7AQyRXS56ZUWMZnGESkF9kK\nWeE6tMP+lcLMaMLC5wK0CSwLMlVqEkNBn+rStFn5VLGUIudATznPD9Ixq5nQ\nauZ2tCKHxycArsVI7G2ZQy3+VdPdYZLGR4vAucJUAdjf/ARrCergV2TDSM7/\nX5oska6PLB9XROxrutaKCzueccA85ihNylPH8fmyikW4KPK73tRpxyCeGCay\npOpUl9wEziZDGQdUN4Zn+JfPvrLCG77GE+gzCH9OxMpv9n1NaR/6NCf87svN\nWOtWj91XiRtIsJHN6hzIb7GyG1TnBIcGITMx6oRn+Qc8LHpn41JCGgpd8vNf\nb6Dduj8nDCOwOW0bRs/VFXngznQG2jzT9jRcZddmxbtDzmp0R7OQmXXfB4RY\nwO2G1DPFCwes51DVneTmxeeudKTYtFtlbYVchk604NmyDt7f7BbY6lZA4gL1\nUGOpphqwITWqmTmW9Wkhd/gFYJONRNizo2PY8fPWYR4dbrRiKcgfucyFNfMT\nx3OMDyu0ztBBsN6O1T+Y5Go/L8sFvGZpYiTkmeunZCgdUUL9zgN79O/vHgz2\nXhyVL2HCxrAXO8wrWkOkjf1QWeU2iSwQV0Mp4YKYQCXrNmNWotoGQeTI93Cs\nQzMd\r\n=r0yF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"7af569dd3ee4bc88bbb53f4231943b5f382791f0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.11.8-pre.1633"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8-pre.1633_1594275028965_0.5354773137349378","host":"s3://npm-registry-packages"}},"0.11.8":{"name":"piral-jest-utils","version":"0.11.8","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.11.8","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"479e4053da509a8ddd17f3a2ba859085a926af76","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.11.8.tgz","fileCount":15,"integrity":"sha512-qiL5EG1qxN34mrKaPnhyz6n04GT09BWjALZfUz+TCgjj9k09PiTzKzIVAm8smYkpyPLglbb0kwUWLB8aUo3B6A==","signatures":[{"sig":"MEYCIQCFC+/8bBejFmdq3Dio90PiruXOdsimpISXLAMGuy8cWQIhAKKEFiNQhomldR1FL4yaRZ8VznYSP+il1S8IbXzfnwbC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfByrvCRA9TVsSAnZWagAAOgMP/0BPujY5eUlXCwabf8UE\ntBhCkcAka8RmEeUNnFLh2kc4/zE5Y4lQ4xwzCcFp6tDbctbjmu+mDz6dJBNW\n4taIkkLmwbQ6qu9P5UM19M5PBu/0Hmi/mwbvKiMa0ArSQnkpgOSVFfM/XTPX\nYYdHzTOgDIjbpo+jNRCMyIpYg/uaSZY8A3A5wft71gFGmTRDFvkhbQ5zRF8b\n/ZOX6D7l2807NXEKHDcrCagsPNk+8C8i+zbmBzwjlLylgPgKpVsvMeiSgVN7\nb+BM5UUP84kPNimWHru+Fhy2RSXmmmsbGFZjd4+838Z4Dgx3jaFCfXF0MRU6\n26tE3CVOl0OnVkpQJN2/vzVkffBKVGQD7SMmNC5RaxeWNyJfD/McP0QZg1o8\nw+P3CHCFKoiVM+WW9lBeoTPockmpeLsJeh0SVstfDB0ZX4txVswEPlBfK5NY\nMe+nBZ/v1Qee2AWtPD58csVAGz20JciSvlVJ7hh1NLwDddT7X0nEUk4dVMFe\nnMoPlHNrANWYLA3JZ6HCwl3BY9Z6nLYYgRIz4qapM9n0Px3FDU9R+BNOwJQN\n0Jb2qLr3wiaMsIbGiQFD6b01wtARfr+ifut3dIiRCwQRIglWbDAWm2WmO5YP\n+qvV1HodZtqSCD2R2UJrhIIFJZvUT3A95DOJpTVHR2dZCXjog+IziuGIwI04\nsUGV\r\n=GL71\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"617df77a2d553e455ec66b04936967ff3ce21a47","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.11.8"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.11.8_1594305262751_0.5628804756801857","host":"s3://npm-registry-packages"}},"1.0.0-pre.1671":{"name":"piral-jest-utils","version":"1.0.0-pre.1671","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-pre.1671","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"541481a795cb46d6fd84c5a40d678d57b133d408","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-pre.1671.tgz","fileCount":15,"integrity":"sha512-zq7aQoJYeJSLYnz5o4vtHzbM1AXa16cjJlyEoqbxG32F0dL1v83C3V3QDr3ANME4extl38CtIv5r1yhrhNRImw==","signatures":[{"sig":"MEYCIQD5XuR1JrhC+0rrTu3mu8aYB5AQzL0G528OF8eoVpZM1wIhAPlFFvWkJFkMVFWwjmITv9HsAlrdoc8YNVKRBk5xNRy8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDxYiCRA9TVsSAnZWagAAQrMQAI3zfCuGuxG8J42OdP9C\nojpq/NEnyfuk63b18dpoiZZ/1OYXqn80b4wJPZW9vwJEHtM/QziVJXKWp2U4\nDdznLTTaiesE0AWJuNxS0Vyv/wtKhwjmElr6NOSsqrynktVDv1YsEYQmLUZd\nnklE88JjPTozXWEZggDymuXmkKRWlP27rdmnLnX9R2EYVmQsImo379yMHaQ7\njiCziELZrGLYPzFNUq9xxFFixKx++emTmaORZivrp4TiQd5NcxhbcYREGq4+\nIpOqybKXXuVBEqjJsm375Cp4MlVENnSQQCdI8jAqRNn5PnlSvQ1QJ87skphV\nmL9OML5eONEPH6++RmZeyOYbtfIbibHXOPNmEdSkcLfcoeHv54ZLqnXHjtDR\nDoioFIjkXqNbr1XeffwU5EYPLJX1TmfyB+JXqsiTR8TP9QoxJ0sGs0RWJgTJ\nAvd9ygb/EfB4Lt7daYtj2gbsyaGmJj74cq4Vrce3pr1YT347Pm6WlRjWxy1l\nx/ZdsDLaR0iARasJ9S2ZJPWpRnbbnAiYONY3TRs3sOjfiF1AnwvFX3lBsKMS\n1WhofOKPO6bEla+jx9HxgdMJuNtpXF+IPi1r2BiLqul0le1zVzSXB3icnAc4\n+RfA0PNz5O2O0/aahCJStmez1b+XwovklAo+rn5dGINR6dRcSOlZ70v5/Y5Q\nZEPa\r\n=uA10\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"97a7641c8474be5e61191b7ef8e794bbc4c6c76f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^1.0.0-pre.1671"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-pre.1671_1594824226517_0.27449227210983684","host":"s3://npm-registry-packages"}},"0.12.0-pre.1747":{"name":"piral-jest-utils","version":"0.12.0-pre.1747","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.0-pre.1747","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4b9148e776f7bd82a3cea156c8c06665bc9323ec","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.0-pre.1747.tgz","fileCount":15,"integrity":"sha512-OvMMieDog1Iuzisxte8JwuTIIS38CU1XbloJSdq7e4XudzAv5TuWXy0yM3ZikeMXKBY6nEv6mr34cWUHvWlqwg==","signatures":[{"sig":"MEQCIFSN2aVWaX7dbV1VMIeDwQ35bCcGDhYCXeTUMaoG56HbAiAiRIJuXjVl/2GF4RehB0fj+poYy6fhvjMADoulXccjNA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUrggCRA9TVsSAnZWagAAND0QAIs/O5TWOVxTJOnhTcbp\no49HXfVX5w/5C8WYk1643379Z78dKJMImpzF3zwuadNZa8UJlFa6BK1qag4W\nrVd7w8D+brbs//+JYvt6l+m2Txv7LQCaRAQR7WkFsk1bvy2xdfDnFEKwovDp\nqBYqpV0vT32ZLCmdI3Vk1eJi3Dxa46SFPOmjJVTLJRlNoJc/8bMZjpAuHaez\nTMXGWHzdYeCuv83YLOmpbE17yTS7vLNxEkPm2CQNq4J/26qNtvSx18PvEzuY\n0zq9ZeJmX7IPsvx5mHFZ0IwcvRBERAtjEH/lSkWW0DURGvTWKRnt267Avh6p\nL+BmHKdo7KazSqH/L8NIg4wGu6PP+yb23vKPZs7f0Yy/6/Pm+bdSnWCjuZix\nOao3Ix/9Jn4YwtGi+2qerIMY0UfugOcdaNlCZ/PTZHB/i5UjwNZfrBH4NCyu\nZudh4orAeR0O4ZVxWWMV7L+GMVJ2afWlTC7RlvVJZ+PGoZa9n9v9eiIsmzrk\nR5DNnugyPhmSOEDnwN1e6t2wBt9R4YMiZb/MhiE/uaL6pCthpKia/EPSRz9e\nstO9Y6jgmnFkz+vIm+tYGVn5S94QZHb5XMaSYqn4qjHJ79y6K0hvhXEbeGl0\n83i2P6Y2+1EU0HhNc9zCeJ4YqpbR9o8FzoTiHE+zVa0oCbJ8bXSjtPHXZXg8\n9p3a\r\n=DukJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"fe6d8ac1e84c1760cb54355f8fc627bda8625ef0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.0-pre.1747"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.0-pre.1747_1599256607560_0.551092695310758","host":"s3://npm-registry-packages"}},"0.12.0-pre.1748":{"name":"piral-jest-utils","version":"0.12.0-pre.1748","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.0-pre.1748","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ba202f3a9bd64ee8d8c8c350bd2e2e3c3e90367a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.0-pre.1748.tgz","fileCount":15,"integrity":"sha512-IGO78ic/N/C4mLN6+c6cEzoNYR2iGMHpug9AqiFJ8S2Q8UxN3Du1yP+8YQgEe2NYPzohiPj+BpvbNUX55zoMAg==","signatures":[{"sig":"MEQCIEFzhHZQHKzH/doeDI/m8YM+pCgo9olkcd8YUSSpG/UmAiAanl1uGvs6sa8vR7/IAdZBAOR4hKjzkOpxmu/Oe4Sk+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVri0CRA9TVsSAnZWagAAR+QQAIxWVKUUsZwEavT0PNj+\nmAUIHDEi45OJ7iZVDj09DedKbvnRdXL4yTMLAbg5SWQIhHSWpx8ytOt6bPXc\nfHRRluGA1wFaZ/zF1dqJwCpbZR+WfgcsCjMMeHgpjZKRoBH738OMOGn7EiOr\nL7maTN0giHmb2P3hr1NoEXDqHViI15t6vs6rTHhtidpA7xcT+7ApenJivjx9\nOWO5VgYRsBq9YmPAkxjVQVPVLGtmETBVprU82xAJTb4mQR7lVNa2AC7ZdIm+\nEkHCs+DWCx1pPTO5XMGUU4wmX58g1TyayZayjag27B4K8hRQDlnoeOww/naU\n1Nxk79F/q/yYfIddG8GyvpDYB3qjyjE8a520dXlP3XdsuICeuxhIrOLo+bj7\nhPrVL17XNpVMIh3s/l1xRXyqT2ma4xP49q2HbKIgxzto1t++TcSC0XNwBdcs\neQ+7n7bYtKxihNWTrdOSZ1NasIQdjVNzuOLHSQ6L/yOOhL09hprlFxmQzAHo\npzFHPEtCfM5rER1Pmi7w9BiYj62Ex90SiP5JshWXHu/cHUybjEGMGMhdx89t\nQeQD3QTn2MwTOZNyIxrGyKAN6j5sGG9Wz7yelnW0bYWIwA5irdLRvT9O1BhE\n00J+UtSsq5JedVgv6vue80nAkOwHM7rFK+pIriyLFrUVeM4PNd3RZWq6+jdS\nwI3D\r\n=oilw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"d34d6d2ba17aacef87ae945fbefcb75f923562af","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.0-pre.1748"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.0-pre.1748_1599518899710_0.06999164474016517","host":"s3://npm-registry-packages"}},"0.12.0-pre.1750":{"name":"piral-jest-utils","version":"0.12.0-pre.1750","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.0-pre.1750","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b516ad61005bba8acfb64ec092c18e97b565272d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.0-pre.1750.tgz","fileCount":15,"integrity":"sha512-m2J5nYhhWN6dgTOravmJuoe8DDs+FuyYgiMFHnc84kWYY/g/o62H5TCvTzYijiu389QEq3X3iTCKy3yzMjnXXg==","signatures":[{"sig":"MEUCICIW79IM1Z2RepZgLSSPNbXwtVKrv4as93ZpqOne7kyXAiEAvgUDfGzxR38vlY/gbzo9xuYjc1ggYSX9DJ8ZiGBE3+k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfV1jFCRA9TVsSAnZWagAAKw8P/3pJ6RO7YS/xRXOniH2n\ngNAEkagB3jjgO9/UtRmfxTeOspfckD2niqERIpdvgQZWa0O2kjGNMbChOy5N\nKsBvXqa4sBR5uRc1uSCsEiqHNwRQrYSvLt600adOQ3eMm28/Y1lkXPHaTiOo\nG8+zQPr6osafCGU/w4z72QGu8gzvdsyus9Zapm0GzutUolOqavUwV19lk21W\ntHb75fSh172OekHUXkMDy/ZW1EwY+jZvYEo5RRxhj6kE5Dz1LN4QaBmIls80\nOG+daZNrrAIopNVQ7PwGIpxjLnAIIMwDUfj1vSbPla+8NpBxrW4Vs0Y8rro/\nTTKFxBf29llKyVDonEYRulgTUpkRaYXycr/SzmCuMHSJYwMtFyf9suDdPUbF\nEk2PoIImVbWrz10pXUtnFIZiT+Gv8vJpF9fLE5CeX75lRYOBR2UuuL5fKjUX\n7iKp6HMbzhfvhK7DU3IKjaAadoD5agIr7yAoeWUTUXRaNNZrOulh8DXHhyme\nbP8INlAWbbSLwQ0wgvdF/c4ZLRGIszlGWXyFx4UW+ARTc5MdXbJLb2t9lTN7\nGo6n0OOhU+tvGrOqJVEqdcQI2akVbY7HXiNUhAHN17PvbOHwQ4ZoqQKgmLKV\nsiLBgpI9mWYGWkL1zKqRdixZexHc0+OowdYHffa+2YoIMZPzhRSIbPL+EwBY\nUwZ1\r\n=21eT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a72888f51ad776b30e4b7fbf86da6833a5f669fa","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.0-pre.1750"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.0-pre.1750_1599559876726_0.40264729620392936","host":"s3://npm-registry-packages"}},"0.12.0-pre.1754":{"name":"piral-jest-utils","version":"0.12.0-pre.1754","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.0-pre.1754","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a9cdd73107dedf072bca2604a31beb15c4a86a5b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.0-pre.1754.tgz","fileCount":15,"integrity":"sha512-MMnsBI5g1u1e7JXqnmI4Y1T6u3Wj/QxaIw1QloojLNnvr9TpMeBeeX6VnG/k9m03pOuq0Cm4BvgJxbdUC6EEEg==","signatures":[{"sig":"MEUCIB0RAGk8ex59tQk0AbRlbmlwDH0NmPdDULjXxNQo0sNAAiEA5jMVpVoMgqcO7D3w7Q7jbRWYO/xcLUocl83ZBj2NlPw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfV9s4CRA9TVsSAnZWagAAiXoP+QAxwUjsmT/hK6uaKLy5\num/U4zilu7wLtgxXXXsolsnVA2GrYK+xMDZhbOBKt0d61Jd39ZFOU+FEVGTy\nkLvLSVKrC3AqxezZv+qq/1r1rGAfgrC539+i8xCtmHXGQOylmRZLCecb+3Mm\nlKGbxeHg/0kjfjbXXyNBnK/x4oSDeEdKC77I1HSaNApPjEsMzziXPCEfK7+G\nSLFmzMyYi/nrhk8DYQ8HJHdbj34MeKEQ3tPu2q5BEqMl23P9UZhDZUCKtjzZ\nr4THEuuZVbIoq6oyqkFR8402fBHmNJ9mUGiyU5NCs8yJ5ilCCrCwJ/APXcwW\nKLyuVdoImR2WpgL4WRery5dRhTtlpYOBGqQ5hnEeYaJlojtDA0kAvbGQA6f9\npQoA6fAUIODHtgY8vymvxFNe47rS5A5VmTZT+QMa6TgkmoJvX07bgMlUbB+W\nSWsDGWZ6a/HOXDK8kkWE2SD8a4g390IWA7MI5J3TzV1b+8SOl37bceo+nLzS\nGYhVWtaUdtY2THTWGU2aEMxkYnApUoD2i+pJiZjfQ3ofgeZkYQBAOK8bbWSN\nb7OERIDO0tZV+MvSZiRCeEMe5Q7kFSFwtHXx4tp1r3VgfxIVAQabDodg8cc0\nZ4yVzIWubCvLznYXLLMlnN2msDaoMsgcrtsQBR+ZEsal0X9dG3a1dXEbyhpS\nKT9t\r\n=G/Gm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"7ed660c31b0ff8fbd83beca98c947f159417d27e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.0-pre.1754"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.0-pre.1754_1599593272190_0.9203280248643468","host":"s3://npm-registry-packages"}},"0.12.0":{"name":"piral-jest-utils","version":"0.12.0","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.0","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e05afa7d67af8a19b1747a47be9303b66cfbce9a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.0.tgz","fileCount":15,"integrity":"sha512-kq+oehBFN2wsirMiBccY6f4V584OW420uVDZ56CspIr/psPLy3WK1/h8+wqwlVpxll/IZb3ig88B7DuXXL4I/g==","signatures":[{"sig":"MEUCIQCvdVHWwDqGBrUmyf9cLYkXepob9ijcoopFGokn+ag/ZAIgXL742RhmZCTc1+xuSPuk4sRiydxcChV5unxyUy6Eljg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWJfTCRA9TVsSAnZWagAAbIsQAIk9Tqy5whqqIl+EMTg2\n1iMDnU45t3qGyVknbh7N0hspdMdORgojp+xSvW92cU68G4gzcOWJrtEPSRgb\nBvM3MuZeXeOgGuP6S28m4yO+h+2EOE6W5HHH93bOvBBMhDvV5HfuFGd+cL/9\ne+sebcolUbXSiiaOlZMgMNBWC2cWKFG6P7WdJrhfRJdu8zo/IsB0Gz8y/m8Y\nbpdCfCo7tH8IyKPmdX4zTr3Pmotf7lkVKH1H9iWIttdytdKz/CC6HE0kyO0C\nyPCsnPxqW3KKsSEOKEL9icdtNcIcrNVKGlmxa+504ELbKc3oYoYrtglwP6tJ\nv3nCXTS+cvYOZAudVDnD0zzfdq6oCCk1F/44OrOpWdKtSRI8fYmhDMIxUn5R\nSWKYx5PHQhR2iZcP5bLyP8Abn4tpJwnxOYyJQra8BbThqEhYB91OREHffv89\nxEQwOj3QPyd1Y8SeaA7uQuC3dAk+0Mjk2DaD2jcu/8iCBlejKHiaaQjbw1wt\nZc2WSsHhxpGVCRT72IhACs2WvVuSB8xhTKdZmAhN/Igvzew0AXgs/IH8pv91\nZ5MXIy14ertc4e7VKe0DS+R+HdO96yVQTj03AtX8HX6+NhVQBsKzldoSV+LB\nnV0ai6xmob1yIC/qyBwtJvDC8FwjB1QvOHvMyozEnqQ/wzC/2ZPrAlIVVEMu\nYLNC\r\n=ShmI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"2e08688de476cf93fc4b63d1cbad4a27230cf6fc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.0_1599641554576_0.43817521004810844","host":"s3://npm-registry-packages"}},"0.12.1-pre.1768":{"name":"piral-jest-utils","version":"0.12.1-pre.1768","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.1-pre.1768","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"aedd4af0b369b9fbb85fb628537ff9175283106f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.1-pre.1768.tgz","fileCount":15,"integrity":"sha512-h29D258JTEuBI+0LwsaF3WOAA+AZ2gvR2m/dbJWDF01+ux9FXx8+SeW+ZKhTcbLvKCQ9oPwWSJP2qO4ZNPE1Cg==","signatures":[{"sig":"MEYCIQDMIgSmga2+f4qbvHRSY5DqRP9YcDjWCqXBsDn8I2q/EAIhAIILVnH5DUOiQQ45/pwyEb81ZoNPXcmyovHCo+spbVyz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYiQ1CRA9TVsSAnZWagAArYMP/3fObPZR6Pj3Fv96Hk+T\nogSkou7cOLs7E/sRYedMAhpB8JjgPiNYt5sWGbkw+btYmQ+6by0Zhp20o3Mg\nU3p1K7lXBWPn0ZxREMPKjyj2rU9OBDN942mVI+GgfLyHuEPxNe3tYggHZFOd\nI+YtqbbSxbr1TVZ3I8ksmpgidEIDb+Dfw9CWtlpcx0nswNb+ejfXoPbc6rnh\nGtNo3kWW2Z/kdG2cg62zYubuefNRAUx9FjMXs36AdjNwB2KOyM725tpqphh0\n+d7Me0+94W63fl1eT/StXPexRiOgV7JtfL6eF2AMXBSQz6Q8Ka0HidNpLVrO\nTjQMyV4Y4iRAuAFepIphZN6/5BgmkLo7hGIsKT7ZEOnmCX+MH3t1DO4zGVkv\nzS1ZpPQWLQTRYjd4kQmTLsuJJhXh5flBwSIXz3mWtwZenKUISXCYREI0SgqN\n26Dc+ELMXuNzEfdHGtkm+3cdQZDORBPRQ4l/c13G7acx7kCGbIWYDWLxldj0\nFZjZaDQy8ulGjTTnhWTtFnN7WEZxKD7MQVJwLbaySQ6vp/aAg1xBBQMi+4Vl\nOsKYb/GxDqyF+ToP5ua3trAkTUrbugK3udR442HmBWxBQsd+OGUu41tU9tzC\nGlBAbksDQKK9hEv+yz+6vBV0STO7NcKENQElwXt8996wJV6vXxPnpYI244H/\nF4QZ\r\n=qDqk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b3e94d1fc6a541a787506082f6fc9d0b8a89c3f5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.1-pre.1768"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.1-pre.1768_1600267316623_0.2511711582518046","host":"s3://npm-registry-packages"}},"0.12.1-pre.1770":{"name":"piral-jest-utils","version":"0.12.1-pre.1770","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.1-pre.1770","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"05e0316b91c57d308993e9fa4357f88870996166","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.1-pre.1770.tgz","fileCount":15,"integrity":"sha512-3addu4m8kxu063oYkJWxTQdn21NyYEHeLpO6GCo5n0z6nw7QsRvRvxEt0Ry97KkU2wTCsdAddTU/BDO3HRPbBw==","signatures":[{"sig":"MEQCIDZh8Do3A7egzYV6TYz190i4M36xzuzBQZu8GET9h7T9AiBS/Iuljp+mBwsAxkgQWSFmqaqhmQF1ptkT0vN6To8vUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYjGoCRA9TVsSAnZWagAAIbQP/j5+Os7erQ64Ga21nS9P\nJdYdfj98PDdS76zm0EFai3FlfCQs8+3X/jSzajsejY7VQS4w0p540D1waSmt\nKAYcWDRvHcTWJTfv3zxlo2PNSjvn3LI2e9OS2lLnmuYuTObq0H57cpcL+5Br\nhYIwQS/FuYxGijuaLy7dJxo9H4WoY36Ah9Xx/BwDNkLx9QUg/CKHCODr/FoG\nvdmhoiY1C2ftf3BKPLWAHf+tcIcYVap0aox50COSc3r9FG3/xMeCCSpPPVzp\nO4rirsRfHDnugTlDaG4Vy5F5u1cix+8eQ7qZVVJPr3q8W4UtGT0+WcIuGnYD\n/lgR20vZJsTO8japFbOxjNvAglPmmWqYAWztjAfNvYYeRp6ROsWpiFjhXAsd\nPcMPDXjUvJ4dWFMqiLjGhl860rUDA1eQprDD5r8zlQP4L75MR4wevns8ZULR\nJoxB2OgbjdMHoxkWgduURveq42sXm1ef/P+4xcKjEAIEAPViZgfpUn9El1ox\nLXj0hRlh9tTSuJ2RTkgN+hki/cmU6ZqFl7n2eMKbvzFo8kG+NlohsHjnriEM\n1ugZusLKvAlyF9tzE50Aasq+F1OXzdsThfgXX68D69dU8ZgKvOnfKh1kShOm\nzCpzIkV5qKk+McPvcH83/NVNhebjwV9JV7+ynkJ4RM8ufQFflzlI9RoZhd4S\ndalZ\r\n=pc4w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b46d5e5464e032fa25c1b9bbebb83d1856188b9e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.1-pre.1770"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.1-pre.1770_1600270760332_0.18891372399766082","host":"s3://npm-registry-packages"}},"0.12.1":{"name":"piral-jest-utils","version":"0.12.1","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.1","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f0bb7d22a53fe6ef1b7be987e207ff17feff01de","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.1.tgz","fileCount":15,"integrity":"sha512-u2GVmi7yakDOu5ZrkOYZZVLVlg4u1/oIHQJZwzpbYYwV9Kk/iu8uE7rMcUFwWW+LkoQDiUPIVkG7N/J+5yUneQ==","signatures":[{"sig":"MEYCIQDKqFUmiMaDn3TjeQEzYaWJmMVxZ6gDi/oRHwhHEmO0UwIhAPtpr2bVJ6IVV7jphABDsgKbXljz7uH+9vNWH+Hr10SN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYxrVCRA9TVsSAnZWagAA7v4P/i1mPAMQgxCPfkOBSxC8\ne5VSXCs2eqeDsAKbmvhYSBPRwzlGPKSR8nrj0xIqwnfcimwiub/P/64eXTnK\nS9zQaKYoiXB81ZliryOe7XbYneDgmIdCiH5XkzqO4c9uDhUa8paK1GiIwsHY\n3fQb3EMJUxXXlT1ToN862tr7n/19Gyopf3yispTd1vdmEcyDZBKJOHXLYdM2\nVYQXXRzpAWjcbcfcVXxrJuyd195MmMqQhnXlHFCRU8jJ7vyIXTbX20Ut2gAC\nE2+2K8OxbfI1syrCaIhYK4GgeJNt0I8Ao8QouA6qxOkPhTLeWI9nhnrKmnA9\nfdX2XLLBdoEkKtGCEXMnKIlMyfXRHOIhGGNepfHz3bvIGxqwH5tvHYS5tmsP\ne3VVbZlZ1S9CKFpwxNJdYFyymdSDWT5BQFM2fxghbl8sG1ggsK2dPSHefuzl\nVCJjZ4dFBC2shFTJOjJVLmoGUbO1t99rYrFuZ+5KB1jyxqzfHmpPejss9NCB\n79l7CSBpw3UHLJZExFpCqT/SzRYJJ/hsU7QFVlh0PycrZlwHqRprsJdVDC03\nKp+VgOz8DMjRgflPFNcNv3qOcMqGd+8VKGsdkHBSDMGmKmQbXkgHQHUODsME\nTd5HWzQK5nM9wSZAQ2uQcR01VxdkHf2hYmtVoLEFRZQL0ipdh5FasVJddSf+\nvWLo\r\n=HEnM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"e49eae16f72d7a735f922d47b64247c71c2a0ed6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.12.1"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.1_1600330452915_0.06053007961367807","host":"s3://npm-registry-packages"}},"0.12.2-pre.1793":{"name":"piral-jest-utils","version":"0.12.2-pre.1793","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.2-pre.1793","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9a9f6ee136201ad70fe377d19f4c72d428f00225","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.2-pre.1793.tgz","fileCount":15,"integrity":"sha512-Ym+NuI3KlZtgGfDOIUvM8VOCWGIBiDgTq3V9HvYgffNb+Iuj12IVKzZjUL6B8wIqLLcoHO1oTvaMzI//DszDoA==","signatures":[{"sig":"MEUCIDcdV+wG7ls1UoZCRVN++A6I0fKvATzxhphI7dZI7IpKAiEAhXx6PET6N9QovhaoaXR+9/7Amfcs2SKENUT4DaLBqpI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbopYCRA9TVsSAnZWagAAj48P/23Xj0TNIul+9OLjT9OR\npU6rxTsrqdqpgf9NUWpBXlkWvH7J/C62IwhTibX/mmNGrAONEYaePAdFgLpr\nb9+C5Csl0MaFTapAx8guX2JyDu6Zg5r5TngK0AkDj4GWgnsj4UcoWCPTO4jt\n+ffCYKhYZk2a+zB7tWXT2CKcf5IEZA2EzC8RffYOonWAdao0XIU1MK02o9Zr\nJPr16mJwEOMxFHyHJYIlzXlxAF8ZTxNapb77KbpHMok3WgGueRY9TBdLKLJ9\naxl26FokgjvhTKv2sibZ+FzH/RJO6lMosh/Mo3lrDkbTi6UA7hMINp3KUC9i\n5liC0VuYA2nYi++5ji5xJBzurAt8eDNDP1RBophQlffkiLLsaq9Cx3ahIxPI\nme05fWmLnqTBH3HDv+fEuwge4i4+LtWGyDkMZIS4p4jsKnH/hRhElxoh7R09\nupAlHgzfvFZG4xiebkuT6Ob/p1kJTbS0aOHk4JphuRD2L82FgPal0y9p5z5c\nTQtKvcbceQwuqzFujhpX8M9nlnW35UB2kpks0KMxU8hJiISubQZn/97WnOil\neEYiZ0YJdyFRFNwcXHu7vDAPQjw9Bs5ATe5tFuHWYMvEN5EG2oTzjDBzQnbs\nENgQAdh9glfpga5twG3vFCLue/jj1/5QoCtP7mXJJ+6Yq0PTScWtMKp9mVum\n0aRY\r\n=X9wc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a50f6184311434b296b084c47b8eb844d8a47c00","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.2-pre.1793"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.2-pre.1793_1601079895816_0.608949310703202","host":"s3://npm-registry-packages"}},"0.12.2-pre.1794":{"name":"piral-jest-utils","version":"0.12.2-pre.1794","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.2-pre.1794","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"776d13b954ec8214f27399173f4cd2f4217f5f3f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.2-pre.1794.tgz","fileCount":15,"integrity":"sha512-acvud9xkZbbsnm8/4Rjaex/GhXtjsddkwhaQAKeERHopM0qD3XW4/LPNZll/ULEs4g8hsjKs0O8x9V1sUyhA3Q==","signatures":[{"sig":"MEUCIQCIBZYOV6X6YqHGTZU9heSNhN6Dp1VrszN82bpWFrbHJAIgJ4SvF/1VbL+3iddtZT+sZeyjWRiEX0Ymd/h5gw1tw10=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbzdFCRA9TVsSAnZWagAAqj0QAJWMz5q99jx5Rmi5HkM8\n2CO0ZNE9mUj+1Stf97yu9QYUR4XVXQYy2e6GD2zxbTTtG9QjJRwOEvoIG+Vf\ns+IJ8eMIkIMoelV9cUT1XNkqW+2ivh1gwglFQjTXmhIl5oxm8OSSVc+x1Q0i\nzuZCgU4w70/WaMSdB/hNeHNtLKGvf1lZIzp5dgALSSrYZDHnJlO2wg4Co3/J\nWXnC57uvsx3Jsx1tqcJxS58tR2RjE77tqpmTuIZ0Un4JYPr5hxedxXwJUb7r\npRWoVzofMKAovn8tmSby+Z/AaeTKNm8ex5J8TpC3JPJHITMZKSA3JU5vBv6D\nFu8TgT7PdZQGq69q2Pia6eXcK1N0vCzyXho6ZJUtIfVFfGchPaqS1PCIGZzS\nAlvm6Mw6bVTQrYsqsAocUK4B91LR8DMpEA/Zkkh0b1e/Bgw3CP9WW9um8t/R\ni6ijXx9DJTuG8irjvmuZgElPgQZ9OHBperjGGZrSN4Q6BJ5niwXwARW1rjX3\nm6uFIlIn9nwTQVtc5ef2C5MZZVbm5VTkAHhuSl7P3psaihjMiDmZSzrdkl/L\naln4MxniQVdvBOfd0SgOB3p2XDiv5E30pRTbRuCpNlX+vhK4n3jWp8vd/pGs\n+hjDq4bWNAi30HVSwJVWQ587qDr7VWp7KJXF6DCtAP5/WOknW9apGfD4mvDh\n09uw\r\n=xYs9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"2fa035d4ddfef7335619a947a89d94991baff445","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.2-pre.1794"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.2-pre.1794_1601124165570_0.6098741002936223","host":"s3://npm-registry-packages"}},"0.12.2-pre.1795":{"name":"piral-jest-utils","version":"0.12.2-pre.1795","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.2-pre.1795","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"48cb917b56f785d4eaaa5f0902abb721ff964182","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.2-pre.1795.tgz","fileCount":15,"integrity":"sha512-VVSXIyCJ93qq5Lh6VGmgtRMM5R4x7UPBoiDjhQXhozbpYAhrNzoXfK6FOWxfQfRufgq8hbl6JoZegcWgc5AaPQ==","signatures":[{"sig":"MEUCIQDjYE9gZ2delyj0cHQ4lbFqbIc38akDJwLiqDY6A8rnGwIgTNR5c3Gem3EoefnXHxTiwvxjGLtXDcibRuPbfzhIYJk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfb6KCCRA9TVsSAnZWagAADi0P/0el8u3PyPNZQKzSG6bI\ntfOUg7f8ZBz/YXiFmvructKrEri19D9nL5xcxVSvL8fobcrsPzHmAHE9V+kk\nUPCWdSaIcAw+R/Cy8pr10iWv5vUvCuLxxzUnFi862RNjMSWiEIfiVV+Gb8ep\nIcyB1imAMoGe7QfetgllFjnyqccsBhLf5+doLngPNsUwNpZQxTHTsiWwB3Ps\nRkrts9Vk1XMRcEBr2QMJoQ8hHjxWmQeIW9VzJZkzCeFzFt2SKRaAzxewe0eY\n9gurTRoomhmipVRdNhIhFXhsmysK9/Vb3Yp6FF8RO4mskjKpAku3omhFF7EK\nr8NxwKCZG9MeFr78jFmKSSiM3f102V1eI7dP/MbE1/gqhvn4ksff1C5Kg4bc\nqwbOVgCF2Y1rb0fC4eQWnawkcLrupHiEPNxC7nEkzoonDr37ibAy066g2nbq\niIjggR1u3YYPhJRryKopuPOXlHYbyjMTVfVlokaO5LGbX8l0CaLxQc3mtgWw\n+nN204V19IcIgRxeHQmrlgjeNqO2PcWiM20AXlynaGKwSz9Li+VB5JBcWW7X\n8OBBUCMzhKQ9D0sk18ga+ARHA2dudspiFv2wKWTDi7MOBp91HB/K4wQoQmiQ\npZrqjrG0A6FUz5DjtXtUwrlQxkrxtOjsLk9xNF4MnEYQIksXp3qh5XJppPY0\nQg/C\r\n=uPl1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f7669188fcb7364cf457fb0de1d3ab54cacb1699","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.2-pre.1795"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.2-pre.1795_1601151618551_0.6686171205163156","host":"s3://npm-registry-packages"}},"0.12.2":{"name":"piral-jest-utils","version":"0.12.2","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.2","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"525b9d303013c5f9d43fab94c77135f2ba91bdd2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.2.tgz","fileCount":15,"integrity":"sha512-0R6mmF49o87iiAMpbrEhSKrFbh9UBS6Tfy41u6vSM2F8+N9J0C4igTLN/YrhtWg1EBcsvJvrZT2wHcC796WGEw==","signatures":[{"sig":"MEQCIHMP+BXrdG8Uspm3RZaGQX9VJ0rH7ghfHNux7PWWW1dnAiBaN8cIQTHiNJTjOq2PH/6yoDRwHRwMkUze9s+MDn7KjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcWPkCRA9TVsSAnZWagAA8ucP/0rS7kQLVNzm44xI0ekb\nFZrx5SLIp9+5D4anmjILJek6Iut2YjKYcilX4+yuc+QqdHixGxWHtVhwikz1\nK7Bt45A/gY/meyFe6uZX8E41ejCZ2R0DowtzVRDJEgTkGTnIxfoLrkOWb5to\nN9VbkrNdbNcLpAEbGXDV05Dow4IGHAow8GnChvi1hakNggYdzkRMz03CeKZt\ngXXDek91WLghLMtK2Ehbj+8bORSBrGhXNc4cYdmCNpHoF6IDb4muQMKE3IuX\n50becFyJD7tKCjMducesE/f2WOI4czQhP5nVQRYjxHUGjs3RzoyOiOlWOk8P\nSKxYvfBzisZbtDT2xXS6AflGrdM+a8wWDwnWoRGy0/hisJYjurVZHBDM8SCf\nY8eC45JUKwFU6BjvsO1tiUVZiejHw20GFeUIm+6tqrwZ/h+irILDLDijPFK2\nZ5lX11B/UNY23PqumhmT04ooagz8/tDhHKIMhujG5p01tG+nHCnqEzWXfM1g\nWRv87XxpB377lCeWn/2ZpISRuCJ+KX078ci8SdhN7cUCtYhQ6WFvqbxYoB/t\nI/KC0NlQK2RobzoqPJuZsLAiipNfnZja5Nf0wDTrUGmoOX15evOTYPVePy+0\nty6YzpgyZKqdcHFytp5Fe4goVUBsGc1HVMROdiDR71KBeON2HAOxYidulrmQ\nlfVE\r\n=mHmt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"f80bdf8bb2e29d6f3394567f9607e6607f02c80c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.2_1601266659833_0.7563607504309222","host":"s3://npm-registry-packages"}},"0.12.3-pre.1815":{"name":"piral-jest-utils","version":"0.12.3-pre.1815","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.3-pre.1815","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8b2f34cfc7a7e3e2f3fa0f2efdeb5bfd2387183e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.3-pre.1815.tgz","fileCount":15,"integrity":"sha512-EtmWnsfMtx8e6AAX9FNm2uVoBuL6LAefbDzD2yeVgNGJ30lbZho+2JmQiCsZattybB+plUKQuLkSXMH3Sfh6QA==","signatures":[{"sig":"MEUCIQDgnpNzuuEyudqYJJRk8H5olGgxRJhzghaFx9NPDxJx3QIgMgP756VzthrBVE95FiWIQFsxmzBDJYqWn+z0IT8SLQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfexOtCRA9TVsSAnZWagAAv8UP+wbY0nVU8JVKcW3R6nGr\n2QdvGxkUFfhZhvLF6BE4QdtraJIZ3BLPxro84Al0exDRiRv1HvUgf+5Q9CIF\n3Hi37rPQVySLlrykequ3ml7wT6XDlSOz2HZYEUGFSWb2Rk8jhyH1bdarxuoO\nO/SNIXCyWedl1EsTvLupyVK5pUA5oBM+YNRNMvW/xwPClY9VQwg9JbnD6OV5\nYn7ub9k4U/oR9WuLXnms1xqe4paRcy9CJCW6mKEFIKsw2UblaNFsQ5ZlB0pr\nS9SQCGL8l9WKmSbyvGdHXq8vnKPH+vSrawE3bbWbdNSy2fXFQfzWghlg0sLV\n8sqSBk5blXSchI2dVDniIOXEGcnEclSydB6HdXKqLBsxp4b9AtmHuw+yGScQ\nDTr+iN9w40aNlU05CIzfV5UVKIkEWyrpS99Mo0ZUhR1xa2B6X/aEMM+tdsKg\n4hLN8h1dsKvBwCYBKlO8UA3XaF7GeLNBxZ5RwlDYFnwoS4GLGsEPweYB6rfr\nCNrA+cCoMr6HIhaPKSdIf4JAKYtsbXXPDG3IdN5GHq5V1iqZu5FBfeCTwOXs\nE+9jhQ6Pgmwr6c5D+MMn1miIFCElwt1kfc6CmIf7R4CZhvqczsKVSnnO76tA\nwFb7gEpGk2AgkIicMGM9WjgVE/ElQd20Hgs3h44j4DWhVRV+9LcRVkbCodyQ\n+p3Z\r\n=cu4k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"032de6a264fa27180ef96fb3a6230316ff2d3732","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.3-pre.1815"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.3-pre.1815_1601901485335_0.5334388701634714","host":"s3://npm-registry-packages"}},"0.12.3-pre.1816":{"name":"piral-jest-utils","version":"0.12.3-pre.1816","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.3-pre.1816","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"10bb847ea380dbea5ce594a264c3e4ef6a202839","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.3-pre.1816.tgz","fileCount":15,"integrity":"sha512-GyNyKro1dZfpC5WKLJI4NXIPOdhy3oAqfK58dpc53KkwKtUsefQUKaOo33EVLVFSXEmJpZq6ylutUarpmcIBAA==","signatures":[{"sig":"MEUCIChwYemQdH5QZ3nZht/3EdJNZT8PWHTJUOd++H92N5ZNAiEAw/cZ3vLHPoK4HYUcYbT1Gta3dxLADZQRekFJxnQmddc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfe8DXCRA9TVsSAnZWagAAuYQP/jjLH857WXtnlc4TuDxj\nmhbr5KWNalovRFCG0o6qBaeQS8jF+4YG8E5m8oeBJHyLLoP0VwNjRCI1QSNa\nYoUiWZBKw8gfzRadQJQEG09m502+EuKNmxI3IDGZDHWaKo1hlI2RhTajFnUX\n6sZVzDQE9HBcxSk72KYxrnRaArtVad0lvONZFrC8tc4hhkLE7Sqln2raGqBP\nErlAn1X8X64kssTNff9dulJ6aLEqyViFR4NWM+qa59UMxcJKpKr277M3yRWh\n52hgEqmumUglISdKy54fi0LSSwHZyj0DyJFkTVQbZpxNQYuHP5pQpB5g3f2o\nokefjRQJYSz5/2qMo2gifRRJgC7wLuO33demGaLQ5jbVYgXHGqnkc04988ZC\nWlsN3OFK2qhS8KV+HC76EaI2NIjz1MPKGFCT9ioqnQIJsM/z49SMxmUZs89d\nGkfv2Q/ZZN1qNCJ5ENppPSQzXSDvxGvIPaCDMBqqtrLjFB+u7bcwXYAmQqA1\nNTz8AULqwmyUPx5UTJYCRHPehnqrIlvOCcORxLKN2K0k8UIFABQMFk3gL0Ep\ntxhgYqksjOcb+gWK69No8hXYXr8/MyIiP1kH+XE2PVIDlytLbQ1d0LWOMwU/\n8902B99ODIdgheX8ndafN8FtoGAzjLeIREKPsmkpFzgTNlplNlAw0DLhTxBi\nsyi9\r\n=zo6D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"14e3ee3b98760dee8a5e305cfb52c981d1a28319","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.3-pre.1816"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.3-pre.1816_1601945814884_0.314477663985121","host":"s3://npm-registry-packages"}},"0.12.3-pre.1817":{"name":"piral-jest-utils","version":"0.12.3-pre.1817","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.3-pre.1817","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e3ecc6cfa38489b05d2180fccc171b2a96332b34","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.3-pre.1817.tgz","fileCount":15,"integrity":"sha512-KWkKW3Iy/vYVQ6EI/qC1m0EnY2M5VYcRsKkTahI4o0EXf7aCEAomyodfe0G+tgITAvr9kQlgT3sx7F+z3fduDw==","signatures":[{"sig":"MEQCIF3FbeFa21H99Fala06mYlphKCKQ5V3Ib3ZOx7OrEJfSAiBuQaJKDQqqjb+20hGkAGlhgKbaBWHS+8pDo2KXsRz4cw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffPcmCRA9TVsSAnZWagAApRsP/1xUqjVkWExKii4wpz2W\n9JA/7KSdBoMyGG2UYn/zPlxznhPy1dnzxODW7xV+w6lOiGzoU9bjYIIG7xYw\nOdS/F6ppA5hQak0CkWBZPsfR2DDLZcfGWc/5F1km5f/xA/i0h2OMz0DBCzJy\nzej0dmjx+Ogtd/ln8Qw7evse6WaPZt6wSv+2ZDJANT3R1e9l17ogLBJTqRhb\niuRDzIkg6DRM9YjckpGALe31QCN1t8gGmL19yOM8O02yYt71qXbHllBK33/T\ncy/8s7D51RupYbsWEOCi/RC5Ig4x7NBQtIxyrwagC2rUwaoBER0WzSBLY9MN\ncvbdUTL8XL/CkMD8CzcSdD95Dt3o3t3cjyfStEAlQHAFtDeHdl61IjW+kVcs\nEUGgAK4mO5ihicjbfXDjXCiHO1VahGDWG7zZzZM9j9B6bbvdaUeTLvKxyMIV\nO7Y/wEH8iFsDd4XGczRQd2rBGd2NzJyZeuMKE0Djjerf1C2DlcVuY3WVXpYi\nfzxTE1Ec55WMdsC6g5wdB33rYAbLCYp9Rsy4rE8FmT7Xby71rMLlXIMQJHH/\n3OGz8Wwu26EP8RXqme+dLaq2OYHbnNatP+f3QGp5C1XZaVvnFcS9SMKTlnS7\nZfSVnYoWUbkfRrtT8+wlK9alNhy29IK8TSmPJRdtpC5/j3s2Mepfgkdlx/QM\n74zR\r\n=N8Zd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ac0489a1f8590468d3b3669d9246d7fac1eca763","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.3-pre.1817"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.3-pre.1817_1602025253948_0.42977074930891557","host":"s3://npm-registry-packages"}},"0.12.3-pre.1818":{"name":"piral-jest-utils","version":"0.12.3-pre.1818","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.3-pre.1818","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"449ba96c8c08ffed08314a1fffd344c245af620d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.3-pre.1818.tgz","fileCount":15,"integrity":"sha512-9RBenLMLAMdFBlQaGMNEXe8GeAzXP4eI4fv+wB/cSG1pBr7vwr3GAUO/EdH/J5QHGaoQW6GhpT34Y0Q6vEfkPg==","signatures":[{"sig":"MEUCIEC8BzdTEKRXs5HP1jfXaq7r63zemKIqXHYmv7o8HJNZAiEAiJ6ubTvpxgCEMIJHoODP4QiP3s5ygc8UQadAS9qQGVI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffu2kCRA9TVsSAnZWagAArYAQAJA559hOVwQgedX1TQqs\nLbbluttXn8R1lxAxGE99GD6Iojjupikt4ErlB5eAadHKhmxAD8KcBNEMvM7P\n9tfAljqNr46n58fhJDOaEmF2OBLT4fuCmcSWqrVLgr1wu2Y0QxI3jGGQcbPC\nM2nZlS/NiRUiRxUtLM/zjj0FoRGfKiP8HFTfwWADtTYmWHOoUj2HTK+kJcxb\nxoSSsNhMFD+DPXBXZhjgwQ7lkx7MQF5D9qV1oHYy1lLI0Smoxi3K1KvTOoQf\n9unwBErbeKFAN66gQVvy/uMn6rMvU2zeSLsQ9FEgAOsRpGeLGWcKJ22/OA4X\nwWMAB0bWdgPsoxVje9Fqi1gf2igIKieuvt3XbMCeSi/OMRkfin/Ra7/zPQj/\nNqvAW4jnf9YazckaJC8w3p4bwlJLXQlkx7zs945ZVIOE8SJtmZEvEIRM8Tmf\nsGtazPaX/n5w/NdR+ZtXuxG9I3NVMkiIWG28LrR/+GoyOsqiSkAgTqVx03JF\nvwJ9vrmLwSDR1aR53KoedLY9ThIrt6q8THGRTxRp8EyrfJGmSUsK7pdUKasO\nxMfAIXtYRq9o19R/IPpMkRoSGBiQza6bujx6E7ApiP9bXiaDnQyCT4XGiwRw\nkRqf5WVx8XheC8tyNiuc4sH/U2C04FEEY2/rOTNnrvtHui/HTAtLyax6cpkg\n5QHn\r\n=Zsma\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"fe5379d49d1992767f3edacf4098e3613386a71e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.3-pre.1818"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.3-pre.1818_1602153892412_0.6314103816750294","host":"s3://npm-registry-packages"}},"0.12.3-pre.1820":{"name":"piral-jest-utils","version":"0.12.3-pre.1820","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.3-pre.1820","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c1ff4caa300a1798bff956442ee63de8927bde6f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.3-pre.1820.tgz","fileCount":15,"integrity":"sha512-T3uT3VJ6i/jQloYOxeiGEWk5rMwpyWJN20O3/Xl6divBSE7IfuZ7a65itTb88vFgd1+kS1+VE6mS+ppJT0iiog==","signatures":[{"sig":"MEYCIQCrf1Mx9ZCRnzpKuRPn2b9qPB0DzBTRJxPeV1BIvfCqawIhALAxEAZbFZrmxQ6SscQFy5knqlQXtnOIagurZo0oIp2j","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgHu9CRA9TVsSAnZWagAAt+oQAJw5R7e2+HGsngDgye91\nxlLl+6op+L5av3u1XxlFE8g9EegwXwck0FqCxosVmfanVtqdQ+UQJ2OxGMHS\nmVj6pNAwNAbgQ+jOCLDTHBcNoaYwvCBAJXFYx1cNbnaebxWOug03tthRIUEs\njMS31E+kAsaYqi/It8NsuRM1kEHiVedfQf1D/yRT58JFxnBEHn0txF7SVMlY\n99395Z0hNRIy0w183g6fiaa0dCeFu8cpR+M27LE7QnUa+sjQLzyYlhdAyI0+\ntHLpGojSp+gIHoRnwo2iWic6bt+jojAwp40686ODh05qaA6rN8C9fRlEf0vx\ncyH/WUg7mYyGXs9IiiX+Ck0UrY91XDKiJLg1WxOzw1VQPXSPynJJJvudSh+N\nUonKo89S/AH5rvMCBJatDDK0xvFo/oc5Rh5MUB+QmoqpCZUk6600am5Vz7YM\n0QelHhGXyeaAwPhQIhU+IDruW1N4x3/ZJDOsgq2S83SIW17hYWCW/uNE+oR7\nD64SdOIbMX7ZGNwnVbaCilAxIHrMAGJiSazbKuKhLFhtYpIFhDw6jXEU4JZT\nfKt90fadDvbE9vTp0URMSJMIpiLRoN53jUfPL7VON9o/67cDfbzEEIbwtnzX\nQNzAce8jXWwzEVyjtmDD+8SfzDwY7ixP2HTCVYbBK9cujlMgRqd5Fx70Z8RR\nidGA\r\n=gikP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b1da7ccbf75b527abc897a8c5d6d33c63f156774","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.3-pre.1820"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.3-pre.1820_1602255805404_0.8090979970785681","host":"s3://npm-registry-packages"}},"0.12.3-pre.1826":{"name":"piral-jest-utils","version":"0.12.3-pre.1826","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.3-pre.1826","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"14c886768cb4620b8d838fa3b9fc771ce3b908de","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.3-pre.1826.tgz","fileCount":15,"integrity":"sha512-UQ28GUcPwwiBjUDCcpOB+Pn4x9m9LWIje2fE4I9aMpURWWSD3/B0C81g74qVrPSz0hoXvMCYf3Ek77HcSk6jtw==","signatures":[{"sig":"MEUCIDecuF1Za5YaREpKgubZRVu9zjeP26hApL82RvLhxc4tAiEA1C73yHze04mi7XPO39KancA77Hc1PBkCxQ4UnRXy/cg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgPH5CRA9TVsSAnZWagAANz4P/0tGuN+0kKefKHonhtKD\nhOAxWITqCE1/e1h8Oi/h9WSTURkujHqRWnCxq2gPP2a7Oqi7bzGCvTa1XgTD\nrKV8UknqZjBOMDA71aSy33h9GleYiUBKaujX/f2B190c8ykN7Uw7ZUDr8IWR\nlt7ktnhkuyxDhKQNmmqteDbrQNcvdKBdWMfqrilz38vpr4Fbqx7WRfDNOt8k\n2B/wKJ/o2prHwlH/HzqUkzwmiP05TdGlv2e4rlRVX/Dr724zrI83xX1GfP8f\ncKzB0Ou4tl7yYAIwxJRkIZESas0MfOWAwx3nb3kLgUWoR0v+rgLmwrSPWgj4\nVPt5z2z2AVUd6a7OAwy1Bn/opPzyOn7kwKmctDKozL8MK1nWEfA4M2o2j5AJ\n9Krc0GKMKDiW5hl3r/v6k9rQ19/R6Xttfegt5VXF0tccGZmCK3abiyLfjBEm\nx8AGsCXb9KNavVk/5NhdWV8UaOp7I7cijjsCvF5C7+VDqNgWU8B70Snh1diB\n7BhDrcQKKuLAUhEqPLZ87EMCi+95TGht50Xuluh9Ig7vkSeMImbK77Ci6euh\nVVQaBb2wyx8+cT88xqJj4grpM5IOYwifWrXl+TJ4zPs99hRllLjHxMBLBri+\nTpEza50L4N1D36RVwK+UJNQSxWiqy420YC3ofHwZDchvdwmHaEDTeTj5sJPm\ntfMc\r\n=tpYM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f986877e0ddda18086ecc83902118def1f43140d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.3-pre.1826"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.3-pre.1826_1602286072729_0.36748426153409675","host":"s3://npm-registry-packages"}},"0.12.3":{"name":"piral-jest-utils","version":"0.12.3","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.3","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7060b3148b30d224582738355d6330fc8c945b29","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.3.tgz","fileCount":15,"integrity":"sha512-Ij3AVWDL36hn64k+Xzb6M45osUG/WRrLOvxxws3hXuqD1oX0DOuxYq6L2e5OQacvcwJaesZJQZouSls0A6nQ2A==","signatures":[{"sig":"MEUCIFx9rBYNYmCJdgAvuSIlmNpeh86niZmOuq4HWYSgb+4/AiEAlJXq93zZDJTXVENeYfQYzm33C3V2IbCUq/fWFpOF2pU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgPp0CRA9TVsSAnZWagAAAZIP/iH6DYZcIrwQrAlA0e/+\n3FkbJKhVagNJ1Bc7reUO4HO2hgl4ODld0vNMFsfmqmdKqqsN+CqJ5BacW1Mm\nT19AcozGcpEUZUvHxShoM/JvtFrJs5sXGr9YorUw3P+bt7DMu0dCFyquHspc\n+uzzNSRkxA9R15cYqbgHdwfYFZNHvMW6FZtJ/SrFQKN+cC7FN8ojOLkuhi+k\noPiyxwTniLL8klVdmXhdZ4YpxewHy6dOsLwnLyidWNeB2D0GZjZ0iww1KJ0W\nwpDPiphVHfTaOdUkTP4RStASUQZOBQ6LaR2KO1mRj/IkLPUoK1rZpLkKDn4d\nmHypjztPdP2Ec8FY7liBe0bd1k/4+aJKncSRTFzMSccca3EVqqc0yU4BIRS3\ndRqykn55DKVPmwFXx9lqDDztlLkQLYsgVpttIAS1cdk1JJ+4YKHgoXs0Ptua\nS05uqsX+VC7VIsmnNyC27wYKmb0n+5wqsdJW34qz89Mk6XW0COwmIMUEC35U\nvWkxDQm1CeXP3uGIR6Vc8a8I3agwhvOL24utF//k0bmdybRIAqNczv7epp5E\nXDSA1/4IhBIbr2x3V/FgaW0y+ZNOumXEm4W7WssZZEHMv5CY7O/A0Ofx5JEw\ny1MBt8MyvjkM9l3vJhv8wLIrRU2cs2Em/QA1aSRhTJHSYixtiBuZ1zy2uAfF\nBAns\r\n=x1m1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"64f9178b0eef6c6ad78f3aa6e410719dc88f3ce3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.12.3"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.3_1602288244005_0.5378985967108041","host":"s3://npm-registry-packages"}},"0.12.4-pre.1830":{"name":"piral-jest-utils","version":"0.12.4-pre.1830","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1830","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"457b1d83fba366d675dc6c2a9c6cd88456f935e7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1830.tgz","fileCount":15,"integrity":"sha512-c9wYQUoMh3TITAuIQlyQjgNvCxdHL9ac7vZ5qi7Kc3UTOH/KJsFcgc8ZLqcCs4Cqa58J4gIDK5CWpMUqvjPTwg==","signatures":[{"sig":"MEYCIQCsZEwRZ1hXQ1H/pbEvk4iHNdVenWhXLXcJHZk8LaRKxgIhAOG9DPiSg0UT+uzFD9rySw2Shd+KbJ7NGf4HX6eV16L5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhWZwCRA9TVsSAnZWagAALFMP/2Nn0TQODhpaE7uGsfoA\nLIdl89dG2JAM0LtJPoNlaR1sHWKqhNkOehkBZ6ILRSpgCBw7maDQ8SiXCeup\npFFQEREKqsuvzEW0qN/TXc1dJtw/YyXqbFxSqDKV3B4iaczrwPPPzQCkEBQm\nEmVp1D9lGYrt4Y3swW3MZnQLYK6zlnmpOZG4joK3TMMHT3fM6Uxb6tZRA/Bd\nt0u6kIfS+VZWDMST+IX2gc+rAJGQGzKUTHogYiTIqGeJzoCFnJTAJO0fqfrB\nsB+gZeh7r32DFBdey8ecDEsOgdxuie4R/rtID7DAhEABPXNRrTuhnFYHmIBN\nBwwD1tY/ZG5fANw6CEAmQ812tGoMlftJuzMo56wlG6DpY/QouQ0hV5HhBccg\np9F8CFvfFeHLC3h9bIfI3VMcbSDjP3Gj1HfnlW/DdO7faM+gfaJvyMYnHevr\nLuGowKUWEvnb/XKu8MubkezrEjo9xmsn/BukOqmbgzAilieik27gCktOTnh5\nHWv1vLzN52F0UeAU6WIEshaSBYhS8NFftmrR4r/vF4jtofpsCG47KShze6La\nBnYtFW7h7Vug5FnLj3HVaVm+9CvR2zQT2mGeyfboP4y2kuZ/rA/2DYFos9ag\nebM0bYWPzxiGochk8+iFzITmxDiyVGIp7kdIly7e9z4PTIo5FVKyQNH/x11O\n2cA3\r\n=iaWV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"c0b0d25095a1f4d811b837a1adaee65a4fdba445","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1830"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1830_1602578032480_0.7210067161366773","host":"s3://npm-registry-packages"}},"0.12.4-pre.1836":{"name":"piral-jest-utils","version":"0.12.4-pre.1836","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1836","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"71fc03512444b419998fee6b98f3b535a183630c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1836.tgz","fileCount":15,"integrity":"sha512-dg7Et05evWPkmALIj27Ny2Sx1SVLxISH7OXXJfyWZzNsNeYOlXQG9DfdVw134qaHUESpEa3KD4NyT+hgSUn+3w==","signatures":[{"sig":"MEUCIQCjBaftsCmGX92JqKJGKw6KsTnY2JTVopmy4N36+jJtqQIgAVmpcUcu7XtltG8iGC+hFh+hdREW7Q2tfJUFMsMjNBI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjqi3CRA9TVsSAnZWagAAafQP/RJgh0uC4Hp+dvF/IJiE\n7aybAzEgJgFeVL6zcST7V5b62jq+4lHnsMOZFFyUo6LBdYDV+WgqXaPJN/qI\nU5ytwnXJolB2uGIjT+cJpedaUISe5jeT7sIecKwyNVR2itGGwl730GN+3NsN\nfQF2FrmuvuU44AE0ZzFkZ1IkrPsm++cOVU2LcsqI/NWyqlcH2MREdIGqQPjG\nskwrVich1zgsFgP7IU3gMVIMW7g5EhKefFaZ/wnfMNEqRkb5qO9d9cTZKmn9\ne/+T1eemJqhU+0sfrLnsqjNByCT/98I5rOebs7Ujo14E4IpINKLO8N3+/Ryc\nVbXChUp/Q8f5gNXebeHN7cnQsaxGNOEOBEf41OqvqOfqhwUOud4Kk206j/cb\nDiQQXNj5ckGnEXFnoJUgsZv7p3mhc8kZbR15SJju3YRDB4SDc9l8noMqoxap\n0kmqkbbPG/n86jtjB5qD+7vi77C2yYZcbn5mHt1QTp5OHSRXJKEdtBV+X0yn\nJH51WDyaqlBc4OcdBSd8NSHnWqhKo36Pfs8NySA4R+CTOuScztfVdbS9SLkG\nhBriQhAECD2b6Iel8H+4xyK44A+3LzAHkwEe0Br9nUXfg+cTirKMZeGpZ6b+\ncP9QXBvFKvDkHfjZobhJEKQVO3Q+uD51+YkrHt8JAJc9U2/ovkaUnyC8ST9f\n2z9R\r\n=+L0/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e7e6de252d0a3e1356b0b3e644a3101c0e067228","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1836"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1836_1603184822693_0.7052733173503638","host":"s3://npm-registry-packages"}},"0.12.4-pre.1846":{"name":"piral-jest-utils","version":"0.12.4-pre.1846","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1846","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3b90c3f5b762589c06135aab9995021556638cc2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1846.tgz","fileCount":15,"integrity":"sha512-uoA2Hnot3WNyQtnGPNZBUa4IArIiwk8hq9kkTb5ko7MHp1RcIeE0GatiKl/f+7sZAV2Yq/leqDv1VaAhPlpT+g==","signatures":[{"sig":"MEUCICr4ReUlD4OZci0zYjJRz++hz8OEg4wZQnnhUyP7EPEnAiEAv8ZcBVWFkWMRjscrxCwdoNl/qogdkDYzXmKLklzPOYY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkJ1XCRA9TVsSAnZWagAAc4EP/jAeu3dwG5/CcV170X5P\n+UBJ5AujFG8buaaSCGD3hCeTTg6kMbzW4/JzGi+gartQVfoAJfEiqIkrUimO\nO+fxaqigMM7wV9wG6kY5OouMx1SVrsrR+K8gAfMEiVQzICne+y1j9O1cqd6r\n7iD0nkAScUtSOohgJziS7rk8KCtwrJb7s+b+2W80MYh6nblrjtzc6OLHkk71\nagZq/ZrhSzgKXP4T3Dj7ZvJ3Xx+ycTLDtEEhZcluJLixkqGmATONPH3zOAlm\nSMTSqDcZJxf4+6Yf9p3/RIhMqILmRFMciE9BtWv3NbMUDNWc/viHAlJnQGRL\nycyQwxdPofyW7xkjS0R3O9HSV4lazV+TELjNR0ZaEUvM5biSZAiI+WFoGuuM\nB3C4r+djPgLQ14X9kpUlu4Mlg/SBnyZ6MWTR/wpK4a7FoQ/52JVO3hDWUlQo\nBlbFVYXr+Au6f0G3/5qAGOkBiPZj32lxA6X4RLOrLqWVr0ZiYQM/bxG0aSHX\nCiKM7VlLGbWkrAVUAK4C7qwoh8CJWWnBW4BujY6SoxMsZEtvOcHLdnrPNEzN\n0YB0WUYr1gfmul6CR+OoS0odd/DrjKztC464t/4Zit3L1gPFRj85OXzP53Oq\n2BX35zscxSaouUuRysZMupoW6u5fJ2VRbH1oCjsohTw6e4bo2tWiRoAVSQoc\nt8Da\r\n=kTH+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3a062a650d5956c981a353ebed506e3fdfa22025","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1846"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1846_1603312983099_0.28979416743698283","host":"s3://npm-registry-packages"}},"0.12.4-pre.1854":{"name":"piral-jest-utils","version":"0.12.4-pre.1854","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1854","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1aad0fedc07ed708db411063480429ab5b2d8127","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1854.tgz","fileCount":15,"integrity":"sha512-OyqqOuJfhEWHm8rx9UeAWfLQgCNxqkNkDGyiZDPhyTY4mvBhFotIrvTcbd03xD9DP3wTQ0JVUIt1lBPZ7geh+Q==","signatures":[{"sig":"MEQCIDCaahTAsKPerVfopFIdH3P/vHBK46upK0NBTlZ7CGaDAiBeNQbJxFGA5zHOGY69C2mQyrXsymb3NvTak1a0/IE7dg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkuGgCRA9TVsSAnZWagAArXkP/i2dLjKOb1pR6iFqS30Q\nvrC+hyJF352Iy17RwIgJwWBciMP4CwNcbD0bcqUwR5XLuxZt1FjtTISKLw6l\n9OY99w0LHxFS2CpRgLPVNP2No5zL/PLQ1nsBPkXsG4mEl+KBQOxL10411JoQ\nlpzf6jSh6GRIy7ngbuwQzF4IZGAvLdfs9jlSJQjjUiciR3+Y8D+c02OJe5Up\n9Nr4B7I+6DwCytSrubHt7g7yyAKE7ymHx6c1vTQKiuIZhR6GeU6ZTl/FH1e9\nuEF3nP2R8FrR7tHt38LrD1Bk7VKakWQyfg9kTNplQ8+LCu+IIpTrLGNMpmW6\nixekG4eWo6IYeYONu3usKpcogqpwmfriz2B0xdYEL0qd6LlTcqOex6cLBl/l\nf19yMFseQdzrp5NwzC+VmNDN026PvFlDg/3r0m4xbUvnzNIlEeXue96fv1W1\nyT96H2OD6NjdxC3EXe6RBu5ou5Yr/oqA4dYu2Ocel3/YYAKVNWGzM9B7FEP6\n3zqmGHXLFUy54dDc8mDpEHAOP9+zNGZAzfYLJfgPqmxnKRTI7Ey6fIIr7y2v\nQkxSvq0rxlSg1fdaVZaIQqBSI0whUwb5Vlqx+k/4Hy0cE98uT74p0L5i1vYK\netZSDzUkalEXs+tB0anScADRiCoJm8llqVC+0CcLZbfkF2ANYregFT1J20G0\nMAcu\r\n=bpmL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"771c641f18e6a3719f3121523261236f7e55dfe5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1854"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1854_1603461536391_0.5956342119300913","host":"s3://npm-registry-packages"}},"0.12.4-pre.1861":{"name":"piral-jest-utils","version":"0.12.4-pre.1861","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1861","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"809401c8e7ffcd3d9777389e85753cbb85bd2b75","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1861.tgz","fileCount":15,"integrity":"sha512-isgFlwjxJYf+tNT8evNzT1ssqvYGjQeWzv1OZJ2u/gUFXYzfJ41BxbxfXa1HvHPdsCBDC5KVQIkky0ZJ9e4UUQ==","signatures":[{"sig":"MEQCIBWTy6Cgtgn7V4C3woZ9M2zg7mBnpJfO4eJ2XKm0Z8DhAiACm1XsN+6rovUCUOwfpiklkM25FoWqw1ySs/VBTZyoag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmKSWCRA9TVsSAnZWagAAbWoP/35PCZayROWygHlTMV6d\nwExM9gplx/5ud8wwH2gMcQVsMIeT7XJvkK+gKS14JNLIEVMYt0AQym3t4KHv\nJdoKWiDXYCFNTM2X9S0LaVE9r3DwO3VE8hUtmaSvlnxbS1W+8PJO8jCHIeS1\nhhb3ZCYJuIo8PvfZrq1kVjhc5lyny5yjcKal/T3731HYGvNggv4FgKtwOIRh\nJis/M0N3ibYXKvI+VDue4uQVe4UbML3l3n8bBomZztlo4yKa6ZzZOD3YBvZA\nUgplpkUzgkpvwP/x2iztsmV0qtsGORvLha2SNCZsmwjz4K7pcP+PKY3rT7MK\ncvISK7QYQzEpqb5c85eI/Lpc5IrdOYAdKKX8Rw9cK74cqo4MosgUV1oPq9Xb\nL6DyWSvRPxWKzV0RkTKLdZNEkrjE4hnQru2JlmXsT8knAKXCHIUrF4Ed7jXy\nuTxWM6piAV1gCRyuKj9hsaEe5yW75B3iT6SGkstko+O9EuyF6T7XryJRIMsC\nLI3ooLQXUy6fPcqE7ceMNVOMmEHJcEWO96Bs3tV1fP0e5tBMzFwRSn3ps0wD\noe5LyM78r2HzpVnDaOdfuHaS0ReCMGTykv24+IRJt7a8718WQmeGnXy52dy6\n3I9cRGug+sgzwMV/Gz4Hmxhj9+2/iPojr4f++RNU0+PJ42cWSBaj3F20n0fC\nLq1v\r\n=BK/q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"6dccbc0749fa624b9528c4bb74701f76bded52e5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1861"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1861_1603839126370_0.9991096222761682","host":"s3://npm-registry-packages"}},"0.12.4-pre.1862":{"name":"piral-jest-utils","version":"0.12.4-pre.1862","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1862","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0087a996e76b667fcaf456c2d4706b77a3f9ab24","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1862.tgz","fileCount":15,"integrity":"sha512-+0qj/CAqhvXD2+iwrKmfj5wETesB7PmlZkVQc0iiv6LO6E3BRhltc9qlogVmlGCR+nN0T6H4K3OsT2aBsku3mg==","signatures":[{"sig":"MEYCIQDn3bk1C1D5bN/Q0pwKMcohe61VpQbXEM7gi7ojLe+RPgIhAMoYMjse98L1dgBuO1IX3Z6eAr5xa7QjrXBcE3ceiToe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmW8vCRA9TVsSAnZWagAA6ccQAIC80QP/h/7Kji/GrbPW\nszItwTmnYmLEAU8GRNiwo204pCTgWredOXVR8ijmA7Tygk4cHxR6kJnd2qYl\nW54eOPV4TB3moKqyIoRxN//h5r2v+MspHugQYO5CCPH7XVV59NjG2xP82lpJ\nh3JMV1MfGH3WqHGK97k59NifMEPi1AuvSIA01xxP6cSG+GQi3mqSoO77ti6t\nR4LFhiQ25A1NpY2hnDy8+bKJNplKppNgM6UFvCA5n6hcLyuI2f8Kx+YNFN4r\nwIOG9u9puZ1fLUfZCeJUx3Dazve2FS2jgY4aBCKOzFUG8i1rcjGkKL6AqIN1\neXYJ5PnbLqbpPNmRc9pQHmubHDxBSCtO7ghthRaWtBujtqDtrCapvoh3rutG\n2r/AelPoEH9OEDa9bZ75sWKQs9e61ts73usrh+H970ozfkMkT40Zyu08BEwf\n+Grmc6vaGW4fM2qVfhFWZ9pMpH7qiNZINQcrlr1aoNsD5vP3kc6MOsnTugXo\no0uKe1M6+g2uVRwonhTq7T3P5SHwsw9+v37x0YF8ToG/tErHdEByBUc6h6cT\nnp9QzVlq9+rD8N/F7LBOz0nuXiSV++BpLi90Ze67E/2WBmae+fxA+IyuIT7m\n+SY5faiEvQrd+Mbpzt7gZrYZYicOdP+LPDaABXo0bPXCoQvl3Z/UB7NsBXlV\nog2v\r\n=f6Lu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f88e40b040a1cbe4c587f38c2ecee966619290be","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1862"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1862_1603890991213_0.5801897617968728","host":"s3://npm-registry-packages"}},"0.12.4-pre.1863":{"name":"piral-jest-utils","version":"0.12.4-pre.1863","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1863","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e3aee71c9fe62459e378d507de2806412f0fcc2b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1863.tgz","fileCount":15,"integrity":"sha512-wC1oOhdZkiD27go+4I0JYLlpCbTzHVRkI3pJgof9CpPMfwUyld6k4/dcdvyWMjYm4O7fsJoeGbBwX37FjOBjhg==","signatures":[{"sig":"MEYCIQCSvGH6H6zVAicSLQvlpwD0YJ8HwQCbW1NHPD7IfNhuKAIhAIwJ791OpvyhyY2IuZEHjos1Ip9PmgPfgrdnLG1FLbya","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmZmZCRA9TVsSAnZWagAA/ecP/2SkJZEMwNoXd84+f82r\nevljer0CeOjr4xXTkqvbKTquYLMEiG+NvLabPdZbqQXrfzKDOWhFlomL0n4n\n95Fmdegs03RVebLSl5Fvo/Gj9Sj7f3uhXbzqExrveM0UJrngCacIJF0y/Tyg\nMWCYbleEiqaSFORLAF2BHqCBgxkny696zFbc1pQYbAMzi7i28rJbdvvcyQEM\ngnv045P5wRMVitBlWGwn94YfTjCp+50p9I1jw1bUkWE3wDEvHpF6BJXI7Kn6\nxYli6WPR/Qv64vU1Hk+NfibcABUjEO1VQBTjpClgYBEV/UFBj6p3pIR3I2Rw\nANiYN+TXdpLCreh2OxSOZjaJHASMgzl76zwZgDWaWPRumnqecmFy1o+PwYhH\nxUHC2vqV1rZFjRnLMOa5oWVUiwMgofxT8YcoiooApinr2NJpcF/ion2g4EuU\niW2xQSERTlZGHGb4wqzWU+robvSqs6HDwIbypgBGEM1CIWAcEf2P4y4A3wlH\nTcDsQwBPjxWEUbgzx1DM+NLtCvSagw0n7nmutqiCR1GJ+hGoGsGKw+4gXt2G\nbOJWgC5EcMCdnh3UxWgg9FP3nRb5XQWqNxKxEZsw9N//k5Z0Wo1yNpoHzwqo\no3Tov+jgTYbwwBDA6HiYJNC8DNXjZ6zPXuDcggMtp8px2n2mOOlXRsPDJgsZ\nS8IK\r\n=xyq5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"5f65b95a9547e282467a4811b32b6d76c55736d6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1863"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1863_1603901849030_0.5536146418565238","host":"s3://npm-registry-packages"}},"0.12.4-pre.1867":{"name":"piral-jest-utils","version":"0.12.4-pre.1867","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1867","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d3c7eaf4756aba10ee48e8311c0c108588ee0c75","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1867.tgz","fileCount":15,"integrity":"sha512-l3PV2NZats02bvUgFwB81W/MMsFiN/wtt+fHNffGdUB7tFNNCfsl+K0DFiWMLOX5OxP17sCc6XAGxZaUd/bG/Q==","signatures":[{"sig":"MEQCIHkjKnfgdyD5kxs9o8NgR3Ggr0WES1S+mfiP0sWdfnYHAiBNqIc6IqkzciPL4ApICuOwN94liP3LUas8piL89DkEDA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfm7xrCRA9TVsSAnZWagAArlYP/jv7x0zQTqX7mzwC1857\nHHOji7qaa0tt76nq2dimGkdFqMQjlSggu2h2X2m4Qg6dCB0ttkm6eJRtNxdI\n8AfWuXcVF/n9nBHiCFTUGSHcCfh71fDrhfGGedvhe42UBHMSSSjpPggAbFv2\n4A5oSGZ8ew3ovPz1LB7ZJ56S9WY6FMFvtjSvVdS9pczUiUHZHmRxhctepgPD\nkTGBxVczpIkP8g8yynTG3ksBRHAxUFIJmvv91NlM1Fk/ZNPg1/gILhW/FoFC\nLK1u50mmu615+CfgYUEVqTPJW0og5s/GDkUurnd4ypAPHsHmsRraK7NcVkFc\n7KN3+Bq0s5QXccjns6U0hJOfIHGwoNWUWg2qWxBDcxEy5Lz6befiTA/KMbpe\nvHlj1W7wZJ5r9IlitnY/MOemt/8reqqgcwQTsQKuOqsyWhE+KmzWxOc1iYYe\nNRHE7mJZMyRYlmjTagnEZIerjdXE40tdhYgY/Ao6l/UMUDusiJkLlxsEtVQl\ngah+Q0/Ckk4U2rJ7VD3YL/ZDhD/RDqO2nWCqAfUwIMt4cb1Z4puF5p46ENmo\nBGyaNlHDoSMKXxkRCUQhKBPQKT67sKt3BOeWp3EN5q90U5eP51OruREwK/e0\ndnNDHsk+JyBzpXYthhVaZKLUYfCXvlFNrKBzmQ0mKifxrA1uqSLt7jwaEf6G\nEErn\r\n=duYV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"c16b40a7f662e0937280fff145bea0a4f59e990c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1867"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1867_1604041834637_0.191251303573448","host":"s3://npm-registry-packages"}},"0.12.4-pre.1874":{"name":"piral-jest-utils","version":"0.12.4-pre.1874","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1874","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"69ae34ed038c33489302c8c347bc9ce5c515c232","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1874.tgz","fileCount":15,"integrity":"sha512-UtfnwBw35y3f53JUMW4uvp2Ar0iW8UHRSp1swP352E9VQhVIOWJP04asjxpn6TYQDwEsH1inPj6DmQHfm1vihQ==","signatures":[{"sig":"MEUCIQCw/MyDXJVKXqwT2hUBTFIPU4qFvDBJcD1JxiUyYkHEtAIgM/BbTWiC9u/+3ZOxy6wXp032pVnV4I7ggGG52WDanBA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqy+xCRA9TVsSAnZWagAAR5wP/0aKuxZLisVrUeLYvChD\nAgN1GrYXD6QMuld8QBxA8+K8eWmvIQczHzKcEfgwqTQp6dumBvLgAMWwDRGD\nxzoaGxTdVH2EJ6+G/KAhsflqK7QdnHTJuKW7CUmwgsNIdzHmw6Atn2sqHikF\nAty+UJ967FqGlGRVPwR3zDcyA7Qqyr4wNI9DSaUCt14muCCv6hdGOVTFz+mz\n4QX961yLG0qEFvtJu17LHKYocS7ZVBZmip/NgWe4riQ2PEAgoduqgUE9b0eT\nZyBJWPAkrawqAH+ylpBjSQ9UitFoU0YAsAPeYhTLf+3Ym5loPiKw4pMajXmX\nnOGDtoyvBw7pesJk6eMebn6ZVYNLkUV/5lZ3hKET5yeUHlAzhNkQ5BLa8kSP\nwLVSlMMuJCpYYinQxELh2GcDz662Ox1Mh22Kp/9B+cjvWExhtXtoMPEwcj/x\n/i2P4aiz3H7HTT6Gd7kkKODOqiHUUdmEXKWJgOfJgXDI4QuvJ9C/g1iG+crk\nn+VRq24Q6xFkv/bxYxzTsM5oSmS+KUffVZceEeVguF/Wu/FP55+H7D5Iv9/a\naxVN5hrOahrLdDJP0JI5okw/cJgz34cthpI9ZNH1Jop8/sqSJiy4zBGKyOpZ\nE0Z3yWa1T1N1xa+h/Cp+GkQZ2BMOYEmr1Qx4SgR0r8+yRDuka8S9EPIV7Ad2\nEeGN\r\n=lZfW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"fbf8f516b0bb6e3e5c4bccb1fb0b2b59b9949e38","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1874"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1874_1605054384611_0.34623124911041603","host":"s3://npm-registry-packages"}},"0.12.4-pre.1875":{"name":"piral-jest-utils","version":"0.12.4-pre.1875","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1875","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e7f93168904d58144ddbfbadbfc751ade47c7cc9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1875.tgz","fileCount":15,"integrity":"sha512-/wH+p3/PFa+xwUoXj7fDsAbQGU4jPC2RxVXc2wB2WGiGjLiHpxrSsq3SPXwJ4h+xaxZn+L8JRNT98MzOhkF0hg==","signatures":[{"sig":"MEUCIQCOdQC6KNJCG74o/A7DIX6nQqFhQzPl7drGrCyq210G7wIgX37QcbLUV0soJ7PKJ9Rw7ZMW0WtxZkZtOFDlk2SiO4o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrBF0CRA9TVsSAnZWagAArtAP/i25Pem4UjfDjmayHvkh\nZINHR1F2srY2h5gPE8/p5CyfNjeqZwnsS80cno/RiCRENUkiZuzcAXCDW0Jq\nRef65Xp6OqZVN0kF35MtUS2qNBazMeUPTVhpKKH/UTQcY+gwi0lu2oQ4GrQ5\nO8vmEkkJ3bsoNvkV7/WsFWJjFS5bh4P9ItpesxP5td2aZif8XnhBmQ8UTO5p\n3iIzdqUw8r/0OctvOMkytHl6h7ZmFxBOQZpMDNheHsDFjPrWZNP776lHyyox\neWDJc3Kxs05+0QSA0rG0EPAbk8gengnc8FX0sgZn2FSP5Yz8xn8WJZ4ORVAH\nvHmghl6yi6pQ0NLRy85b2RvtaRoBUj2vBgHgXgVUbocwkTfmTr2nHPriW5BW\n5ucMloDBWid68Y66KxTIAkz77r6s4jkYzhtYCpFaY8QMIQ0cXNILyqCRC6yV\nYYq2m8TPqi6lauwecnIVDsXinI1eDaHz2Y4EhUaI4nwgWrxU1tI/8EdYa2x2\nfIshi/7LDmkcnZOBuk2ZyMClzdOUNR/hvMlS8AAo4iAmg39vTH73aJXhI+m6\nLGUax1PRcjo792lxTWhggXyYhHT5VDR4Anz31m5uvw/57DRkBojHXTbys47g\n47hoelNexMOsIB9Iq7OowTHwvb6GV+J0DDm1958bExt3ZJXbt+gtOtemOylL\nqtTR\r\n=MZUS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"4cfade25adaf1d122f7485e1954c5d6fe2f600d2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1875"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1875_1605112180537_0.36245369263423366","host":"s3://npm-registry-packages"}},"0.12.4-pre.1884":{"name":"piral-jest-utils","version":"0.12.4-pre.1884","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1884","maintainers":[{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"},{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"12b460a371752d899131309ac3d05e62398977d7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1884.tgz","fileCount":15,"integrity":"sha512-fco9wHv5aE7dIc7hTjYZNzkVXIgRlVGGyc53etHOEzF6BvRh+gN632v0MSOlQmqQcoC0rXqXzID6abI5HWswGQ==","signatures":[{"sig":"MEUCIACCsHXK2D976JkFwet9M/aKlXptJ1YBwqqnC+WV2QnWAiEA8zbEABAXMUa7p4Rnbin7ExySOCBjibHoEanAnSUECqg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsrZoCRA9TVsSAnZWagAA2HAP/3UXXg3EfyyoA8c9Taop\nVc+iidP+kF5O8Deb0+s6X5SR9saF3ANeQj5HjeC7EBEpCngfPUDuXlEjMe50\nO1GsjLMgFcwTJv+dkKsUrDqLtbB3P6SMmdcj4FQygbBop1x4JKVrknuTX8+f\nGX2ymR0dPHV+xhbQxYpQLPnxSGYN3vhVm7hyHVzu4hGABXY/hZ1PqfRSirvF\nrSwsGxluEIID2osRdnCOxqiVg6+430X1LMA1UKRmxRJ2Vg0fW1ePQgtmUsZy\ngHdhCPK7lxzQfutL2Uyaly8dvw/6KtyBMgAD43xYoMg0MMnqgqW5Q4u61bm9\njeiSC+c5HZ+9Xe4psJuwDZmUr6CclTNNX/maapU3W6+IpN4aeRj7DasmBlO7\na1s/BzNsX6x3UiuoCT2nQvnrsAWlpa2togU9Prv96w30Lt2aFjTxcvTVuFj+\nhWcYp6ZNVgYCL/p2H3ZYlERWKjuYKb5/Jr9pPZ18ZO3yLVst/ZOsxcX2ujSQ\nILOUyA1S+HTCqGT2A36UvpwdRrgS8rS+Z+q49VDaqnm381TsqjggfQ4qvRA9\nMfxWl2c5tcnhl/9fC/msoRdcOO36YyWr5OdcZx02bxz41EG7AEDtPTVgdP42\n5cfCLg8kEm6N8zB6CyX6mQKQU6YrbuDMpY6rh3XoRyfkVF+eXNmB6/DhVzlc\nynVW\r\n=d38G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"895939b3c748be94b8b6f5b726088406c9420de2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1884"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1884_1605547624189_0.036598446439846555","host":"s3://npm-registry-packages"}},"0.12.4-pre.1886":{"name":"piral-jest-utils","version":"0.12.4-pre.1886","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1886","maintainers":[{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"},{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1e1081950713bef2d00b77f4256207bb06a2b2cd","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1886.tgz","fileCount":15,"integrity":"sha512-lNun7ZSw5QzrWFfYIUO+XSdwri2eQXGI8B40y05Z+LUO+lOM8DfleMRzVN8MDTyCyCwp+SVyOBOjZUC1ajqrlw==","signatures":[{"sig":"MEQCIGGYGKPPJrvknS8SwtSoTFgCbKL+Qc75XBC8t9VjYekEAiBw4buywlIsxmbEFKtSzWCEp6GSlpRsajv8I8t8q8oqjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfs8eiCRA9TVsSAnZWagAA+qQP/1ApSwugQg0zIvK6Vhqh\n/CuCkKQz42tYiq66MuoU7DhqHBySTjaY27YdOOnw0e/EHuPUn8Ocz1ofoxTb\nnhgLJ40G7J/gt8ewIvT/A8g3DG92Q9AzmnoPAw/wX4rJuGpRuWIUsxlDFvBG\n1fZMzK+Rm4DT5PTzd4vAM4QtUjfY0tH4nZQX18dgPvh340yx8WaghFgbO48X\narqLzGwvesx2j/U9tXhDv+4p42N4Tp3LXeMryxJ3xCiid7e8PdYx9DKK43+W\nna1JhOVUE9sEXHlGPMjU91tWnBgJdRI1U1ER7BTiHJ0+7fPS+C5tyqMZS/99\nXETeDawACSl7+U5AlaZ4TgIlVxWozQ4TTUMPmHR0HSIZRLuqpGxqBwkWRwkq\nVR3tmfFT8g7heeiXj5/bliebDh4xakKrp3NXzpBl2CgvQJv++5k/0cxulcRg\nbo8cEX/gFDePM8fxssAPc54Dp4FC9r0orT9X+rOulrIlmDPKccekF9hVbWce\n8T/ARTNb97nMTAqY7ZiUtwp/1Hb6jUGrz1gvaRZWQ8euatpYP/GBjxBLf58j\nqssXQAC/wITG/4k3auGdR1uVaw8YQ5lzAD0OqU2nkNDQGN+GjPUOol6HIXnp\nmcBuSnhyp+R8dc+CKQuB4ZFBYDiUoP/RGFUrs5xwlZJgaUeeeVYWQzt7TlWn\nyAli\r\n=69Pd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f7d1a8733ceb62d62905c0ceaf0e9162e70e626f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1886"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1886_1605617569802_0.7948687061558855","host":"s3://npm-registry-packages"}},"0.12.4-pre.1888":{"name":"piral-jest-utils","version":"0.12.4-pre.1888","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1888","maintainers":[{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"},{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"65e1853c6b77240531a6c3c1396cd207bedd8b83","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1888.tgz","fileCount":15,"integrity":"sha512-+sSqqRPTnLY5bMXfWg/+EHyupm1YuGtCugxpuL4UEaYxGA42r23oBks530/AEqZPPUOXe96XzmZKocvg+7DezA==","signatures":[{"sig":"MEQCIFT9l8Pq9VX7TWR/s5JVOGUX/hHnivNb/s9/XWwovemZAiAkmubxk+68D5ZdX0QiOniaz7CkE4QaKY1rq0ovzyJi4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJftwowCRA9TVsSAnZWagAAea8P/2t1txZtEMvZh8tcdJB9\nuwNazo5KcL+EIDnvx1U/jBL5EZinZ+42eb7jTbUArF89Dy3DG13FyNcZLGbC\n627Tkcu5ej62c/7yJ05JsbSdbIRSJ2E9KOWAG/cB13NQvnRb2EJ4m1zhYHpR\n+7rek6yL4iIFu9N0aUNpl2acd4mVbLYKrvmsI6mwDbuEjZqY8jlc/PWIt4ud\nwRy7upqARupHsxGVqjcuxMgQLVioOL+QzJ9/pt38i2aIjyg2Y4HioJPRy1A7\nH2yikI8O6uhmQWWmg6LUGix9OG/qyo4rxiPyibYd2a9Nh1AB4hhip5SH4ETO\nGZCwJ7hrBPEr8SAckyV0nxoBjyRmSAv5H71cTItP+mMcMx1PCOFeKLctesGt\ngplRkQ7zsecMQ7uzvU8a+yFFMx06rHxMGZR113xR4P1J6V5JWUp6pmOMB6Yh\ngLlmW8MCp9OQ+uM25kL4hddO/TC5s9IrMnH9DKsR86/i+2aHllXFydxONshA\nh3xapHuTPpEan6he2TYCVPAik5evtZ8W59fTcoW4F77OAfZ+E4A7uu6HIYWz\nw6FY4p6638ZqiBH8OCAsZMXKzQ7SHKrkzWMMuRN1g2u9rjtjK6LovWhEFm+1\nxJ1bRR/bDr2FCcIytlvH3tnzRHSpB0TXp33VFeRiXZaOtIcuHWyHjCEZGLGT\nAlql\r\n=e894\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ceea58fa7fafc633dacc5225dd245376e45e5a37","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1888"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1888_1605831215792_0.16434546150595697","host":"s3://npm-registry-packages"}},"0.12.4-pre.1890":{"name":"piral-jest-utils","version":"0.12.4-pre.1890","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1890","maintainers":[{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"},{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4f635c28489919bbc5247b16103cbaf4d93560c9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1890.tgz","fileCount":15,"integrity":"sha512-4vzgg4TW8dR9yK+89nv270yF+dzwQ/W1YfFUwC1w2fEfVbREsWEfoUwfT30LBlp0bdW8fAmwCahjw4a3dEansA==","signatures":[{"sig":"MEQCIHqmLNIM3JJBTuBdToeYCwyCtfxW7PYkF4tzZ3lSbmmrAiANjqyKhym+41LEbyduJ8F6Z1JLD/Wuzz+24XeP+RouZg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJft6pGCRA9TVsSAnZWagAAtHkP/0cspiT/T7lqShUNDAzv\nq4UsYQeshXjvw39vqPtpbQY/sSk41rsnNewnUSCO+reSuOHlozJxvi5+HWlu\nEe1O9kVCGwMi4K9LimzYRn97dZSecyzMQIh7b44kkS+U0nG4bW8dxdhWW2ts\ne/rozIlijuPy0tdlk2deQgoYi0n+hHrFuxJWSGKgtuSgtrAaRDpWdsiK/EAI\nfV8rY89Oj1GOZ+D5zJtYJze4WQFmqTgIq74iubnpEDN+V1/Ppb7g/teiqSyq\nX+gVKAq9ILIieMmGLoWKjPWAlcEoT6sGDsfDKZCDnsCEguRsDyi9x1AIE1XU\nErpZwHGknRO2wSeeLzgGgEdz7h1P73O8zwX4Kp/s5aEKsQG0JzqYdzEfzv/2\nNMNoVKnLqNrB+wWaAEfy4GDFa+pIY71oPKZ1C2d3dRnfeWbJTVueaH8xELzT\nY/v1M4ZR51bSB0JHK4tilLs/EpkL4S2zdYmsZ8pb7QxS0wbbYTAgObZsMzhK\nOI5KbV+oIAdA9eTnucSLYY0YaFmQ7qe1qCJ+Z9Wm7jnA9/crhxAc+2/2Xnpz\njOsx2/mmMUla1ML3Cc7Pgym1rFKn7xnZR4GTbC5mDFzbdEhO0ldo3nQwurnt\nOSV/GunZE+WOwvk7gw/iTeC1OSzFtUDtajkJ8i6KcXRG4evojIpfmKP4pQxh\nRLNl\r\n=lnGf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8af97b82a47583ff6c427ed94499df308149963e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1890"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1890_1605872197776_0.13241513173301467","host":"s3://npm-registry-packages"}},"0.12.4-pre.1895":{"name":"piral-jest-utils","version":"0.12.4-pre.1895","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4-pre.1895","maintainers":[{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"},{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ab1df74860bd368f7063c0b3eb45570c950fc9ec","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4-pre.1895.tgz","fileCount":15,"integrity":"sha512-6xvgSgkkTGmWcjJBKdlrZbg4AMwsuJOJ9E33Q9kwujE7XOwLhsXkDEf63TfPlfsTeP78t9Ry3SQIPwSz1tg1cg==","signatures":[{"sig":"MEUCIEa/4ySqfbbONnyEhKulVUkZQ402tX1glfcxfY5/Jt7FAiEAiyOCzSQMyJrBCTQ0oBUib0RG91yZu7lR0nxsx1CFJyM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11108,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuHalCRA9TVsSAnZWagAAF0EP/3I494zSe+DnRbGEHiEW\ntC+eDwK+ksIEoEr+ZBXMH/+24DkMMRBiMYZXFru33V92kDi8RyvscH5xHLEU\nu4uR42cvDdNaj3WGkl/yKw/bWaIRrDSZs0lKYedvaHoiQPpPRJOBoUetXeLj\n+IHB6sk4O2p5oVh5Z4iuSYHRDGdACG1B5cTjY9C+/6+BkisuR5dmWojR8EDs\nXOaC71I3mz4xCswYEchc+8LT/P63KC9I0E5VIMYn5VsQDRC8WVDwl9J4dZxW\ntPJ9CcUX8j1ogtq4fiK6A6fMSv1JK0zM1BFwwPo2o0a7AB1wUNKsIZ7wE+3m\n+GeJIBjzmb5B96W/v3HUPkRheEfYjBC/7HTYitQGZSgQj5caaNeqhExiVuXx\nXjyE8sR7hTx+hgMS5K5biPmbOoNH5HIFvLTn7WM6FxBxPiYKxFb3o1Eow0rL\nVLYnFcyilz64cjBI1YeDrZ8Y6qcDKnIZpI8sQnUVz60faePAE9fDAVwsX7Fn\nuTJ4zAV1lmnoRSkmxeQC8qjiyI70DKriUon/JWW4x0GGWwnjipbHiF8E2Igv\nrMaRwydpWFfTnrggOa5nN+deSzORN2ydJn98Z/8AprZ1mJgqFFakpmETns3s\nLil8tzDQZoZ34kSRGijvQRMYrY+sjnkcuA+Sm1K7+cMqB9ESj6CiWc76fibC\nbeCU\r\n=sD5Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"d387a3ed51efe2d20cc172fa9d7c64aab5a16eb4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.12.4-pre.1895"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4-pre.1895_1605924517184_0.42913005299742646","host":"s3://npm-registry-packages"}},"0.12.4":{"name":"piral-jest-utils","version":"0.12.4","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.12.4","maintainers":[{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"},{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0665abb913b214bceeac97e4a68d4f3109d5aecc","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.12.4.tgz","fileCount":15,"integrity":"sha512-9FKRqakMHKUu8MhN6x/8YaRkl3+NzdWKoijI9oedbsqfFfL5vhNKDiRzt7K44yj0Pux0MLBxdIJTIyABmnxXAQ==","signatures":[{"sig":"MEUCIQCu6/OBDaaD91sZtgDfc2coSNbV4ySRDMMaZRsvBPYiFAIgUt4aMUhazLelwqSh5XQjY98FIs2vaSj4hfDufbxa8WQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvOreCRA9TVsSAnZWagAA8qQQAI0bCMu/advegZHogvv/\nMGp+ApAQYnFrYNwND0StAL8ZYn/jA3XeB0YzvQUwenrOgD5iC4ZAe496IY1U\ndV6eEm7hns8lXfzktDZHdxsl9O6dUFPFjfUjSEzR6gA/qkXqn3XBsqcvu98V\n1QwgfwvB8At5rvd2oXOyUVosGRAQI4EnIvwXPyAUfK+yZKitsMvFoRWcWx0Z\nzHS5mXjIMsEtu4rLnKocHUpal+6m42hqVHugQRFe7nxIvRQ5b5ooPQ2Jw3Q3\nFrLCZijJUJklMrcpx9dMULJ+q7AnNI+Gxtx6XtCs8Pixopjf1Rw46HSE2Q0R\n+JxXFMSoEsZc562V3WxDAkCBdlHKqcixVlzi+AznWrT1OlhbbQC0yW33IS2T\nEHuW5uNXdhaQkkKZH+zeAhT3v/onkob2t+bVN2nkbPjN/5jROqTesTC/nXG6\nIrpoAo941Yr3l2DB32inQ6ULWds0iWlnkSVD8DPgfFfRz9HqSB2ZQEe/sW2D\nk6/6PgK7wjoPV5DqTB6Cb973OYOV1FXgwpqBgL/YR8aw7z12UFC+rrvGxwyT\nts5sh/aAHc2Q4WESgPnOCRcUa5y4ZrYdE/BQb/HEYkUFo4ZhhpbEGpf6KL2P\nHAUUFzblLG/KDna2M4LDdJa4Bch+H2Sv/CFIghls2gtuZTBKyUiGcy0n3tqk\nSiCv\r\n=Movb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"e288b5b73b5047fe43777d4220724dab12363495","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.12.4"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.12.4_1606216413555_0.3625218670639314","host":"s3://npm-registry-packages"}},"1.0.0-pre.1904":{"name":"piral-jest-utils","version":"1.0.0-pre.1904","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-pre.1904","maintainers":[{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"},{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b67d5b0dcd2f8c0b9642cc127214931d1af689c9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-pre.1904.tgz","fileCount":15,"integrity":"sha512-wL7gzi+oR9XUh/FLZIG/6Vo8/LWkATtkf7DY0hljPmP4MY5mcR8pmghDU2D+qOPZf7aFtHVcnmBYUULpBrMMBQ==","signatures":[{"sig":"MEUCIBu1UYKtX7VpSlTA0aoCo/71FO/yaz9DNVaSU4QpbgVzAiEAlu6LQ0smTT03u8uRwXJxDHIorX8VdIBUISkmoOjqJUU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfv6taCRA9TVsSAnZWagAAnCQP/3tG2Jf2PLH2Gd9g1axx\nnoV3gxgQzrtJNBBG9XN56iiK3ner+IPJO3gHF8mL31nwWb2Z9WczIUOBXAUZ\n+tAjr4M1FhahJj874PTWn9tYienPx2kg5H8+C12jkh3e63eFHS9nNXtPm8b7\nAAk4qHJds4M9gew7j6UpXHU0yw83Y+H3KtyPUN2YhwT4YrP0TJrblw6Jbdn4\nM7OHlLw9I+WR5t1I8FfXuWO1L+g1rWYTLrxIEOHNfi/rlihE5ELp5YZqbu7r\n5rQTmQawqN+Kd0ODcffZt0gfrOk0O5Onleod+puxfFfvJurAuB0YzAvbtAI9\nPoyUbO8Vpk6BWPEBdpqKdi2kRkuCN+oKJ4Ta/IGKrjZ3ZGX2pcfWkPL9g4lB\nW8Yof2MlFP8rmQUrgH1xzLRYz7+SzunmVdghyKPk51jP6ZP8UMnT5oV+OLbH\nXoIaUxU3MA4RdRbuB7gf0+81YqktO10r1gYMkPEm/loz5NB4ebW9aYkOGM41\n7Suk1+gI1B2nt+4M0OBywiMdXFQha51FlcWe6zazTr6TIBx/dVLzBXIEQCVV\npoUMCZxWK5VMZ+PEauAyC3Qjme6yrQkiX34oOmJbk1IW2h+HGbDyivsBkgSy\n7Pgl+mogTvxAIFgQ4R8jDnxKH5COioR1ciHXFK04+kD7x7uHHfmM6FmxpA+A\nrXZq\r\n=9Lzd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"db7e036e63948870f323fea011bffdc4e2e74a3b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^1.0.0-pre.1904"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-pre.1904_1606396761550_0.08660113803189295","host":"s3://npm-registry-packages"}},"1.0.0-pre.2031":{"name":"piral-jest-utils","version":"1.0.0-pre.2031","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-pre.2031","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3be15762fd6eef41b66cfe8cbe49174df14a4a51","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-pre.2031.tgz","fileCount":15,"integrity":"sha512-frjcAQIQS5Y/PVauOryRlcbPzu2vQeUR7SHug8dllonjKtHydMVqRYQ2UudHNnGk2XFYnd2Mf6Y3NZNAbskjPw==","signatures":[{"sig":"MEUCIGbCFV/drpL0Iuk9GjTSXxc/QtDT+dXs6hONaiKhJTLlAiEA+GWE/P4k6nEWKPVN83vRRfuU96qlxy2C98VJe7LyoTM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf13jhCRA9TVsSAnZWagAAQBoP/2nLYLXLAe0x7FuY5wPF\nQBdkB2/0WTDBvgKLUbDl15Ik5OD/445cPT1yKE8A3rwZ2p3/jjfJhX45xRrt\nb8MhOXqALh8G2VjnAqqkDgskGlgQCp8erGCrShvseI0VtUeAnEQlOmKRreeL\nxe7YFAHmssCasQm86d5Ko44lDZjJYjYJmKCr21gnRooCqDbEY5D5hGpBkPho\nYE2dYcve/coN3t8YCjoZXBaELjxHj31OrxGk8bgPYVRzs1UC5L3apxCUsRlQ\nfNI8hKUj3WglEoYVB/gG2iK4X9nDGCxnkI7xfCUScyWoDFahV8KL1aqXThg+\nCN5jXkP7TFh64THLUrVHGMz38/l4PC6cb5xf5b8jUadPrP0PgeqdGtFGTYh4\nGWuNGFJVR5JtS09bICkYPF/detfMDK8XvDU/v2q0MkzuYbHoPqDRuH/Lo1sY\ngNLCYw+ui6SNoW210Chyk0Ek4zMnAYDA5zVugOEdG9iyJQnRKNZWstUhwSv3\nkdSabSO+qojWfqFs1TlPS7RosBmjLfasOWj2gRouq3lw5b18S0UMcUFbTQRg\n1EbWPEu2esnkFg3c+XcVpTepCx4IANYPbsU6Ixnnqnd8pjI3EUA3mSFJrZGk\niOeo7suaD+EVtcDuT3fQbtMKGyQu7zcjVUM/rAMFzA968KSTaobGD47/ExLD\nXrOI\r\n=B4Ay\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is a utility library that can be used for testing pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing of pilets very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\n### Module System\n\nIn your *package.json* under the jest configuration section create a `setupFiles` array and add `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"piral-jest-utils\"]\n  }\n}\n```\n\nIf you already have a `setupFiles` attribute you can also append `piral-jest-utils` to the array.\n\n```json\n{\n  \"jest\": {\n    \"setupFiles\": [\"./test/setup.js\", \"piral-jest-utils\"]\n  }\n}\n```\n\n### Setup File\n\nAlternatively, you can create a new setup file which then requires this module or add the `require` statement to an existing setup file.\n\n```js\nimport 'piral-jest-utils';\n// or\nrequire('piral-jest-utils');\n```\n\nAdd that file to your `setupFiles` array:\n\n```json\n\"jest\": {\n  \"setupFiles\": [\n    \"./test/setup.js\"\n  ]\n}\n```\n\n## Usage\n\nThe utilities should be used as follows.\n\n(tbd)\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8f2629bacb09355b611d26aa204856e26a18927d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^1.0.0-pre.2031"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-pre.2031_1607956705140_0.8592342891125484","host":"s3://npm-registry-packages"}},"1.0.0-pre.2076":{"name":"piral-jest-utils","version":"1.0.0-pre.2076","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-pre.2076","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1f761b31d6bcc87d53dbd9a8d242d5378e7f35c1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-pre.2076.tgz","fileCount":27,"integrity":"sha512-3CpfLH3kb8ozzTpJP8PUxEVA4ppoe+IfKbKX4uaRDCcgTmNIk7mHQbUz82BrXN/BhsQTIG5VPM2ZLOG6sN5qtw==","signatures":[{"sig":"MEUCIELwUev6cvfpriX9EtSOSQghpm6HK003pA5dY+NyMmW8AiEA6HxDrjRe6W1pBusgNxUh2D+gbYonydp5WoUjelrtVmM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9MReCRA9TVsSAnZWagAAXjsP/3iuYcrXoyxHvIa017Ye\nVyJyoafzgt8OIEudXSFvVOEZnp+YUrhMBtU07ijLbgPN+VmVtzgC2ynyc3jE\nI4HsRa+fVNI29XAy+dPRe6xUpXoY30pqtAlIGXbnOF5P96S8w61qFvFLbceW\nVS1R6WIlEeGKqzDaFkzJW+qOQ4kwZGTt922KPa/8haRGfbjrpddxO8O1zIZH\nMjVZkqF+IlXk50hM8fzVBRv5KgKYUKzctOmBvt4fLJw9fLXdCe7lUIr6vmu3\nRQIpnn11Dd/9T0CnrmOg8QANhUFIY9o1yRXL5RPSFSMqn+F+zuHzVUJCsTOP\nDk+B6RC73HDjj61fiL9ICQ8ErXAbKBHm0slm5xxv1wShv2U4KnNuVXkbjHrX\nWSdDCTHFhpDr9uJHFaBcQT+iMy219VSgyGlJehueAoWjNj8vshqtj2lFVmJb\ntGSCtiE/PnH+iK8MbOQwp7NDr4nW3lFFReidORiI0bEcTrsjYQqXVUGKanM3\nK7K7OGY4h5UofO/5j0zsU2XfjPDKbhV2JKK5JJKPV/oMOMipo6/PU0wddftC\nUqweFkkm+Rm+SGXTtTAFr/ActJY5WPlI+4WHLP4oKrMFeANO+3fOKvU5ZlvO\nW5Qvc34uhk4waVRsEwfighzTAVLVeKOXDnmD8a65S+xyLm/GXRo5iGIeLfl3\nHdYt\r\n=r8VO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"fbd8be6a3bd530738fb342d5f347d25116e61561","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^1.0.0-pre.2076","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-pre.2076_1609876573576_0.43476696915850255","host":"s3://npm-registry-packages"}},"1.0.0-pre.2077":{"name":"piral-jest-utils","version":"1.0.0-pre.2077","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-pre.2077","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"00919b5480f21e620869d2906f7a5a920e832703","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-pre.2077.tgz","fileCount":27,"integrity":"sha512-nDJLctfUV6zftTj29tYJLjSFykoP96d/L/3rxMyxBQiX2IgiEoV56SYBHiLmy1rLMvwxooeT6eaf8K5EO5YyRw==","signatures":[{"sig":"MEQCIDg0r8iFHPukOvWiQwF048cUTk5eOJNTE7fi9IGyrDNkAiBv6AN9Bxbc1f0qDHjGCtmAFgUq58vSS93MgoDJAK9VAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20234,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9MaBCRA9TVsSAnZWagAA3lkQAI9/S3D8v69b1cRdzi81\n1hS9ea3y6ciJKgPt+SdlaxOEZu+R8e2EPT9i+t6wGyFmbEfCmvjIjZdq08WK\nLR5P0izJ9wMoGIalaSG08Dv8KOiZUYWlG0QGoDkkt26oFpsmt9B+Ldt1Jn7l\nuA5svFRHdQQP1TT2vwBOW/4C5NwSYoFwEkJWDuD0oUdnFxNGle88PnazF9Mf\nZY5ZvMlzSMRXlHdOFasPCvbAk/dK8aFmmZklAhmNM8gEmdrs8PtYid6ugk7C\nR3To5cheVR68LTo/xld+tHLmfFFYakcfSyi2yArUnx5yxeN0Fa8tDRKNAzpT\nzbokyQKXvqI8i06iCiSNTFTDcD+Tb+l9ukQUY31cveeJIb26ly80hBQmm+28\nGxJ+hAwRO3MOKxN2oo1KsKuFAa/TATDIzfra4ji1Wy9H5IWpO3vPTkoP7WK+\nIE8Bl1MQWSjVVKGu7nh0aN9QNYlL0Lb20JoWkFF3dYFvupc2Ud+BL0aaVZwl\nGkoT57epeprIjJbl4ljUB0pwK5Um2Mfjvo4KNmdqyLSh462Dbv9hxaJPGkta\n95ZEABODvUlY3Tn8UCDP6hFTmEhfe3ovaxX2ZsJIaebR2+52fUQ5ZejYW0mm\nGnsVUAxWurRKZvw1jjQOsfGz4l4kcxVnsFZjEIBaSXMrb+aEPLx8LKTPlopj\n6j6P\r\n=4/je\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"fbd8be6a3bd530738fb342d5f347d25116e61561","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"tsc","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\""},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^1.0.0-pre.2077","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-pre.2077_1609877120700_0.06903093334633992","host":"s3://npm-registry-packages"}},"1.0.0-pre.2112":{"name":"piral-jest-utils","version":"1.0.0-pre.2112","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-pre.2112","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4c79f66cf2cc921683bdb6b441fcb7ccd8fa6a42","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-pre.2112.tgz","fileCount":45,"integrity":"sha512-m5zlHoslXM1rKkP8rN3OxF4/jOC3dibieDywJ5rcbQ1oK8nfuARbYk2528/gmlfvVhCpg534FCDHe/M6umGsNw==","signatures":[{"sig":"MEUCIAaH0gfmDw1st40aM7jQm6k7G4pZmryel1UBWcCFrj53AiEA2eZ3oMHv+sASboYMMt5D7xiYFS/lusbUGVpW46Jj1tI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJFDICRA9TVsSAnZWagAAi2MQAImFkACdinlmXPzE5iH2\nThQfrSTwlbgd6pRwzbRpQjaPFmDa53R9wm1bUmJUkSnU00PV+3Iu2MfYIx6E\nYsd/XtR/xr6Lsn2Ktf0y1pCOMQrlAABC7CTTxQw4nIn73JGWQ710l5SBBSh7\nYl13vkDtKK+lWZnJMUGNISi98yjls1sADr60s0OHjPL8qPxUkKvpJAY6M+Zz\nkikTAVjiitbxv8EbetvNFJ8mmJjRdb3VzY6KckyZD5kGJRmqhY3CZDVvYUof\nj+vsxqq7P+qYWwB7tb5qc9dr9B2T4+B6SP+LFocsNIpbrLWtan7YrB4I3dIn\ntUnjJXw5h3IvwtZvUCNjOQVujBZrFNsezRb2aHhzbOhBtJNT+uwSBnucAAwh\nYCMJTXxx5pocvbwFD9IaC259CFsReF7kPHF4yE2tC0ZVM8LG7eeU/cPd7faK\nu7lQuaEfABmUTAjDd2C4T3vgEhUXqbUwWF52YlhrlpBTYSjkwE/uzZYH3bbq\nwpLAeHi5eBSakWTIlAHQvIQuIzFh0/h3YQXtuzV+4j7sOkSxZNGwIvEZ+bVp\nJeThpVZcwuf8sfOqd/B1DHkn8/b/St5xQDy3GJ2Xthc3P4Jp7D1GXvh7Nda/\nLBZIyOt1kWHSwFPSHDNzoddTv6wcCQGas9Apj+b83zhkSxpj5H+uPXJrWxnv\nE5DR\r\n=eziL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"0323d63bbcf573bc4b192f46fd73c6150dca0aee","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^1.0.0-pre.2112","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-pre.2112_1612992712417_0.38177710074960647","host":"s3://npm-registry-packages"}},"0.13.0-pre.2244":{"name":"piral-jest-utils","version":"0.13.0-pre.2244","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.0-pre.2244","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"13879ba251742c9e3415f076ad49df94add455f3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.0-pre.2244.tgz","fileCount":45,"integrity":"sha512-7hnMqZm9X8yR/yBuk3fX8CsY10ICcKH0HlgINY2Sun38Y6G8e3bkHYU9G+mz9CWtCT/jlpEaca86gmQKFupnkA==","signatures":[{"sig":"MEYCIQDkAWpRrfBeOWgUnOOjXsNqawfksM883KchwY5uuMTusgIhAPOxHIwzztZT703fAmnF56tu5N/Hh1WKKla4C1LKzSmD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgU43OCRA9TVsSAnZWagAAk/YP/2l7R+q9ahmEv2eeHZuW\n66ahdEzrfMDGXoWZeIVkd1zAm6ekWmA0kDlhRUE7lGcmlkZwg4/uAITcP+18\nwJU4XCbk2OmHYxn1SHPHZD7p0sw9RMwmJbqPifum4kHgmNCL6R9ZfbHafKX4\nKCx7o8ggwS+6M/AbZfa2M9dTJFVvoONhgmsSqyW78lJuvfjX+fUyEBzhx+UE\ne2D0sfUWdFtHLFmkHHuCdX+67xeie5MEtGXS01DPkNJNK+/ghMo0eukCqxjV\nD3YCpmQ15pgPtzSy+H0aFHaODc6W9vnZIp/qQauJbZ0rjJztNgzh1y5nGcIa\n4i7gQde7mgtwUAFNq7OBGrQIkmCRcR0gcH0KYVH+w2V0w+FIoAwrSwCOnIZd\n8QHodMLgnOm3S4zL6o28LnEtjXW7SblwgRrrTzZN6igsDHruJcBQH/Cq19aa\nCQCQuF8BWPMG897ccywwu82ZwBkMO4Wq5iGX2xU86GEVEameNPhgT3C1muE+\nG7hzyN7lt1ITZ5I5Bp2UExmJ1VIaSA/Kd0H9jbtrPPOP1R0YJ+IqK60Db+rv\nsEL+benMl8ubpdPZlAzMq75Agq9rJCmHAkzx+eNAmYIx9bjROkp8ELYbtyhi\nmzYBECzGeAHesfCvxhZj406utXxQ/8HrbvvCtMhFihwDmVIyZaySw3yQR2uI\nGRdn\r\n=H5MZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"0fc650912ba35ea5e826c7fe4e70baab7d31c171","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.0-pre.2244","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.0-pre.2244_1616088526511_0.16333008630058177","host":"s3://npm-registry-packages"}},"0.13.0-pre.2253":{"name":"piral-jest-utils","version":"0.13.0-pre.2253","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.0-pre.2253","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9138a5e51ed161487b507b0d404fc9b0b2ba4fd6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.0-pre.2253.tgz","fileCount":45,"integrity":"sha512-/QMNBefuEPteDaJRw0ODhTKI/LAVs3FVfJnDOjwjVSM+kFmTGqF7/Ozb8ACu3arvKVBtcd9qVMHB2oDHF5d9fQ==","signatures":[{"sig":"MEUCIQCfAIqSJNI6R2uoEI6T9Jpps+fo9J8pNYaOAb/QPVnOhwIgDiHclxjZMmOybaBOK62gLVTPlYECQhFufXOO40OKw94=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVUVACRA9TVsSAnZWagAADDEP/ib6j/Gy6X1/GflLgkyM\nrswwNF7cFe/R6h5ls4Mrp0vnSS8YfGa88t/LoAS16ffvcxlMkybpgnF3oCrR\n6jSazt5snr0btmq5H0ZEQrsHWJDl1H5PhHsvO6igQMY1l+y/Gii6tYkj22G1\nm8qveaIyRaq/Hm2uA0eEqgr+5soG+pGbwxyLy4NuftsFyoStjU5JkSm2KJNZ\n/IR3k3wSkvd2A0qU7OV9cP5ttc2mjeoDW/IAMxNE4B1JBCw8WrKha43xa5ft\n7zLayqJ6cDrBMnvlxRnIB8Caj/SqVYJfiQB8/d+wObQnG9DvWU3Ki8VQKMBa\noSePm980EeDcYhrI2pMWp+N20zMMQ9ZhYkbgSjitEVBhzY8Fyh36jFhaANwY\nIZzzDu/b4DqhL+ZSSL3LSqX9AjzBRVcUdD155MxIlTfpFV5TeHFDEAg45wrk\njxYwOd8GBNkCG/1MhBdw8Sz0Z4LrzKVTrH9AGdNYVT7yrWR9u+8IYygtr1b3\nqqwztMQ/DXTfTDAWU15sexrI3yBeLfAKAfeSO5PoHN3r2LixqykXnSDuqOjR\nCkx09+LS2Iv0iFLa/zN5awWNOjAIDCOaMP8pTYBl8nCUpv/7TxMHrYCGt/Ag\nvAIt+7y/u4Cnu3P65645vUF3Gb3S3kZbUwrUtcsyz0K0vehvR2LaYbkzVSUm\n8MVk\r\n=yOC0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"c3bdd3a4b45d81a1844f71314298402384a8736b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.0-pre.2253","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.0-pre.2253_1616201024492_0.4403969947721056","host":"s3://npm-registry-packages"}},"0.13.0-pre.2254":{"name":"piral-jest-utils","version":"0.13.0-pre.2254","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.0-pre.2254","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4376e2848d08daaeeba6e6c82f5d5edc53158dce","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.0-pre.2254.tgz","fileCount":45,"integrity":"sha512-AMMNlsqDIbjHMCgv8wxmmcQWtnmtA/rLO0PQpHAcdy5djof74DVCfSObMxs28XAYb4Vcp1QjyZkR7k+K94rDzQ==","signatures":[{"sig":"MEUCICYu3WFuEo1QIzRx+v5syD9l1Y+dIorZUUDuePOY8xEyAiEA+6rm55QnFtGRHL9tLUINjHu1FcFHtHDASIDw++p8Idw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVf3pCRA9TVsSAnZWagAAm2sP/jkmbAhF8PvenzHx256j\nNGC6wSyGlwOwjiEi/Bfz5hBJivCZvnizPZWbL39uwQqGHY6mM6JNS7FSslRN\n6Bd31UUoDd5KSDIZKMhSjAxHyRv86JjJBZV93BZ6Puuc+5j/u5evcExYAwkI\niQwnxcieIeEyDiw0ak/vHcatzn8aWTqtqGddFpsiDhuXiTq6p2dTCXy6JkDK\npKcMP+dIuBhKX+Vm72AqBiBdKFZ2JMWNWbXxsoHoP9AQfc6U5TCXg1dSrAYF\nEk22fSHtK/UlDszTNAJIrmuvoxdrWzf7b/aJnK8PPXtEEly1MoHqflWkV2W3\nKAvZTGkhwv9H7xsqdaSxtBQtsLdNle2u/x2BPwx0pCWNKotRc0FJvJOu4nhd\nqdlh2iHXC/CMQkpYoiICmNFH8WCFJ3Bu3O7uh9jtQv+xvZ8XWq9I2XOLD+1y\nEOyBumGHSq+wiFE1f2jBOEFLhW4JO97kgrxwdTAcxJ9M/uvDznTGcBB5D9D3\nh/MJRQsjRBB9te3fwi3szdJPirKN3VXrQHIRR2Da+6TO4aSbRLm8K0Y6Rk6r\nUDevm//Blz1n4ZgGRGKoG1nNGyGiVgZ4QdxuCoDbmst/L5Cf41FYEvzOsGI4\nzQxKs47PoobnRGO+CGrvkFocWybBLhEdhu9QD520UZREYcMqvDCU2xjDfWMI\nfmEp\r\n=k0BB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"915e66bdec60d70e939931bb4010334d23498d1f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.0-pre.2254","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.0-pre.2254_1616248296975_0.652701840493167","host":"s3://npm-registry-packages"}},"0.13.0-pre.2284":{"name":"piral-jest-utils","version":"0.13.0-pre.2284","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.0-pre.2284","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"308108d507ad21e87ab48f4a057030f816efb666","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.0-pre.2284.tgz","fileCount":45,"integrity":"sha512-c80S1AqK15y5aYrDYRk5KmdEHZaqP3sSeoe1JJ2JC0AvCm4da2CqRgsW4tBf8ZPnk57IgTnZdFgQdRo5E+W4YA==","signatures":[{"sig":"MEYCIQD7PqPGie2mMBM5+aqRLkqsn0x4dQeFDirVi9Ut97+85QIhAJIVm/eOT1AMYDIgtNBCQ9oC2K08ZBQvDfdsoew5H/KT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWhmGCRA9TVsSAnZWagAAeSAQAJqWr2Qoa5lGgYZ+4mQ8\n46gsQtlYSNEOrt7Lwp0vqxMASwH/CDKc/xY9ocbqgt4PmsrJiMkb7omk6kUL\nbg8FEP+TAYmqsIoWb7R1d2BNPUkhRKDk0UqZg9M5/pltpSvXF60GoGdSVk/z\n53y7J5MrDSjF9pGAkaYmxx+K7AVe8nSVnZtyGJP5kbz0u01+qBuZSPJT55pb\nhUiS/8k2mbHY9x1/orCXrWXcgzOyC4Ucec8FWJWeJTZwDLIfCOymLlvkM7va\nZtMNMdlzdbCzXZolF+iARKU6ToPGt5SeEKE6vSbgkhjrpi3FByovPzOa6aCQ\nhFhc8VLex5eBvvRPOJuASxC8xYpt8m+DglZnsOI9eT+kb4YkzyH9IJLLWnzc\nhE+5P1xfowU8EzhIxS4toRF6X6uAtTMzJfuqB0WyprQaaZEAbq3z0sVtShiE\nBgMNAIM4jIs0ix8qceFB3miqpQyhk4r839P/Ixe/6GQ1WUkguIN4sqVYvrrY\nBr07OTQj7sxIgcU4yE1Uh1EhULPFjHBzD7GNlKO3ERi42U4R3ILAHWZE2ZNs\nndCb6YR1fPVhgacBWy4mgfNpBwXSr7mxzluEN5H8D2dKQaVXOxh+gziqQRWy\nPUzfumxnRpvaaC6rSt+ayfBxVYT+WOp6mrvtSuaUspC2Sxn4oAbEeZb37UdT\ndRRP\r\n=RSmC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3b1a2574193c413c7b67e83657c878149a410f0b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.0-pre.2284","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.0-pre.2284_1616517510027_0.9057195306768184","host":"s3://npm-registry-packages"}},"0.13.0-pre.2290":{"name":"piral-jest-utils","version":"0.13.0-pre.2290","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.0-pre.2290","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7425225897406547e3a3c10578ce05d347f239e2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.0-pre.2290.tgz","fileCount":45,"integrity":"sha512-oJuMbmN3MiqB3Vsq56pFVoFi5vnyHOZZ9QNKKn5P8gc8rRpJ/HgGqahgJdlierqcGe3W+X8iGUCAuFVjbPQudw==","signatures":[{"sig":"MEQCIFDpRk3GwoFw2hU8CVq8twAMWtN+GB/QgD0bcKFoNjZJAiATba5mYIZEJXY3NPvoEi3rC2QglfMzCQxm27NjWGMcmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWlKaCRA9TVsSAnZWagAAKDsP/3KXxJxsRrsTSt4Fw+uN\n82aLuhyu4uyomzz5Wwb7dRPyq4WAunV1fGepq+fqZvC6wYdRquOgBOSbxFpk\nNZ3zD3caPxqiJsqiCYkXYuYYKDSxMy8sq2zEGgqsu8MOjD7W18R40upL6xEh\nqz4ix8gJ78BGmhrZQ0P/HYR0sZOYj0kLsZTBo9oskLU9zxZNHon9dNX+czLg\nVTsrO8UrMVhr9ZwK+jS0oxTSQbgf7FjEcDeFpZ2NcHXDE7U1YX7ptUvOaO+S\nncWBIoSsDFTHiIKTTnx6uxmKetIWNWsPCJR/rGQoTT5xeSSxAeJnHs9avv5U\nnyW6DDrQcop4aKiaLxwUbyLznH5RsNxdwnzMIlBTzJScgWzqF7HJ2uJZWQts\nTAv9b7wWPRgVpBHkC7psmCHVlnIefdKAcfZ5EPbSQu8xXZUHstgcRwVTX8Ol\n778/q/Y3CJR0hNRMRGZt7f6nl80AuUoMC8BA7PhPFpV/DehkTM4jNPpdBxjW\ntkz0rZQkx2nlse0GEzSWzJDQ40khjQmUk3UTpu7OpA2rZA/rAFILTPu7yEDL\nTCgmNb7xAPCasCUS4iTYWewd7zPXmCrlSPs7cq2vXzc4Au4hu8n/9+k2W33m\n0f2rCha70FAN80QrKXSphlbCSKnl+0vlzrjL6mTvz/VX95WCV203yNKTVmIp\nweTf\r\n=Xvm6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f5cb5b48fb624f6b9bd3afea3e24534f0d94b3eb","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.0-pre.2290","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.0-pre.2290_1616532121777_0.647827695394116","host":"s3://npm-registry-packages"}},"0.13.0":{"name":"piral-jest-utils","version":"0.13.0","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.0","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"920093079a90563e3e7f6082dccd3d544971d78b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.0.tgz","fileCount":45,"integrity":"sha512-8XpKgVEPcgNpNdzidVSzJrpSeultZca+84UmzdKU1h6FrKNDXXLuUP6/ogQthm2ROpKXI26XVavGvZI46KkwSA==","signatures":[{"sig":"MEQCIAN9w2/nxU8Xb7VGun8ddgm1djlTM83fuvf8BvqqxZ9AAiBCYLIjERXRwf1WaHZZgxgi6I4CA5PsTzWQ1DeqIUnhhQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWxKvCRA9TVsSAnZWagAAL8cP/3zQJ6kHLOk0RQ31p0t6\n+uC9Z6c/2SagxjES83/MHVftrRDI2oooVPTt3Pb+2+nORzK4ngR0ydPBO9A6\n9JIGjvhgiGA5aEt7VwJjFw4STHJUZThScvazlhSIcYgvDaGJIbi36qI/F5Xq\nYFTyRgYuolFuPgkhPR4ZXORcpkbICrc+584OF7rGFhfDMBgbK6Bp7VCjJt5M\nmxFCCc5aU9O9SMKcof6XUOc1kFZ/P2r+0xHJJVfzgKG4sUjw4FYYCunuezoW\nFfaVMOIYWUKsAYd/+yuxVGJazXjkvygr7xKzFCM3Zt2ugebMY7IhWoh6CiOQ\nv+Vf2AJ+q4JD2OVmo4eeTYcf4lO4NDT1BkD/pNUiLjm+3B+VRkwF41cqY15n\n9dCXtGsfQ3JM9Iy+ef72X4AX2KxO5IPJyq/v/NbB3X1VhwLhDT37c2HUDQNA\nip0W3pna0jQQ7uPvHywv93S7GWUkiR3B+qBKXYg7XqvtCcRvCxDIiyq2FWM0\nV8IA0g/TUBFYaWU/NUcSDsCPLWIXVKHJEAvJRYj/JXYZOAhspkTrVszfSOz4\nhFjhpKZcos/c/hZLdsfnTrqcSTDIZTEu7OSqi63B/xzcZy7oJWioSXJ7ZphO\nebcARyaGJOzMJ0ruxGneC0so0bkHvLX1Oz4AuwcUhla10Lt9XVBTCGU8svxK\nWYgR\r\n=qZVj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"a3dfb71b2cf1e67755e6a3fed0784c9e8012280c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.0","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.0_1616581295085_0.326914362787722","host":"s3://npm-registry-packages"}},"1.0.0-pre.2296":{"name":"piral-jest-utils","version":"1.0.0-pre.2296","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-pre.2296","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3467cc5618aa8bd1a5c8fa3c19c85839daaf6816","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-pre.2296.tgz","fileCount":45,"integrity":"sha512-9NMGtd+VF/T28ObfR5m0TSPMF/FCdtAeEmBYcTiyTTErK3u3x8IuY8kvTbtwagCBpH2zrTlx6jD6CZdouD8ECg==","signatures":[{"sig":"MEUCIEvduq+9vIvM9TJlAu2rCB2CN4xYhgEv9ldw4trArjUYAiEA9QTTiUJ789G2kJ6/xe6kjmRb/uLq8qNZqrYo1lobHGQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgW0MFCRA9TVsSAnZWagAAQzIP/3g8MRSzV42hEHF5cfa8\n8egYin3jgIDRlHQjWEdJb8biy5qC1CVhOWe5Q6k8PaQI/cdOzbvDOoDS8ROT\nmcsmlogx1KL7Wo4k/lt33KcEtlBkglpIzFL85bCAiurK2Hlzp9BIhbzrI5GJ\nC33NWyrdFrlvO+KGJCWRF367oZiTlIPXPUTgC4utW24Cbi4xK4FNxxckY/0J\nzU2soBh+Mxo3YcH0pG7Ljw0+zG0SnB3tJULFR36xM0ux6u8WryWqTX0GrnKZ\n2AMqMPJYqv8FM/edL3qUYEcPZUvPma3FuWj6udzLAp2phTUEiyDTqkxakYdF\nz7OkRe5cOUQpmv4umgLSov6zix5LyxGsZ4UFZmOboJ+FdrhyKG+SQlBbK911\nllTzgbU1mNpMip7rmL/jFaM9XglXcNbc7JM5U06BvDygZgTn++vhF1CbS6Fv\n199jCIbXRzqnAh7VbtpEFlG55m/AEjpeQSiOLBxztvMm+pzTuN1jZ/nWkQuz\nLkS3p0ZpQShaT31EQ4kUYAxdTtcU4rvYoVBLePxvSBQ9gNX7thVN4AjZo1JB\n51zRzWz/5SK9fBIHHodp5Hx/vXBBaBQu9BSBcrA/5OdpdtolPTdd8mouoqf5\n+LIVQnGU4nHdRfHKv+kTmyfOlEr01mUlaPjw0HM3QRYCwEJ9g/N+/kIsP1DX\nV2pI\r\n=//0o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8dc47ff93be1eefcc3e226a1e7dd4d58615b4e0c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^1.0.0-pre.2296","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-pre.2296_1616593669081_0.8514446724663229","host":"s3://npm-registry-packages"}},"0.13.1-pre.2307":{"name":"piral-jest-utils","version":"0.13.1-pre.2307","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.1-pre.2307","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fbf62b21581f703614e801a93a088ec1bba9dd9b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.1-pre.2307.tgz","fileCount":45,"integrity":"sha512-30gzUZR3w4g1ZS/rJtFO5IzbAHN8+IiqOfGyztT+7G9DzQea6eDbyB4EkpqgKJSVVSQETIUTdlGLpbIydLYgeg==","signatures":[{"sig":"MEQCIEh62CcNbQrbD8HMFDO0Pq1iix674xyqpP4xP66VE3HkAiAVkJz2tRxFNG2PuupQoOfHkGWWHyXQsOAej52GnQxJWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXMaQCRA9TVsSAnZWagAAKLQQAJBUhPTp6mndE9/oNxeJ\neRZ4SSIhukQ5A/69cxC7acWoZIbpy44LwNZU7Oi/CHPL9q9nQAbP/x8+WJZ5\n1yYlEG442Jmfaj4nvXx/F1PF+RuFw4IrZp5GBBwXh/Dk23E3dmHAKEcMTiUy\nJ2kJU7RipRgQCyCohPsYMgHTgXR3rajNKjQJdywrAF4yp6zsKBMp+B3Z0FiC\n1JEl9agHlIbj8SnuNCeRzstXHKIy2hKb6ziAV3ebj7DghH77ecDeMzGi9/QR\n7QMrQTIYUiCiyDlx/IPMIEyZf8u3YrmhNzDygSOBeKFB2GlHOzRcCY6r0M7x\nWXE1eNQCnERUGJ8Bqs49nWdJvzGiI2cNEw3PTzMCjHVli16aL1m6lDLCbxjk\nKS3YLD/Lpq20dCV0BJjOk6/ZQeW0/Zgkq2Or6VKiaP0w3LS+tVw5RmbGTYwX\nGT4iRuAHaedZdznzvi5Dft7b9CDan1UOkdC0G6M5YYvRX8wERVscHZnNZawR\nIJYlIG8Zzwanan1STj+LBFyb/2oxANEp6MwX+2uBgi9TwV+ahi7YZr5a2wKZ\nIBfiYmf1iLqthGEQ2q3ZztpBBqdUPFDdw3iGumyVKisAECSK847Pgj8MvqgW\nLbUbrmDdQXCStAITcFcQ90CnTpIIYepfrZH5N4ecqkLEh18B3N49H/TBAXSx\nPJaZ\r\n=u7ir\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"58e51a7f4c0acb05117d380aab6788f2eb965580","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.1-pre.2307","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.1-pre.2307_1616692880116_0.2615793207920929","host":"s3://npm-registry-packages"}},"0.13.1-pre.2312":{"name":"piral-jest-utils","version":"0.13.1-pre.2312","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.1-pre.2312","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c04356f7f3302fd84553dcf7ed4ae50133f6901f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.1-pre.2312.tgz","fileCount":45,"integrity":"sha512-M/YfYQyHLLX/mxWc0kLExrbufOnV3qc6X9P4VgSpMAipPa/7ZFWfnBWF0bbE4JRsDjUiJyoE5jihr6CvB981mA==","signatures":[{"sig":"MEUCIE/W1/wCCg0GFnTpE/QjrZWHEzGYwN3zXtPtzHNdKdKhAiEAvA5neHtdxmDZ3Nw6Oz6CviZMmMrwefY8MX8Kdn2P4jA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXfIkCRA9TVsSAnZWagAARw8P/RnPreP60pcQgdSr9MH7\nqCoQ5Z9WlTnkY/NmQGnSvtkVx3l9LOOKsYeRjMLeE6JQt8gvb2ew5aXFLCcn\n+uYC5Rki6a63kVmU8qHi1dJzRakiKRNSFaVLIpC7GipjdlyAgA3zBVvXA0pj\neW398Nlc1MlqTec0AcotFozZdVEA3vyedIjXSjNU+EcY/98Opuju9/qpOwbl\ngv9J97VN+OntQDk0IAnd37GfEOp1peWpVHolrMCtXQxDTGpZjWLQnr/KHg3y\naLGlwhl5kObCe2tLs12TD8CgjTDrSCT2h13/ETCD8Ty5emSeIi3axvCDAwrR\nRubGJR1rNEArqpeSmvL2uxc4WZLEndO1x/OChDmAjIjvk0TsviuUnGCdpaVM\nIdIlmjwLfd+RYyTU0VB5Lg5pyTLTtW7a3ZAPC1V6fS6vNHaUsiKyYuuQVU2K\n3IS6wbP06a7Qi7e/ShZokF+4aWOlyuA2Luvhiyk2yKztWgRANb2ZUlmaOBdH\nKoC9yyV61IEvwMwLJ2sSdN5DMfkXcIjNnQxm4xnF9fRIGZLF5JFI/Add4nT6\nrAc2T+BK2jh36ISHC6P7q9on1irNEsbMWPEarJUJ9Wpcv0cTA540fVBbK/4g\nijNEm//krPc/QYCePAR3Ip/3rU0eanBq1Qw32arW47Qq3yzHqgt/V/3MUHOp\nCLyH\r\n=6HB6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"30828c5195ef70d3e10dbbf23e5569ad2ea1168c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.1-pre.2312","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.1-pre.2312_1616769572502_0.6916892548373184","host":"s3://npm-registry-packages"}},"0.13.1-pre.2323":{"name":"piral-jest-utils","version":"0.13.1-pre.2323","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.1-pre.2323","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a2635bc6d9fb850035469fa6b11a4093a88514eb","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.1-pre.2323.tgz","fileCount":45,"integrity":"sha512-enoKjjiglsVJknUgBWftKBjcXMrfd5RL8s1tW0K21qu3rat8mi+sXdgTBhVBzCBE7U1FJE0pvZVR9hPNElL5Sg==","signatures":[{"sig":"MEUCIEGv1QjRU8MEyJLhToL5VUZP2f6NsQ7hO4RlD2nqQMspAiEA09rxqzNS9hpyFEHv4P8/prQLliX4CVXVxqNp+iWkebs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYzMQCRA9TVsSAnZWagAApuAP/iAvGBmTuaPl7GKG6+zo\nNkz0s+I3XARIEw8x+3kibJFK6e4vSpoVKFAeRNFodr4UWAvwcRDh10dCGYu+\nksdSI++JLQb+WIeFExobNQV2R5OmEEQAbiS65lNx+gTdWuvsmSvh03dLRAKe\nfOG1jyoyq5PI9xoldQ6TVmyPKrk4MAosZYUZ6NWhMzw6Heg717PIW7PQN+yI\nQFTCBZzo218ESNhjjugwRZWGBOoO6ssu/C8DY8XjXLKKffQPZNmIitjfXJWJ\naImTwIjyEXJTL+u4mKmm0zfJtRAIsvuixg+m9rbOO5WQua9QcQDobaAfzTaD\naIH9yqEoDvQqn7bh7iduObKgAw/y9f/Ml2JeGuM8tbmhfKxcXU9YivT3HZ0c\nxh2Mkgyy3xFIhqtp3FYE0WCNFmYSDG/Cv7bsYiPB/gV2v2Q/lCW88Dz1FH7N\nmwkaOPHCObQXLWFHbzLOXJ296hQGvQ/uck5Jc8BDxcpwhZVwsUaX2bU0BBMC\nQNyDXbHOalOzwiP1TJSQe6Dk6WT5P1UBKTOhONk7njY2DGXbI9uPceyFau0+\nsqF028Q2ZqcmDiOUR7Un71/+kizmmmiJkHUfT4qpRhagzflux94tMVDFmCzg\ng/cxfjL2d1vMAFIcTUPPytluJ/JeseoYSAFnhYLLoV1vJqmNSmcZBpKjlAG4\nulI0\r\n=u6cm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"9a196b66a29c4fd0ba09fd95382d7340550443cd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.1-pre.2323","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.1-pre.2323_1617113871565_0.743563142120468","host":"s3://npm-registry-packages"}},"0.13.1-pre.2326":{"name":"piral-jest-utils","version":"0.13.1-pre.2326","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.1-pre.2326","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"90d79ab2e8a0b55e2a237cfc28f67d4db53b3ad6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.1-pre.2326.tgz","fileCount":45,"integrity":"sha512-Q0pXjDg3heQpzA9hHWAO4Hc3fu69tnvitnOe0af/YD2minUJeoZCGvXq7baLLCCRNoqHQS62wmKGLsZytq1UqQ==","signatures":[{"sig":"MEUCIDPcTyyA8oNnyr/nSruxB6lpkftdED3dG8K22oY6eJXTAiEA0BotJo1zXXoYDOXkmI12dsVB3AETrcy2TbGlpQ2mmAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZFaPCRA9TVsSAnZWagAAyBcQAJvKTDrxqCugVNIxD2Je\ndE98vh5l/w4IffqIuUsGgg4N0xBiUb8QdGW1OdMzPnmtxc5fmMnJvyroZxFU\nFt5YU9qftWkNz5QM3UQvAymrQuUi1h61bNwseueWm7zFabj6Bb83jhGSwq6H\nvG8PXlgAsTSp95nH+3ctWYn5oYXXHw7/Q2/WEVavJ/PNtowKYGiLBNxl0rxR\njXV1EWFaj547WW/NRtft3YdJNBZkpv2ihNOE+XcAR3a+7kr1DdlZlbkruBEb\ntJIwXzNY6pgv8y96X0XrhOUiGWoOVpnEm52M5HS7Hs+YhWZEAsXPARY2v4dA\n1WTam9uXDSMildqmtB6jY+EFV3RtKjp3RLjq3s3VKgs3jskMltm2cCaykr8O\nN8mdiYtn9ffrLdvcfpZgFjvQHdWkUg/NMv9d4FxlrY2400GTEKiQrqJqGi0b\nk62S2H6r6qfTMicHipVbM0gs7kfbJqBmV2+v8trT6N1/IdGRD5sawRvgOT5+\nTbjhCLNI4Ri4mpvllSDYGc9GV5ZzZMBKpPNiOISrnEK/C+c82GxtisIBh1e1\niI24Jb1E0NsFQ2SbsXAvc0+1eaLyiroN6Wp/LjRu8mXkVqeIWMdhSbXUnloU\n8fkTDcX5Omy8SImSZHCRv4aOeZqDJKHW1JUsE5rW/ERZJ8T6YKnxmUMcpTNi\nzkF8\r\n=2bnm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ea0e572e5985084152c4ce824ae3102ed1ba6731","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.1-pre.2326","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.1-pre.2326_1617188495126_0.1268697751601744","host":"s3://npm-registry-packages"}},"0.13.1-pre.2329":{"name":"piral-jest-utils","version":"0.13.1-pre.2329","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.1-pre.2329","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d63988664bc06ce06208777327ed0e2c27c9f15f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.1-pre.2329.tgz","fileCount":45,"integrity":"sha512-fk4oEIWldz0lx4cUuvnoviuTWJETIh5ekm/IeyftZqUuWULcY1UnNWdoB61EL93ydltHW3nY3AbDBDfgmcAL9g==","signatures":[{"sig":"MEUCIQDQQ29hVe41xlG6CXjjX61/6WzRbC59MpxvTjXWl/oDzwIgJRIZ1mhQyh6wx9mlOcE6tK0XCkmMZHI56WtNqnTCgbk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgc4qhCRA9TVsSAnZWagAAo7QP/1OvO0WboGkEW4dGIII4\nUpUJhqrSxTMuGE+h039r3pil4CLZDsNpWhtLuPChiB6g48qbgFn421BYrTTl\nQsBqbREbNisjtNNVmeZL09H5rVLS/HfZil2DbIZSVOUcNmMWI+aOaGEZ/85s\nAE1DWhQ287HY+44auM3Gi/C51Q2mEd32xDSAHWup908DLsWor1wb3SrKuJTM\nwKWOeqbC5iodP0tK0hxcNSmANc5phB+doirwp+K01BAAE6won5b7tAeKy787\nGantlKJjmGOOuvr9MaY+YyxANfyTxJf/vu7pRaZfYKsmRhFOpWvmIyF+Dj7k\ns0W2G/AS7RmZlZ2AwbmvDbMKGkcmPUq668sEwgXD1wsGbbAsn+F15lOwoPaQ\nk+3MlKbHEMFqHgTdvWgaw7sys//14e8tvNlsbxHFbWqa3rW2bMikMdUKN1cG\nljTNzdQ5DSEFuSTpvlR+po9vsfEFlKDfcOXlg3PY//cGyv4X2BfEFgXJg00G\np0NVPa3wu1A+fejJD+frV9qSmBZ6OPEXezJ8C3jYh/1CbmeCkQr73lUrvc7Q\nXw6CFIG/5MGCMotS8T+hKZovpYjmK66W4YjW9kx8KmPl7+J0cSVtmwLhYeUA\ngcSxQjqntLolgOc3JoM4fwu/rJR3WsHUcrf9HgNhK6B11XebWlI8xlDIpTWA\nmDGX\r\n=MDLh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"483fe6bcf7f522fd2d423d4d4aff680cac16cd46","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.1-pre.2329","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.1-pre.2329_1618184865574_0.38261509167008967","host":"s3://npm-registry-packages"}},"0.13.1-pre.2330":{"name":"piral-jest-utils","version":"0.13.1-pre.2330","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.1-pre.2330","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9878279b56b74872ceb448cf1789cec478ac3ffa","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.1-pre.2330.tgz","fileCount":45,"integrity":"sha512-1Hh9dx2uJJoqYyFrMn5V2Bz0mbAfF9MEd7ajY/tvLUO8zFJeqOwPXKy6fxHSNfFW39T/OdQNJeFsEXngiY0CaA==","signatures":[{"sig":"MEQCIHiIVNHyNMMexBw2N7gtwcYUBkDTuauMVPoVn4Azw2CsAiB5wFNE1Alwnl8zkcs3JqrGBgIsrPcn9EbQnp9AI93YLw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdEU0CRA9TVsSAnZWagAAeM8P/Ar3sL+nAk7fh6vmuvFB\nynfwG/TuhBujhzK85YgXT6REvk/bzz0rh2fjGAB6ytvWMEdtIgIpHYzXU8uZ\nYstR1dDeLd2agyjBDQf3uUWTuSZSQZJ2hYCcb37ZpuD6oQj+B4rXxm7jX5DG\nkrTvpsVW5YO8FIlz76IES1LeLxxEDMGHfLFSX8UEzhtI39nvCXDc3YKAv82f\nEacQPvDh2UtF3RjwtmS2hDfthjzKJ4EkfP5eJ6RKivE9FkoAMthr9jgiy/FR\nt3ezaeSI3HsvvXf87ywfvvDRYyqYrW96Gcp5DX2fg3EEL2mOdjxwdAZKjXlT\nJClkBiT/4QGs0LoZbb6PSeee4Pm3PUVyiPRWcAQG1R0Jm93ccIZ/BKRREF5C\nBZhYFwQQ3hKyg18AWu4PDwBR5HRt2uJI0BeLlqSGyKfjxQU8VFRTfM3GVrs+\nCEsfz7ZzPYfi5nBoz1oaqyvUDY0ET3g4lVhm3wqyV3kO9DD82v+4ivQDjcHG\nrTnwZuA1KUTylLNAhg4zshe2fSAoPOzG3W6HCYQVYAPyL3buAoTbx1IKo3tc\n8zb/k+X7WNYD4le5al2Q4GGlWthJButoCUFIt55JFBzcsSiuofWmHJ+AY0Ic\nqLLrk16FMvkjCWvMG12NnHLm7r0WDXUaxcHg9XxKOKbEJX9M5QdJJJpiZfz5\n0ttG\r\n=uK15\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"89b2928224f69d0cc534f02f3a9d2d8ffb5d9245","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.1-pre.2330","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.1-pre.2330_1618232628049_0.7052775239031002","host":"s3://npm-registry-packages"}},"0.13.1-pre.2336":{"name":"piral-jest-utils","version":"0.13.1-pre.2336","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.1-pre.2336","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bd6d364e1d9c3a60827c2b5eebec362f0b993a1a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.1-pre.2336.tgz","fileCount":45,"integrity":"sha512-58NPW14b/EX9LIoXOcT6KO1MhFjmJUeSxnBiq1BsGqiMcDCxu6gcVta0NrMxBrymuBLPmNL/BLLeCZS+ZNUPuw==","signatures":[{"sig":"MEUCIFOZQDQjXymd2YhudQfPzAe+HaQydoA1Q1WA+uOcruO1AiEAtZfLsOlNnp9kgC2nE0EiQlv3QJnGFLDNjM1KDjJdte8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdbZICRA9TVsSAnZWagAAYNMP/08Sjx0QxYmZg+xe+k80\n0ypL+iSI5C8dIk6jPui3XerEMrPrSgAhPJPXYouLGTxtY8ads5BIfqGEi/Up\nrOI6J7i5GGCVTbnmgcwN99cezZkgq2Wj18bAuSsvUy8018I8/by9azdgNWIj\nvBf1iqC9fZt9jAkHl2jWPAfVe7kCBGGFNqGfT80AVyljthKIkWGTSUog6SyI\n3HuAj23fHRturgal+4SxMphwpB4WJfggtzE1kBHcvGY7SgBhiqiFkGljtwlb\nD8a5zVMTBssjYSs1Dg0CuYSfxzwTSq9R4TgwVnN4bjZylE+hJCnP42YAK/h+\nX0ds6ZqCLoO3Dyz4JwSUElSgV74550gXLAXLBP5Q5rfmj1DcLBFjGq88Gb8e\nyyrdChQ7YLBsYgNvCrKQCFrpCDRc99PBW+Ksj3HRrzm4R7Z3ZHoEJBnvnwcE\nEMrXWGt2LLvq2qjhWKKQNk4GNhSiTalyUahBAzk13r9mgaBZjTiJjPO2mLuI\nlctGs15zeYk+3gmqyEITv0+V/5gjzxNY37quYlOZNEDfMLRmQ+qd8M7z0ZE4\nOC75KsMj5HAuzc5APnuBJn3/+p3/zGXgEMGKkNPrZn4Q704uExpLB+WiQXUP\nzTTsrvGsJKFUGl17cSj3noPX/Ru4GkIT5LQpRPa3jsCmel3UB90t6+NnN633\nAa1E\r\n=m+ix\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"fedc0f2d9c1cbcb9fb70cb4e356b639fd4983ec1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.1-pre.2336","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.1-pre.2336_1618327112052_0.011156015194054625","host":"s3://npm-registry-packages"}},"0.13.1":{"name":"piral-jest-utils","version":"0.13.1","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.1","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e4e37264c7af093dc35476587637e9a8b8c3f0d9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.1.tgz","fileCount":45,"integrity":"sha512-UAi4hi8BYrNMWAvw06bNVTBqzZBH0pDtr0G1VAvau7x5tG2tZpEm7jKkX+ypf21bdl0iZ5CJEqx1pr6563wF6g==","signatures":[{"sig":"MEYCIQC+Dj/7ytOc2DgKzGjGBUzWqLDbqn5hP5BuoQu8IKeX3AIhAKE7dHiGCMD/uTTEDr2Jl7W1lSYGBYJi+nMTWixcbkHz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdcZiCRA9TVsSAnZWagAAAZEP/2LOyORDUX+c4wxZyEvJ\nNgifgX571aFcKt3p3uG/XJzg3JFctc14NiBsfImHjIsKH1SE/iwq26GiaXvo\nd1HX+fhHWLeTKSXbtXJr0LhGT3PdvMu62eCpw7so296F5GERMqLxDEoYFZZM\nQuZFOTi884XSUrtVKXZ9uF5YPlseptbuJ43KzKCZ619n+dHeUdkcqnWmPY7z\nSTZ1jKxDTA0ciYonfwCvax4GjWOS5K/JbDKhwSloVr7hTwojKj2rb0XpEZEO\nv4Z2JleFERcSPetqzMp5sC1h63pSpwVKENMc/COLSWcx2oVPPLUV7zgL6FY0\npvwcF47E/IwvzwYBSm49NZ2mCzF5ULWJRWR+1Ryfgz5nHJIA0oIpLFHQzqAH\nUIt6Vhi4zGcwkAGZKk0JfKdslQsCxXW0YUaQAk8bqy+QPp1dC6HVj1UJaFQt\nPDbUJN1y83CeR5lMF/PwdA709PkstCmAT2WT4vPdGj7oAEEKMTNME8gl8Mh2\nSVxNSg0KPTyM/KAeWyPpt0P9liXwuftgXpJ74G/YmRxaJRBPJYWOxoojzXhj\n+dGOBa9YOezRmCam7f2dA24n88GPku7NJKJvIMrG3tuYNfK0ExjDTmRFVFeZ\naPWR3GDDGjHPXpHmLIKRstS3d+w15QSNlwv876FidrtlciCfhRKqp72/Hh6L\nbZk7\r\n=+QCs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"15662b1ed58b606a41f5fd59699720acc347ce7e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.1","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.1_1618331234142_0.9739037107604773","host":"s3://npm-registry-packages"}},"0.13.2-pre.2341":{"name":"piral-jest-utils","version":"0.13.2-pre.2341","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.2-pre.2341","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fbbb51f8114e5af60a6e7e11bdcf5cdf4b5adb94","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.2-pre.2341.tgz","fileCount":45,"integrity":"sha512-im9DBxnDYIM1yyHblXe6+qATB2HAYpqE2eYje6Ch2KNBC4nxZCDcud3H1SKx1S9oxRfEOB8LIWNoLJmoACa++Q==","signatures":[{"sig":"MEQCIB95ple/xV4GefNIzUAwszZ0UZSDbfmxdfyLdK9IfZDHAiBishuxr0jyTU+V/8Fr/MFBjisI29fEMDnf0wgkeBrkSA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdh6HCRA9TVsSAnZWagAAItcQAId+zTWK4x39lvPJqpna\nLDGEP6scjkdivkDt4ehebSrTb9vHQKXKZ8l+k3+q+g0xTrDMYCD8uiGnV9YF\n+cqqHgYbYg5BBI2sBJdg/NWxBiCN0IwmP+KNd5Wc2QpO2ISK+IAke4HJUR8D\nYtLxKQZkCD+1dNRjDRqqup2Z1oYKSKCJyyE5Qs7togYn/87zXAWoS8Bu2zye\nXm23byuZ4ximvP24LbUv5VqP2MTiLJbXSFOppqCo9lFAhTHgjaDrhnsAcayI\nX/w4uR9T30/v25DLxf1SX+E8qfLjhtBNb2y+1XrYZrx3JcnkI7DK8xNr1JK5\nTF3iCuFriEMvwPRry65jZ6eMx95LMeDQnUZIY+jaQfVYMEPBffx+BC+7Nd+O\nZtWFurlnxOwQZtIcMV7cfRYf3CST9ozbUA8pH4A8JZnIC/pb4zhBV6p2UzEc\nzMdIAvK/AI8F8V7oYswBr8fAaR06ShOk/AZjm/ILT2wKa1GqXYb4QGgFHy4s\nz2wX+yn4hbwz8OzGP+yyvPZglnffXkgKnl8/PU5bPBwpmaf+tNPNPoRUXYDu\nmVelEcD4dk78PzVUlzGwQ1LDc86z2WwwJTMp0rxBd87veBr9e1d9PmL4tMWb\nMxfWkafaXG8Ywfsc2/kZ0DwR53Sip7e4ht/A2CtQ07P6DtDIewiQhZ5+2Wjr\n78E9\r\n=Wasr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e049aa0620536d97bb88536f3e3bac233d03ae40","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.2-pre.2341","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.2-pre.2341_1618353798751_0.5273972393321671","host":"s3://npm-registry-packages"}},"0.13.2-pre.2352":{"name":"piral-jest-utils","version":"0.13.2-pre.2352","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.2-pre.2352","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"254ca39d163760b4daee9154be9fa90540ce5a99","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.2-pre.2352.tgz","fileCount":45,"integrity":"sha512-/K7B0uGRxKIVc5somqa+Ns08puGtXeISTfm7qoqPUif2q6gpnZo1yTEnMO/pWHBjlXASRbnNLkDyzCpKRkJPsg==","signatures":[{"sig":"MEUCIQCvtlGEowr13kttdsMSm+aX9HvdxgBbLvMVoELdDv2oIwIgOPAVOhpA0pwsedeu8uqF987Ns0THFeFqUIX+xjgdCi0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeF5JCRA9TVsSAnZWagAAJdEP/Ahl0RwEOrKzvsCC7OtY\nqySwA/gk9drDWWZpopNzExgf+WBDu5X4Zd582fQRyVV4UfalkaROhtk4QWVI\nN+QWy66ordiKbmxfT+R2JSjJXFf65J5Ntn29yFNYmD8l62RwCiTjqH3/gySM\nZF8TfQ2v20yOu8zHti0hda7mHOFbbRsiMZuQ/VciuEspi75ufQQyrzkcwek1\nIPN/isJomdgFW0HiW2A5CtFH4Abl0vAK2zuDpOlUCyVJ6aAlrd9zQRGSvbxf\nnCyyNGhdj36f2I0vuiwCGxqFoM6NL7P40qxH9QaOqsvMd2f0M3AphuW15LaX\nX0M5l3Uc979AEN2+ORj5BKzmIo93+rfAbDh5+4qEnGFcZFoy/ryGBK+nj0tW\nJI4XcB9zh353dy/d1sEhXmYn2iafJGRFsGXNDVjvY9cDQ4QMA2/o06VNK9m9\nZ7/5AWhrUdEyEJlk/kCGtnAiEVwZUon9yVq2bCG7qovfH9xk8jmWC5icPA0P\nUF00Ox3QrZoyyOdoR1duCibZkasxvZUjjkfzxd24wGZtw2rqSaYk4T4OFs8x\nU4in/c6U6nZrYgUIaaWWeYqxXkl/J7Y0FYEYP4BM5FcLilaBYwuai3U85evP\nqkJ31QaMVLHSIutdM4VehjDYl6DMhBX4FNyBrKqJ4h3wuW5wspDdUUzZUF4Z\nYI+8\r\n=P5S3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a24affb07e9d190d9a876258e451908b7763d4c0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.2-pre.2352","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.2-pre.2352_1618501193213_0.7748077368594888","host":"s3://npm-registry-packages"}},"0.13.2-pre.2364":{"name":"piral-jest-utils","version":"0.13.2-pre.2364","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.2-pre.2364","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"74a2043c704d154f7b40768eb56be804d1d4b42a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.2-pre.2364.tgz","fileCount":45,"integrity":"sha512-RkjLcpLSOlBq0N+1otyaQMjRDnmSTn/iqLigtyDD4aMenpBSCyRwCkgg6BxF5TYWGwxlNklF489PO+AMepIAmQ==","signatures":[{"sig":"MEUCIQDsva89V3cf47NimREYdS5mFIYdRsN4kpg5D6oKXppr5gIgcWFHRkjI9a4GLzTGXb6gJsCf8JGt/CNLL+E3i4N6Vxg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgefLrCRA9TVsSAnZWagAAM60P+wSGWTAAK+bi/w9v6+vb\ny88QHifzO4Lcjl+PyAE53o+/ZF7B+jtkbED7IR6WBQT5GbC6wFzPuCTNNBII\nRRjPrsDKA6/CFnAz7Q6mHchvRCy47HiTxvCiL9S9dCYxD39NnZwwTHbPCEOR\nBNbXDkXU//wI0zedI4vmCfg9DuObxqld7o2u9W4lW4CB/22ZL68g+m/d1ucr\nYjP6tkzB6amAAwA8yeEvsckg8GFXW2drW8ywPg1SrPWg7PwjkLEmf6xPNL5Q\nlimkQXm5668kzc/atvLeBJ+uO5X5h6YVU8TZ+2yZRQF/M36kr9z0bi8lQ/Nd\n+yrRcHOf+3P7+ztrsxb1r4Qbwk7G/CRbboNR4Ofx3MESQu/WpgeLsLzaGG2V\nOcVYm6YjT0pOeU8JuBafIGDDwlASupQoMhhn31nFgnyPFJAqYvfLdVzUQA31\nS3AnPeq/Yp3e1k4ubpZ8eNhYG2RuGS6k9nqia5/uWlvHxvZ+OwnJgZAt9HA4\nPHKP3xZN/xiH/FTaS5LWQ8p7RQFnIDNPHo8dw6xMJe5w36CeG0ruHbJYubhu\n2AOf9phEUjnSYsAjlqy0rJLpaMsOPX5wldZvWVeO4Qmdm0K6jBm9UJasiCSv\nBfRfCNhpey+Wkjf396tXwr0P8No6U2iXmGnbvp15dWOwcXR0uyXvlXKFp8x4\nvQe+\r\n=GMyA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"77ba433aec0e8ced646267d90ffa2bf7a64c4041","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.2-pre.2364","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.2-pre.2364_1618604778673_0.6110373933382767","host":"s3://npm-registry-packages"}},"0.13.2-pre.2383":{"name":"piral-jest-utils","version":"0.13.2-pre.2383","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.2-pre.2383","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ab1f9a1e9b132ea4da5d1ef87953235cefb8dbc0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.2-pre.2383.tgz","fileCount":45,"integrity":"sha512-EWYpGxHqAA6zg1Bo2mGwH7eEsUi7w6Ot3ea2VYO+cRfj6rq3+chp0RgV1wDV7ef9teUPhlQXFSTMlV/gQlhq0Q==","signatures":[{"sig":"MEYCIQC7SHmkl2JDxA9XZ0ocZfs1rnXKnRygLNaBquoCXWwXoQIhANuMPFv+kEVTI1scr0b9MZRcdFqZLAHCtn31qbNgyOyG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgftV0CRA9TVsSAnZWagAAqA4QAJyUDneslDVTDkLOiqYH\nDgbCWyWGkQ6YQkJSgD0yCndf2NsxIdbTYo2I1Ee6BCQ/AifrxreEqCqOLlND\nOk4/XlskMiByAmLVVTYFQMtwqFLb3vqDbMkgdSyQFEMgnBnjY4PFrHjq17MW\nbC4fyPhhKCyKd9EEKIjlyqbl8NNs+9+LAW8ABq6JbUjEwXmee2A88ak410TV\nEdE4lFm95upGB0J/BzFl93GgnnuCfsnvOQ7pf/SwsPZ9oHxhOGz2vVuLQs0S\nzvYuSQ35YtWT0pOJAiP+9AhESc2AV95n/brEkYw1bhR4rMLQgTywAJwUi5wI\nvQ2WAp0FMAZFf6f2N9FcDR8cBvb5NWCtndHTjsMycmXPDaZiVexSqcRb/Pum\njxQQLLix5r9TCYph1g0MxIVm65diAM+imsM55Jn/ojQRPn9DqGPjTIr99wjo\njqkSOOkNzl27lQwaJW4W/IuHh/h+jampJisB2ef6mUfhu96VpvOh9bMY+i7w\nIHwGis4fr7fsNw3oQakZWZaGnJdmICCquqBHqJOC0r9/SRD7O5d83w6HASNp\nnrCxkpBlNhd/L2NuK+Tt0fC9TMt5IvUxE+hw43Vw4p5D0TcVfYg4EO5O7yt5\njnG6sYJl/m1jTdA7VtuV9uNZD84i2M1lLbAkkO13t2OXnG7uNN4Vpa3pfdnB\nNUQW\r\n=0jtR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"0867b27ba96060520f946a4ac0155e569b64c151","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.2-pre.2383","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.2-pre.2383_1618924916413_0.9302974991374064","host":"s3://npm-registry-packages"}},"0.13.2-pre.2387":{"name":"piral-jest-utils","version":"0.13.2-pre.2387","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.2-pre.2387","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a525c8a2301b7e309cf87d44fc8767b7ae8d0dbc","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.2-pre.2387.tgz","fileCount":45,"integrity":"sha512-DydVULN1WX4NzkwK6CeFAkui4qJCKYFbowYokLHbvGaXvqqNfKAYJ0lCRAsRrkVactvPs5ud6ivnCaidtNc85Q==","signatures":[{"sig":"MEUCIQDmXqHrPCVNo0U/sj/0coWWEJ+MLl5Er5Dg4cUc7Ni5jQIgCbWHcZ2E1Fq3mz09Ux9KhuG5Xdo97CfLIoHoQ8K2FIo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggf9BCRA9TVsSAnZWagAAujUP/i0LtmDvQkCMajnGK4Or\n2WSViquSSkLyWuMJ7ZpDekEcbYrkiZqkqounPGcWxehbQybh2wsbWd5H/a/U\nab8RAgS06yzFmU/9+Uh0xXzXJDnfw1+b/tk9l1ByFNpoLAH5q0H0ImAQ6wT5\naYUYKB+VxUwVAPLG8Il2uUmI/2WYTG7rCgtGzaXdL02+x3mIavTy11aALp9D\nUP6wsnnRTcb2xwK43Df6BqJ1DlrPd69Z3ugh+FkT1MN9VpE5ICWZrUlD74as\niUerwpxDbQX3A4bnMCn20fJbbgvMKPjAvuJiMl7ub6GBH8Ak6uzld1wrXnqv\nsu1mhd9nyHml44M6MaFjSlzmN5doH6fV7M2whIExCRMqH02txGpM///3AtVY\nlhmlP9moTN6pexqepZQGuteEGMVGbWu6BfJUtcDiIucpODdS4jQKIjOzil/4\nkrOmXXqN5y+9zAmParr4NAeWwWb3iChDMeVvmoMCloYzk681PwqBoxUqOZ62\nN7k5nSxrwWt7ft56idilzaD1i+MmncBf9WXpw9xa+iP/zTHFShfHIxq6w1u3\nxoSN1WBq/YQYMD2iuWJLFy3Pex7SlZryYUiBZ73bs6YCHWDziJqwtVj7NKdM\nkNfmKRSQS8AyaN5mCWISgVD1XbcNWwpW3996zgtgLqjVP9/i53svT+FK3ksd\nogGN\r\n=8wpv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"4647051168368325b28f995586bf49659b86efa3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.2-pre.2387","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.2-pre.2387_1619132225011_0.9626568718282367","host":"s3://npm-registry-packages"}},"0.13.2":{"name":"piral-jest-utils","version":"0.13.2","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.2","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"52d0a91c560c420daca07e2ded353aba450a36f1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.2.tgz","fileCount":45,"integrity":"sha512-s8X6oW0DnqyKtqhtIZemEA6ytqUcWrfJ6lT5nf0+1+9Qb6WcU5Jk/KdkHKttde86BaGPfgA+q6HJEj+npeY7FA==","signatures":[{"sig":"MEYCIQCrKXyaU1FPvFj7JvIFVEfaOc0vcJnSXU4CbFWIBWzatwIhANCSvMGA8n7mB+j6WQwDR8AOoLUJftEG+LhPhzostcUw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiDluCRA9TVsSAnZWagAA/hIP/2hUfezYkIIxmuf3g3di\n9DHoQZPyYTHNG6VmK9JArdRw0DumykZunZa9uvS+REeRetaG0CpA8lEwmiyK\nWslcb8VKBC/DK4SCNLH+Zw2Gfggauvnx1H0aGBdd4RLnjY+PIqa1fTL2Comb\n5s+60BALH0XvF7ZE3wpzxsbsG+BoTunxrU/ZiQsnNiBxhlBwISNo4RCW4xRm\nc1Z7cV/h4fLmpYuA/aeCyhSZlwXt0E7pfdzUbP4mQ+kMc447ZYVrRkPWcvma\ngT2enRlG4dDxkr9hULh4CdcNTflBpTgtRBRC+MQjOgvWcPJ3QJRO7t3LeE4b\neSksarrAQqshP1PV3TzxeFH4ALQUg0hE9rrTCPtY9qGP7VO4OvVTECOo5owS\n8UaYNOuIUueppo33dLHK31B88jJF4c7+ATeoCJgimBdWDjX+XMs7If7dIi6X\nzQypMAYdlcmCeBJFf4soVZKT1+FBayt+h7YcnoxMZKvjJlPhpHo0KCCTZAl0\nbAbtLZ1WsEWqzXD+XSCFikxohaQSywfXoYzsjw2U4jcV/G1l0OOiKxBIuuHs\nSeVx8ztB69dX2Sc8bSJtS28n1wnqNQ+qrG2IgujnhVQ5lVHhDLwSC26zlZmc\nsvYnT3RR0a0mezW424HqgMeiA/sr9pxocBdAbHHU8tKJJcnbfz8tNC047aGR\nMR9i\r\n=X6j7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"4326e3f73451063ee3b531c4372a59c72e73b1bb","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.2","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.2_1619540333864_0.49406439147867753","host":"s3://npm-registry-packages"}},"0.13.3-pre.2417":{"name":"piral-jest-utils","version":"0.13.3-pre.2417","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2417","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cb658d5a5b00efb8a49b092c7f485b09fe8cfe27","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2417.tgz","fileCount":45,"integrity":"sha512-rThXWMt0TkKqlEqnozczZ0TXMI0fyUgOiiHSWCfJEMrKFVkpEYM+Qj8QdwJQyr+XjbQHElehrmo7oXbc5xnHjA==","signatures":[{"sig":"MEQCIDNTSDtocM72OJp8Ze0hNv1lGy2KoB3HbOCIib1AN8l2AiA5dC9fkpn02rlEJKFrBMa+E4OMtnqK4tNl3sq94pJWMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkRWpCRA9TVsSAnZWagAA2FIQAI88/F71TRFdbFw7427p\nmHggVs1c1yPM5G6oATmhLi0k7Wm7x73HprgqXcwo3AbxcyIqQEkARSUtzp7+\nJzgC5duMj3DBp0hylq/nJR9grfT81eT/1pCPLWRwfO8oY+MEnWu5t9My9lUD\nrkQHIucJbA1JCQ7C+aRjT0Qcr3BDwdOr/ZOALWNgsNjsaPdZq6SepKmS9TFX\nC5GghOcZ5XFVPZ0KzCuLx/z76OrVSo8tr/sGEKuc6speXoGHGupdXfFrpoTr\nCs2V2pLoUOSal8j9A2kITolrD0UUgkcpF/aDdg9cfHWeWjt0nWhkRozuI4cI\nCsgdYleyq3HamAzFk7SkzQxF0SmgQOaY6RDRGXlpVzc/Fhp4F+eGAMlOWWSa\nrYDwNWrxptla/HpPm1YwedmUvZ0URzgAynlgWlcLhzZ5hG04KJoUkXhs4uYc\n3ZizQ8xIUl3idtV6whGszYn1Mquru1WNjyFy7Y5u2Amis4MewirZCXo/683G\nl7LNQuGdfmZgj8f7AbNNa7vCfuVZeChJf1IIy/lIGxEQQehkvGHr2j/CPn35\nBoBMlixiRKzB1SZyZ9azvQ+JpGu6YOlY+2o5GJFo+RX43kezKpHIRtNwaVWW\ntQGnp+wWIo134XGFePd9vH1yQ13w+F50SKawr5kUuKWTxUxqC3f1ouPsLROS\nDKOk\r\n=W9P3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"17fb2d8b6b9ce724a71636cc1521af928a3ba279","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2417","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2417_1620121000449_0.5780950653669219","host":"s3://npm-registry-packages"}},"0.13.3-pre.2419":{"name":"piral-jest-utils","version":"0.13.3-pre.2419","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2419","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fdf91ee0eb8ed4ac7cc2c2249ef6f4dac2a2ec1f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2419.tgz","fileCount":45,"integrity":"sha512-8uFuwn1FZj+cQvYpkBvAhPAyyt30ZDhCJyIdp+FCLLkSbMO9eBYpH70AXSs63MVXZmffj5LDTQQZBsagXB40kg==","signatures":[{"sig":"MEUCIH/b46c04tHY1lJd9PUJZPKI2OXWY8ScbOKnNqNKBlPYAiEAiPKzXh1oFAZtxmSosNGLgbchcGeDrE4rQvbQlgnIfnk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkSoCCRA9TVsSAnZWagAA/EMP/jb24Xw/n0ocMDhAe8Qu\ndvz7JMsqgAnyyzS4oIhSTyf/x0O9L5AcnRnveIFChM+L/RhXfAMX4JHgWBGM\n6UPOJGu5FRUHBlZJUL8X2JIzrcuBMNZ6VzRgjrFzuFczwWDThsZ5Tj0WY4+J\ntBXELWzvAP0hGH+PZ9P5XwlQodftWdqS2KNYSJuYHS+PLYUja00q/ZPTb88C\nc0kncG928RUvacxRc48n+hxcclNSdSDZyn8zQIIkZnZ7ilF93bkaN/werSwF\nAxmNOHN9IZ1gUTyOxUsJx9DWWqShfI3y90Cx/XcX3FnDOyT7BzDjRAYL7xTK\n8hjDa+PDwIxMsE1oJYXte8xpwzl9VH+FrbpLRfXZe3SZEv1rZ9p4534/mKVL\nXBvnZxqEzLy4VaEAT4IUQOj6MC9BfyDnZ2hUpfaYZrsr2zPq6GhZQXmGvoQh\nXweEPEoRedj3tdl7qAHYZWMbDqjjv6ey8WE9zh/6MNhnV7h6ICjCFcrXRl+y\nzfge2FRBNKRmX/a4YWlUpaboSQ/+GCKjHd+PiyPXSD560syXlAcm8Fy4/8Pt\n1d3LSXxEMPev1wZlKrzg3KNR4HSfVyoRhELx4VITXWghJxGZh0phrg5E8X/J\nMtfSsZ1jKr85jKkkSthYmh6f36Jr3kADYBg6bMAGS5BY0vW1bXKI9beix0jr\ndCae\r\n=J4fa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8aac729bb51da8426a373d5e22f2e857860ba7bb","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2419","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2419_1620126210112_0.3960611240299421","host":"s3://npm-registry-packages"}},"0.13.3-pre.2433":{"name":"piral-jest-utils","version":"0.13.3-pre.2433","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2433","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a01e9456aedd9421bab9a25e83490e374bdf623d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2433.tgz","fileCount":45,"integrity":"sha512-nTXWERH8s1zfxC+yoeRmSYoe3O3ChfVzTNIuWhzh543Mh3HQZiedhTD/34glbdQhEfVcqDrg4rh6lB6E2xSBLA==","signatures":[{"sig":"MEYCIQCiTwIoZNzd4P3FSKwsOPlQCHs44EM3MFY5GuXND0PlJwIhAPKBKORZB+pbA9TylJpSrc7JO593ZcmWViqMy33x0bZS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkxHsCRA9TVsSAnZWagAA7yQP/0tNetjElNlPJlNUFYPB\nN/kBht3trfoEjoCvvfbzjrocuQVvwjK/tFnTuUdtuHGQ+y0gSI3LLonE6Je8\ny9lrUtzqF+Yl39GLx7PipXnP8DusV1lJ85x4BCaEsSzTkxI3OwDFTM9Y11ln\nqPhUxg7WaTjwjYIVEP4pwW7SD6qzTG40KdLsrptf16K8dyMZ9y563GL2/k/U\nXIGXUUPSANSNgYZnNP2aFLBJH26euBrmMI7VcNdrAw32RzLkg8JScvbefvlt\no8s2fyv633gJPglY/GRCcGnbpDtoE+LRamg6yyBPy/WPyiZ6S1PXGPr7hRg0\nlm+c0idiIquHMt6+zT2wypTz/GIe0jzhulf2QEeBAwLKZJ8/yxEJHo0bpuOl\nfirqApYZDF8r2UpW0OrZiZG8x6+Zbrl+s+WwAAS7JQQVptvjnj8Drw2nBa57\nr31acEJBDg6j0xiR/6a0k7qAg5T11w96/eTilVMwnTsUx8xdjiYaQDJOE/g1\nXcRyRSmbzWUslrl5AsvojQSJdkXm+wsCu/d4YBojhMG/gNudzN64Ojgn5Fxo\ny/MYv73UFNiDURNj3biDt7gn444w3ZsOcvhhrhFHxReKDX+M6SIq1IyP8PSL\nSUpQ13vcbsDhpcKJpaXLUP+fj2kdHGHO3MEYecf83GL5sshlf+wJzVmQ07hH\n+JAt\r\n=LXa3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"9007f25b9a69f1752c700b6d57d0757631ecc2e6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2433","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2433_1620251115623_0.8582922611746273","host":"s3://npm-registry-packages"}},"0.13.3-pre.2435":{"name":"piral-jest-utils","version":"0.13.3-pre.2435","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2435","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9054fa016b9bf907636ba0597bc8e96efdfede2a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2435.tgz","fileCount":45,"integrity":"sha512-JELKr257Bixkv7V2yctKpOuu7MuFUxwGjHmFIOpTIVp2qhRjjPhJXtSV3OO43vDVwoFPiOnkA8fiU4Wb1FK6VA==","signatures":[{"sig":"MEUCIFbxi7UQOAEpwS5whpBTg6J87C+cphjuw96xGpUWgRhpAiEA5u6RTvuTmsX1wzr+6sIAJh1AjAkACIDMgxlMNohtg4I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglFcICRA9TVsSAnZWagAA4FcP/0qGGrAj5jsb9VQbTVgn\nCBDk4GT+SruiUdR0JjuFW4zzNJ2rFQ1fIlcoMtfS2HFyLJeXmju6KJhIW6AD\n00rNsjsJWZglHQKvZC/joagWT/aK/71rBwf9LZ+nEIVRKnS+HNhW4/mHLbPD\nZGG8ZgRhKn+QUDmomtOMeilbb2d7rNCclBHZPCHh0RuBB5oRiRixb9+4vr+B\nTr4chOxAOVok5rl9jRstRt6JcxXb1VBZe7b9v6F4QSCWKStMR8/mUBZpyjtc\n0C2hzPBfYxOShfOBrOXESBwGUIOapkh+zbpUsDpcn4zMTtDyd7HTCWjbUZ83\nMVXIghbUiGSIWl4M+JHrJXLYhGOolNO+Q0n5XROuleEhnHpbpj0EyyR5l2QO\nzg49Z/WZO1GKtXUFq0Lh2rkGBu9+4V0lUAHxUxqA6QmG6lnXh5U4jVehTvtg\nLX9ZmkDvU3uxLaPA9FiiIkrvb2hcP48MhnTllCUbgtciU6gYLc6WI6PLRtTJ\nbyiL1G2ZGxBe2YexPeqf/Wr+lJa6bi4yjtKrX3HOzlwAgj7tznlbyrxqNZqH\nClHwI78TbnSCgz5L8/71xKV53kb1Bag8aMOq4WWR/XF65bx4pJ8BFTfoJlZx\nD9q8ct7iSYZeRcdsjSIZM1MAW4OBBULwNHCaCvoNKXnV1s8O1q2pYlxy7AZb\n/Zso\r\n=HKPQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ee01fc6061cc9c99b2c4a8814a98a2e8151902df","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2435","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2435_1620334343900_0.07978382458785638","host":"s3://npm-registry-packages"}},"0.13.3-pre.2437":{"name":"piral-jest-utils","version":"0.13.3-pre.2437","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2437","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e86c1bc00a77c05e14455e6c68800f9e53fae9e7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2437.tgz","fileCount":45,"integrity":"sha512-WivYFF4HQZPJbiDnqNKbC86PMFYPmwINzyIzidr/lYy9YWm89I8Yv/jB+RfFp65EF7MT6yTcOa8siPoGIAg0qQ==","signatures":[{"sig":"MEQCICks9m1K2geTHakhJvS8XaVn5imCryWybfLgBGNSme7dAiAGbvIz2MmVaM0WmIi2AIj90rI6JdynctriDrwPYYrbGQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglzTfCRA9TVsSAnZWagAAuFsP/iJ72R+GKHzBt7x/XLzo\n/MwPM4ncRs/tFhSoNXChnToVDgcCMMLQQladEgXFpt+bYJnH6oRR7+aydgS4\np3sdX8hKEslpBTfwslguGIkU6hB9tE7VVHQse/8b4xjH31yOok/2MYXpg5Lp\nOBIFXnAc21g7UX+xsVjl63xFuipDlVFTjXCF9KvaZIJebSY8blYxX+PBsxFs\nq7usaglIlbvdP9mJLVyQHvCKVA0P+hHWEP5NcJUkuLsJui9CwbWp7d3plBgE\nMsdLpdABmHOFEPoDgCK2zr8wbREwOINCSxN/368BPn+XDJpyPmBF/EAdJ12o\nYQAsf+xeY89zkPjnXkTUubsx/y5Ecvfo1DwYPBKFhmyuG3RhiRwRNea7EYXG\nb2C8cD4iEgvAC4KW2Mm220GdHvi3DnMI8CAgaut641GMCS45XUAN9kxeVamz\n0RO0g3pqp41kl3Vni8G0OgrOILwHNEOIM7TJ9aDtKPHojlyLxsydm3jV6gle\nhL33gHy3zfKEtF/2WG1X1cCvBfFSNsQuHmk9VbGfQnjvo1Wl2jYFSYscrMhs\nApD4cRvR1oKgdIabeA5vsGIY1y1sX+VNpIcf9DKgMCecRl5ScedSmp/yZo48\n826BhTjCeqVAwtknIO81Pd5j0FJpv4NOsGz8S61AXCirR5h7vahD68u6u4j0\ny+xZ\r\n=lH9Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"c66114d2d94ef4b00c2aa7c79c43444efdd9b953","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2437","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2437_1620522207344_0.5900043565524309","host":"s3://npm-registry-packages"}},"0.13.3-pre.2442":{"name":"piral-jest-utils","version":"0.13.3-pre.2442","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2442","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"16f5d091c800a500f38502fcdc8dc2e850d4fd5e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2442.tgz","fileCount":45,"integrity":"sha512-6xH1HRaCab3T+r/OQ+C/0iVGWVTBcdrr/qVFLw/y7Qld+H+msOPraBB70REZXMO+oWHTj1rvSJT2DdLyNZAYYw==","signatures":[{"sig":"MEQCIGYcfAVW++GSACP2pCuBd0DnEF1EXWPDicKUSnySqjeWAiAB9qQO3+2bqBtLfT8d+zg2WNiGUC2Yv71E7E5TZbA4vw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmEbvCRA9TVsSAnZWagAAAx0P/05zB3tm0fmC7Rd1ufHw\nE4wqud8ajBPc5sr4XFZENkwGcanyrmhObcVIFukvkj3lhnS0hQ7v8A3DUa+z\nvANP0Br/c420qRHp8FZNG+uAg/MmE8feWTBgez/Fk10lQn3p7l+vID4LvUqt\nHQUYoVzWjjWlRBcOX4/T/tgVRaU3OsCVE6oZ48hnoXUtF7IHrye0w3gbVdxH\n/Q0wne605SRLXztaMLraBmrdw7ohFPtUd3vna3zMJGlRpP2yFqYCwqVdUkER\nQ2buIu8qH6ErGTQge9iFk6WE68qKUuJvvMQtPncb9QG4NALyZbsB2XRelGuG\n1F0/ka3/JkIb3DmY5N28vPWVmMOxHWT48WInTofr4G8MRtxJUR0IDhL4oCUw\nr+B+2sLi+0z6D3aBKvdfNgibLf3D4cn2sr23QEjPOqU7H/C1UdIW229E0crX\npPKmrrVH3gPejh/z/a4Cm+og4ODzzh0RQg5t8beRoDjL+ny23Q4epbU1uwa7\nIGRGu3LBCoFBamXLGoPrADNsFglYhbyEkMzlTNtMz7XWlUDR+bPPHsDHgL5a\n0h27U1Os93HHnmrmW6BBXKRS0uuNlYF2ZZ9dtOQJtwmFEoDSU6g6NUJdiLJh\n09mweSJ0ecdim09gX9e5Vpj4ZsdMO/CcMorqYX6KAYMAItl+Txdk3l8eargK\n+REX\r\n=kY/m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"aefa42440135d97abd710055953dd7f1f1f97cb1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2442","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2442_1620592367537_0.66890560706878","host":"s3://npm-registry-packages"}},"0.13.3-pre.2460":{"name":"piral-jest-utils","version":"0.13.3-pre.2460","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2460","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9414a3f0470471d599a55928fabaef124e00d026","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2460.tgz","fileCount":45,"integrity":"sha512-Wei2lXu5QMdc0zQ58AkDfODPH/z65+1APRYmJyZiNlKk6jgO1yeW92Ds9TEBNPJgv+4X+ClPTZrYPiceqeWoaw==","signatures":[{"sig":"MEQCIA0Sbd6WXXP9zNtvPthzfkEcBiw9QAfvTtdrtmSuFBNJAiAORK/knjD3ualVDA8qq6QcOb8GC6dOU07I4fAO9nxrYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpRSICRA9TVsSAnZWagAAnWsP/1xJhS/IGtYWnW/xI4At\nCcfy5earI0dEv8Qm0GKWnZLXtfncO5doRQnB5l2dMdRQTEzUnL/zMzWJzblF\naJt+qmskfbTgymsRpO5G/Rf2GKLd7CK+1dEck1/3f9QaxXyxMCSKY2Lig7Ic\n3tugfbQLu7BiCgr9eZDDXEfl8WnOIXMtP288cSDHLFptCSqhRt80wAtZ5p5A\n1uDxIBieD0Dl6xNyQC1/tXRSfn37x1+sfs3MI9qFQRPSJSU4zyb840+e7BnR\nH2ALo+d0yJq5YXeHpaAZWtRXb+wH8NQITzfgMCRsy37c88wVbRBVRafExegf\nAR83/AeigcZuGwGJxlnJigglBL/K2xdvMpDK0IiEIV3ZaOmi6iqa8PcyCE/W\nrw0znKmkZcT+pU1Xf2PiV6AGm9+sZvus3shEcKImspbV2kqIrpZjc4rOLsIH\na2cc92DQAB0rE6uPkJDQvY8gUZWIgv2nvTbWYgVlDUK2s7imyzNBIVRaWR6y\n2FGEX0UC3+k/9imtxRe62Nz2+5qFSCSaUO6C+tEJ4fqFqKWOObkSCd4pHVht\n5igitHblFSFlb5MCIRqsnugo+hLR+PDQJwnHn6P8SDZzJ5bBIngrhSfP3c6H\ndPSvjr+ZgxwCYCfljP/7sm0YX0ZiHz2TjgSIZUrzBPXFIaPtDqh2hKge3lSD\naTEe\r\n=/BJW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"11094c1d3de1aa4a7b07f4a7df9148efe825ffa4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2460","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2460_1621431432274_0.6350180113570998","host":"s3://npm-registry-packages"}},"0.13.3-pre.2477":{"name":"piral-jest-utils","version":"0.13.3-pre.2477","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2477","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ae90ef0bab5c6cde73cf66dee09e6a2e34130e8e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2477.tgz","fileCount":45,"integrity":"sha512-ZmE8Rknp3yLIEROBkErNKrxuuN954L31jMz6BJT7kluF8vmrpJGIAo4bk0zeONJcqN3YaUmU8eIv8z5FkBMsaw==","signatures":[{"sig":"MEQCIFO0hm/HgrLf57T5N2dSGm8MdP9T5i4uYeFshibPnx1SAiAK3EbBqbGg2C6g67+P5sOBAUx1Bq96yHMFdJ+Vr4LY4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrQ3/CRA9TVsSAnZWagAA+HkQAJFKZkKDK/+Lyg3Q1677\ngOc4WiLnsOumSm0613ZQnhbIRnU7y2xHy1xTWkd2SCaKuN7SmdiTutUAuxuH\n3cpB3k5tJ/HdF98UllnOGIFzQQBNZfhad553H2Me+r60rCWsST2L47FmM5C7\nR6eVHx84dccs3PJlk9109tu6pH9kLdwflEOrGJq0BcevGkjlPFaVfv9ZcpBn\ndLMaRwwnEZba/dJDvF6JlfuC897Z0LTJNkylO4RbExM4bYqNDBfgEJfxAjVN\nXKEWEmHqU7Xx/uCwvD3yNrETOECJ8+IDYukapv4A+jDmbdJlFmdbtOV030p/\nveSay013BlTplqm9odUr4wQLKy7GDhDhJWpqgN+r/HmOYR8O9tNfpbUqMaaZ\nA01GSPCH33TmdVu6rtwQk8oHPE2x24LeshfkfoZy/xl4NpJYi94xuExIsHbn\nWn+PEI0lU9rGfWM/WQLYbFV3I1k3dI7T8cSPlo6ZvIaQ38wr/Am5AIfTCSL/\nkJazBY0O730DvrBDLJhqp5WDXCpLGLrDaDp6ZsYPYyMID6J07nTR7XLMnTjX\ngxuJjexWR8qkkvYeDpVDXNZR95t90XY4hCml+O8wyciEoAszunIUfn2Z6Kg/\noGhz/GLlB5ddwlQKccl8ByiGztYQxGvnS7hrmT6u5jlfIh1GEeEUXm4/pEUr\nGWDI\r\n=ezD2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ef4f9c312742856e05815d1eef00504e9071d1e2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2477","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2477_1621954046641_0.278243856629832","host":"s3://npm-registry-packages"}},"0.13.3-pre.2480":{"name":"piral-jest-utils","version":"0.13.3-pre.2480","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2480","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1ab041aaf4b5d89637191abbc8c495e8ecebe245","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2480.tgz","fileCount":45,"integrity":"sha512-rLNZF8h2M4GXKD9gHMbXDEDGBRSbnHvgeRRFS+cQee8aryuAPmEw8V9CpcUQtJvbgtrmVIBOhSAE679dqTPNWg==","signatures":[{"sig":"MEYCIQD5ssW/e2xdczGYgy4yIffudtyWFjjtIUv3+cuvsAB9TQIhAJaMTfxwsC/73iiiWGiKvhuJ4GifJioFQHo6ZKC+lUTR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsJxkCRA9TVsSAnZWagAAsZEP/3PYfQPD2d6CWwQH9C8K\nv5xd4aXaVUB0y2tr5A8EISqYB3d2xnDdx7BsdsCxeORQRMHoBVKd+Nc6UMO5\nqIypY7Af6p3xoG+7ykQlK/VpQrm9HUmy9Mja/lCyxVByzkxmp++mHsYUT4G/\n/frxFloINZd+8Wc4qUk3ooMd2EemUTi7S+l0CzCWNPfyKVMOZgFfDzlSwHlm\nmx7o+d6tWBCtLBWGMfTTSmlj+zEgISwMMbBVlsiIHfFOdoZslXjgRar9Eiew\ntQkdhEH3owgA8MpU8iJDvKMRgmBJTKkopYZeBdZBYzG3iWyJW1LAazfdDjhy\n6r/RKZMvCvIe+1U8c/6f+sTAcGNeFi+81RQ4PS2Xs5Tl3+crA6EBRfouaUke\n5CcsUiOdGQRN/8vif/zv6/zaYc9lCBGgHR8D+mybJiGV9lx6zMn/YABf+o06\ntPYefaFhdqwmyxCtNZaykPkgVkYTkyb+0r2SXWUitEeb/GKcnXBjqjmMiVl+\noceYI2mXGiCTxFrhj6DlYpc95HR44qd7UfiEM65RkpsddDplytcHmVSp1j0K\nQZlq8QGLmIxqeJvSb6Rlcr6YWjgDzeWtm+VqWT48nmzyYJtneCqk/eyq477K\n6qAXcF2EP3izPsKKwkqCPOhaK9F8Jr+00d8dfxmdB0kK42ESpyXcVmNlOv4P\nzjCv\r\n=rlvf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"28679daf515684133859cf6f7c54d4bca57cbb13","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2480","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2480_1622187108008_0.5382346500249144","host":"s3://npm-registry-packages"}},"0.13.3-pre.2585":{"name":"piral-jest-utils","version":"0.13.3-pre.2585","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2585","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"39808c683f48596dc403c14ca7321f365eb465f0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2585.tgz","fileCount":45,"integrity":"sha512-VG4qqg9ZpBz1Ng1Dzrj1L2wTTeiDb7aXIU2HekiraiJbDIjrSoa6eSlKCfcvV1t8SHVbPN7g3IUi2z9bslGEqA==","signatures":[{"sig":"MEYCIQC++EWl/t7Ejegd0jfTmSDhDz5t7tnRI78wcTBOuChRygIhAOt/R1wpBXEHvmS6l2BBOKTJJ2bsp7oBDQrIPGJvG1Xc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyMikCRA9TVsSAnZWagAAbjYP+wUkam254Q5eUS6TR6Bq\nqa/Eh4H0sK7O8dO5bv4hlGLubmNIsowcJ86Ek4DApS45to7JfJXuaiUc7Zk7\nevnp1Tr6vbSXTM4bFekNA+joVavPT8aQfQl6KLG/6Ddpb7Vg+e1Ag5KK31YF\nw9FnXIQ77Bd09rVvPMEXp2XbR1ja70+PkG4grNrfQ7YuHTqaGHMad+lmI4DK\n8boeMTkM38MruVyYSSlVpfQsh+G1ufERZiX1b3GsglI1xkvYihWJMk2vtzjN\nwPe1eUyeKR3pDehpsBu6Ezh3bit29FOKjvQs7AnMbOnbsHDElxhYNevgsUqj\nC0TRWqvbdZasoAhvciX34Wedab2Vw6r/lqzBrEQtxS3VHg/3QcbU5U64WW3y\nmwNxdRGAr623VQFnFkN4c31drsYr3XyrP9FB6rtydEAsnW+U/7KtjnqJN7oQ\n1bd1vphRRn4Es2SPsQ427s+LX96shlvXdyCY4VB0mQzg2BnSVdEI/ttIgVd1\n8vuW7IX4NsSEUZ+rtdJcL7HJV17/cLyBwMdDEhv+2waUHlMpdBK3cgtx9l37\nf2XCq2NuGog5YrVy0VD0XCBmyPrw4LeSAEkEH9SfRc2wP0RhuHQvA7JgGWMU\ngo0BGM9y3lj+Bn4fhp8oQFwKweS55fCQt4YdbhktagJonj/ho+ZSi+iQgyv6\ngpLx\r\n=VnHY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e19514643b1fd5873705dcef55dbbc65642d2a03","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2585","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2585_1623771299978_0.630687367796751","host":"s3://npm-registry-packages"}},"0.13.3-pre.2783":{"name":"piral-jest-utils","version":"0.13.3-pre.2783","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2783","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"00b4f830cfcdd6b952a291656de0d277ae2ad358","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2783.tgz","fileCount":45,"integrity":"sha512-xgU2lxRHY3U8jjdFUtMaEtVrjI6MlQZQku5xsLMmNXog9Mcd17kxlfSZmcZIgv3uCb8N+PIT4iPB2zRfPosp9Q==","signatures":[{"sig":"MEYCIQC5cJNlIPTIke5II13npa71ouTiNM5liV+KnElrQYAj+wIhAITSlI+0Wwy6fzuxFPpHBR1KJ7iifixITOZKyzXI05yo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2JTuCRA9TVsSAnZWagAAaj4P/RKyCYB6dWbvWRWrmItw\niZe8KampRRXYABlhhhOm1k1y52rrOOIpWuP11rKgOw6+ugLAeWUK+jjDuMk/\nEG9fOv35IfBQCD9rZ2b1PO+EpOfedQpbcyojunpZ5U1dZarWlBKvJG5TUzHV\nZ4fPgzmsgnkDrVZDa+egUlRxUSGRAesi9HXf3oV8OABiclXXn9u6BaHVmzPr\n4CXEMcyUdp/AiPgeokEN4q0fGrviU6/YlY5U7I/IWokhrYe1G+Yq+DTPvudi\ndRO03pLqSadzv5gasIwhGnHclA5ZrE2bL66QPDtyNdcxHtpocLCkhDOmxsM+\nyRWsJETg8+qFQD/fXefo+N8uBeiWLGBqSVT9qx/8qtWBOd6Z7JG5PewCUOz6\nRG8YyFUqWT2AQhHpb0s0kQrqFwBeyh4VhCdLRpKwy9zpYMkHJE8Ppl0JFgeB\nZMWZ6/kt2btvuIGGj7XH55IdrCf0Mb9DI0fKpUEPtwetiYd2mJ+y68SPUt4l\ncfSRS0Q17pT2oXsYRwBMfoCKkHXNeDhN5W0V25byRCFB568Nd32VksN4QD0M\nbQ1ZK6FpzwuD3YYUhiMkNAhLqpGkwRMjOc92thg+8umFldKv+ZlAZYW57vV2\ndoWa+M6SG1henQrLlOGBML+pZrB+RpVbOaF5QJ4s+E1k615mzR5j+Q1A/404\ndsLy\r\n=ctKL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"d5d27630af09caa06ec633f00be17b8ac98bdbf5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2783","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2783_1624806638435_0.0003354925131024977","host":"s3://npm-registry-packages"}},"0.13.3-pre.2928":{"name":"piral-jest-utils","version":"0.13.3-pre.2928","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2928","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5b56297bfbdf37daf8ae2c649b708841ca8f4db2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2928.tgz","fileCount":45,"integrity":"sha512-rHvfG5gwyfZeyRtlZz3QEvexz/1SztaJLOxO+j5hdTD2zzlVn2H/TxouumCQSeQevoGp7chf1QtFO5rfAlRzNw==","signatures":[{"sig":"MEYCIQCyfRwyZrdnu9rGD8pK49+wCxmwQfvS200L2Ha0EyvGrQIhAL8lj///5RCm8nucwwANPlYlubwgd8PxrrRLRdt0mGmE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9hLoCRA9TVsSAnZWagAAcK0P/j02V/3NfWZ0VFUsoQTF\nPcH2aqSeiQPKLOQjl4VZDu8XZFiBU2Xb/v/2nzFuThFPXmLjJuQuB5WrnJ+H\n4MX/LECOiMkFp97whnMf4BxeZzBml44eQeBQawjDqKRs6b6LzXeRAweYmF15\ny/yI1LXBR1sg6sg2byq0UZ3636fysZyrXsfOOFxD0YRZqUQvS6gcJm4N6sqH\npfiYwao7gwgwB0VqCFPEooHQn/dJ9veSOv8y5axdEZ6aGeXaRPXd9kFF597u\neEhT9VI/5z6SXcatChZY7i/46L8EBxMrWden3dALwrcHUTV3+bO8p73sqcHA\noTIp9RYNy11K780uB7CGL4zJ33P0rv1W5SFkqlHdXkGJxJdFjJsrVonvLVWz\n9kF9KekZdQJLROuVpW7nPnCajJBgiKgTQhT9BdUy2uxx0vswVj9qikJbvNLn\ney/YVstjrPRFgeZjEYvYbA21ul60m8fsLn1OAleQZj2oOJveF7ZkUQLuWiuo\nw4dV9IqG2gyB1a/wypbhJPoMG1U7MPcUrHVKADM+lPmim+4/L/k/CEOY0+M6\nia6hyoshB6DiULhR76C/HohP2sVPPpE6t4hmQPkw4m9OIeuNpafP/QvLILwL\ntRCk+ZuUBsXi+wmHULNf1sjUiAiXQk3Y8wYl3jVuG4xHhW6EvrGkoFH22Y5W\neaWx\r\n=XS10\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"6b0e2084d9abd9ff80e319aa1119adf4c3adbac0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2928","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2928_1626739432190_0.026471587382329353","host":"s3://npm-registry-packages"}},"0.13.3-pre.2931":{"name":"piral-jest-utils","version":"0.13.3-pre.2931","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2931","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f9ee9100b3f2398bc7e39fab488cdb18267414af","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2931.tgz","fileCount":45,"integrity":"sha512-+YGYl8yTrXptlQOnnwpcYsSPHZwH/64TWEkqXuPvnUBmmM6EVgjU7VDp2slhvwnHnpLL+q8etWTEbBvOuWJ5wQ==","signatures":[{"sig":"MEYCIQD4JCxu5dEvG1cCta2olAFARqd7MOkGXdYwQF+Zs2nEIAIhANNxnGWVRmVbRnAv163MiwNETOrUOlAdooqyGDlZsjRL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9+jRCRA9TVsSAnZWagAABs8P/1oS3cbr17zGLc5dP8Da\ndUKviKf0rdhlJqLuXC4GelgIDhireqrTdcv+NoDH2z+QRy4a8asPV5qobdfk\nSjzW/35x5qAI9oCuaxcyGG4yqu4bnSdUrWsdmYpcDwx0kEEhAoaXmtyvlXD5\nrobdGua7As4fK6mTSQeQujqYeuBKaUN+T3GNnTGGeB0GODLWCt9APUqJKhDA\nqdxO9MQDCYp/AGfOHxiozZqAmKVwcvsMOsNY8TWQOuTmliP5QQuKrnYMPdj+\n8um3YjduamNFnKDro3cgEBqfRjyXKa6yTwFqcEQHYxoWdlEMw3Urx5JYcpVM\nrRDJYS4xpdczuxX5NCgINPTf/kaJRRIXX6JuOepEyXsYVTGU4GXPtU/WSNSH\ngYnuCuIKLhfapcUpbBr0uLu8vIR5RDBUm2ba2L8qKdQkkHrFG67fTpKSeT25\nYwVXUJO04Fq92kqJ55NSBWXrUauV6MdYY5TtHR2QoXrkREM3fY6tPTRrKDPp\n0kDMK859SvQr7kNCJsThIK3TT2Uoc12nh5/Qe9cpL5CPhCm5B4kgxHhvtidX\n9FJVscIe2LFbsqIV8eOblb4F2tQPaVXtjQF4jShb09jVVgXB/Dy4OECRYirw\n4B5g7O9EpIBtaaX0wFPqgN69ElcN0Xo033rTAjYY3aZ8BWB4f/TNHsp7QEcr\nlVg+\r\n=4flQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"2c33e1b5cef25c3e3a3c75434b41d78053f86976","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2931","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2931_1626859728847_0.8414874050965819","host":"s3://npm-registry-packages"}},"0.13.3-pre.2936":{"name":"piral-jest-utils","version":"0.13.3-pre.2936","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2936","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fff65919c26223e84d59994b75f67f4e282e0fea","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2936.tgz","fileCount":45,"integrity":"sha512-cFEBX6RuYWVjtU1MIa5LoFhD4sjdO37BCFZ9qaELm75P2q3y1uhE4nQHbtenPkBGD3toi4jJGj6v0GsqCkjZBA==","signatures":[{"sig":"MEYCIQCgJ2gn+F4PB8UoMndqtspeqdy7hoaKPO/2VS+qTQgO/wIhAMe1qdU9V4Sa+EA7XO+Y5jMiIuTdp+9gN4TYkAiBHp16","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/sG+CRA9TVsSAnZWagAAddYP/1sz98UK4mNAnZkr4i/U\nmDFI1u7uuiYQmnPukWtt7zywwYcrWg0kHE0/KW+eU/bdMl0FI6KGHsoYT2x8\n5yCbQLSnPd+AwsD7FTEoDGF0byWHdBmYKwLBVRLZ+Y5sU94ShJr/bYYw1PC1\nHraggyDtT669iuRNfTxLd7qUCmYAQoCE2PPJdJIDs7gVqJytfc0G24y2UCu/\nBDdgDK+7ekfiqCEJYE50U6GkGt7Z9OJKkAf5cayMFzDtvCw9J/mtqnfY8w1J\n+6AEffGaiJJ05Utig1O7kXghejOHnm2ihPqSTu22dO+q2+zuSfRRtHQZRx96\n+oZUOZSR+CTSnLOcpxl3J9+JLXs39Lhv7k51nlRosN9zUrM+YNLECqd9ma/w\nreAt2l7agt3aWsmFxYuhCTmIJPGqmHbe+y3jO0QNz3OgiUXRR1wQDfLZILdS\n0RdlwjrR5kmksNkR0QMDrUM89Dnn42a7PmhwTZ7OftH5v8INaBqP+6kg8N5T\nntOhaX8LJEH/PpwHGOzLgD9pM3BxtZpYmZUQ9eYqcNjeeM5QIFeJphjTIV3p\n1eoJ32aBSweeK96rpbnzLmCAkcrSUYbMDLlAUukQA+I5rbidtjR2ImNyXSBf\n81QkRN57p8X+p/WIFxG1C3cUFRcdJhNNAi26XI6Ui1wnlS/Swtony7gWIjN8\nQ1h9\r\n=HB01\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"bc49c375ba6b43e8e945707cdabc90f0b8d69ec9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2936","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2936_1627308477962_0.6698577400849923","host":"s3://npm-registry-packages"}},"0.13.3-pre.2937":{"name":"piral-jest-utils","version":"0.13.3-pre.2937","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2937","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e665b79825104408ede2f08d60b269776600d4c7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2937.tgz","fileCount":45,"integrity":"sha512-3y00IDaWmv8QF+EX83PMhVeEVQF8HDBbx6nyZwWWxgtRZ57vF3k8aTt3r0R4/GJmMSpAkOY4Dr5kGjIDWRAQMQ==","signatures":[{"sig":"MEUCIQC6/dcSvflifHjgIvhRfoPWiMX6MVzo/1UL6/8F9c3mdQIgcJxheyLcQMXbDGDC8dhm8jj0sv02Rpjev+S6+avtgsI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAU+mCRA9TVsSAnZWagAAxToP/3VeqCOON+t4YWt5uYvP\nY7pOJ5ASOtsa+WZcDv7j7rTvHlJsO1Up8mBwA/jfMPyCxtB/mEZJPhYj/PQX\n1MpHxn+R/rLXSd6AjSesxfRV44yq7/Rgea9/lHI7fsBzqTAXucVpDno4tSY9\nXLpSd3B6m0kd20ObNNHQxpjWo8nWaIc8wwoJ5+EmhWvUg/dEsa0oU07hl7vi\n0jWz9fWUH1d6oNXajpaYuPJIqqsjt01e/0WYpZS3YjPBaHMQm1Sp/Apvj26y\nu5EUTNnMrbFp67OvIyvjBwnYXxVppPAqKwPtNkgDjW2wiVfdRMhU12l7/jUt\nAhu/xnWjqpGi4XnbSH0LgrGzQGDZnlYl0uqipdLsANqwK5dOMZ7FeGcLJ/WY\nmUqB9iPrBkZJEkmA74IZene1GFpdvOP78BD2ZJZgU5OseNNyV8vRGXiw5730\nSs1GHntYiGMjhQhdJq+GpHyXIBL1EAW1W5VXiQ97ZLb6+o7X8PaQpRpK9piP\nQxS1LsAIPB68pQ5L0/VEfhvo+dmJOB7KWOFi+cuBvstWTZ3L8Ws0GvQrCr09\npOkNxo91Ct92p2j5wMpHB7hvEa8mg4BFvo7+y1G7ZVjkpJPuX6+v69ZYV6gQ\naJmaeoisWJy6Yi38pgjcwo6HkCToh0wN6idzKIH6e0odkEKdYBCFLZonh8C+\nudlm\r\n=QowY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"625e6727a49d66ec5eb33dba0a7829f1f3d318d3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2937","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2937_1627475878663_0.13152466807964758","host":"s3://npm-registry-packages"}},"0.13.3-pre.2940":{"name":"piral-jest-utils","version":"0.13.3-pre.2940","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3-pre.2940","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"aafc069e07217ed2533537f684f7bfa1f8995932","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3-pre.2940.tgz","fileCount":45,"integrity":"sha512-yKbCmE61eGavG1LfTnCth6Gf2oYawvQvTTlZryK14iZoOmZoT/7oSNm36Mxkg6c95v3uwtMmK9Q9TE6U7WRafA==","signatures":[{"sig":"MEUCIQCGUNspvWqVDxRuodBsicujltKLcgmNifRYFTxNVHu51QIgDElhiPxOPSVidwVBcxn7Z/aaaIdBV60Apzpb/UZC67E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAcpbCRA9TVsSAnZWagAAe+AP/2YtHJR1KmunHsH1nAhi\n96POitGYl+VBoUyiYbzt9KnewRfNhAdZjjCyLcd1diUaUWUmuTrGbyYXa7VU\nbEnEK24Qh5+8LRwh1QxjChKlJ1pVPjRT69noZs5apEx74tDcFQfhMg4lcNcw\nGQho2T7PJ0Nr5AP63YLxBeEJspcqO8MO4G6nAOpKq6izq8aW/cX1TZO7R8hv\nxb5uPJ1gBWFwyjF0QA1OXVs5SPTQuLC8UEwyqclrv9vOX+XhDo6BQrxqF7fC\nQQET38LmaTCAIG3qtIJXA/yplPeWnn9NtzxgVcB6KhKqg66zA1ldDfJ1D2GY\nutVDJDunk3q0iN7xNZ+JKKsiHUTrGMB1ypAGcqBJSgdHMTrwncPRCQh1H5Km\nKuEvYOa8tvLpsFkU0SbzelRIjdAYzBnYVQVSxcM/MM1aV1+XcD6GiqgUqW/4\ng6/QTzVOZpu29/cf4OZT8qkAIWkwaRQ184sx8K3vfi9BhPAxcM+XpAtCix1a\nWfsOx+HN+jEVExw9s/Rnt2H+R5EZEl6qtwLznowApu55AMfvZwyTRqlz6IHU\n2rZ/bcyuyf4Ci1rj7KkzfsUPhFOfVKEs+guimLyDNbNDy30X4R4fyK24SCok\nexEBXIS94gs3HRu8AiRze+O0eJCdF9aJTwKKssBSwkUGtKQ0UaAHHlSsVRaa\nHXng\r\n=o4kC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"9b949fd35ced6311b8c671dea19c099854df30f4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.13.3-pre.2940","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3-pre.2940_1627507290955_0.634315190519473","host":"s3://npm-registry-packages"}},"0.13.3":{"name":"piral-jest-utils","version":"0.13.3","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.3","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"27615241cb2664391054e681d71b3dcda4db30d9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.3.tgz","fileCount":45,"integrity":"sha512-uQBb2DJTLZ3B2LIYGJTpnPXtyDSpddzpAn6awxDFC2ELkcZeioO6+BNeTFVQPdyvuD+LGfP82nFYFuqw76WO6g==","signatures":[{"sig":"MEQCIEUivBgvTkk4chg5NYZjvBVemsG/A215q12E5m1nrVXtAiAsKZbV0uqnnIChVArLP/HppF1a5pg0JULbCpb7IEFw1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAdUsCRA9TVsSAnZWagAA+FAP/0+QS0Osexc73NBPGlqc\nM0icLFGCOddDsrv8A5m8z+P44X0sA4X3ADx8Hu/tg03SK3kxjfzRwX+kpX4n\noTAtuN1DcA8PtjSpheiACPQfhRAso0bF1xOCLk7bALIwhcjIEUjPs7KCZE5n\ncBmxGUS0iQOKNFDV/RCH9ukYvI6oTYWJNr0jq68GC2r+MTTL7nBWzU4ecfKu\nQxnmNnGsOGQe2QJIVBHEbXpnMTzayxoJ86wxrRznG4ABfX2RcR1teqax0/QU\nzbrmXWCbj8Hdl0FS295O/dn1apC96VkBSfVeV+Rr/xx0vxpwcs5cHv16A5ZY\nouMgEYGvAsztk27uZ16cfhifIykNfxY4qAOdBAaAbKt/DRHvRPOnn3j7rcvJ\nPrCb4RpzirxN5ZInzdL6xKwAUQFnJACwRU3cJlcWrpAp4ce6LDAP12taPVny\nGwP7YizQjjeGHu8NC3Z6M1WPu29oriR9XRbq7F55SKd5JWD+1NV8c91M4Qf3\nRREiL0IcHEmL6cnypIYg9aYmCWiEOyCIGPmRCS5VOPWR41zHVdMGCdU0QQZJ\n7hogkOnrKj0714ngVq1hRK3h0I7t+U4iVf7M9AUqPgfva0igFGwYDL077JJ5\nL8O7Kg21IYftbCSqywtXyKPS+yQsHMq+wlxzBwnwWaIfByT2TW9LMseUncPZ\ndpIC\r\n=knoE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"3328ba36e4c1c743547222bebb60b196725c87b3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.3","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.3_1627510060068_0.9836332426591525","host":"s3://npm-registry-packages"}},"0.13.4":{"name":"piral-jest-utils","version":"0.13.4","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.4","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a8f84c9bc5e0a2fa573d96fda015be56caa028c2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.4.tgz","fileCount":45,"integrity":"sha512-e1g+P010XbbSfRF8WWv+e62bA7x2bO1ddD7B9tRqN1iCD0XKSvmHsgg5ZK4bengLCYWOE7CvW/K1UxBfmAeziA==","signatures":[{"sig":"MEYCIQCkELv48ZA+2mW7zkgr++dLyPAWdVdALnWCrR05fs6ACAIhAO9tSrTtSSPCKqIwoYBTCVGfX3mQy3uaB3/3g/C7YzeR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCF97CRA9TVsSAnZWagAAx6kQAJjp6hBF4H1QFcKk0pK4\nsY359L8bzpzqZgsWDucpJzUuekUBHOTKARstpVshP2z7kywNK8Kslo7nCMt5\nL4ni4brPgTMm7SodPulNLPvjemm/cT7K4f8Q/6TDA2pVq35PRLm0u9T3SV01\nO95f8URupIDjQZyInx4sylLnHjlF0gnPINHupWAbxT1C68bVAxDMlnMcHoSy\n6NW4XrItFEqOOam40u5gxYuGMPOv0PVJXt34iEuL+IDpMAI/FNjJN72tO/Vx\nyM0LLGBJqd2vD4NYA/Ea6OIJVZGZiE/uuYSmpHuunNFsoVHXhKJEwa0nu03o\nZXEdI/uU8mL4eztoLODyk5HRLSveMJZiFS3brEse8iQmSbkQtA8tux74rF5w\n61Lg7DKDChLx97JDMzrdxmeF7/d55EiFJJzUw5V/OCrKPjxDuzCNz3auu2CA\nIV4pd4a1S1AVOJCRTmCFKdflwuxuauV4iLq/xkfyiT9uxs+X6Xc6qffCJXmc\n1MGwS5V6laRIDudVk8orWRmbV7vNG8wNrzwwSYA2vFaanKiO4W5IRRcN77jk\n6EWO5pk0OchdLx65JQ8PVsnqvDuqMDhN/8OqnpQufgDtPzfYzmAf7HUxgQrM\n4EimqB7DhDA4kn0D6WQZ9ev660FRayxVNbvfKZktInwMQtui2pVMnlBmrE30\nKclT\r\n=H9YY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"f87a79fcf792eb8fa196f71d2e7a64840bedd167","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.4","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.4_1627938683265_0.2971865087056009","host":"s3://npm-registry-packages"}},"0.14.0-pre.2955":{"name":"piral-jest-utils","version":"0.14.0-pre.2955","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-pre.2955","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"369a7106d2dfa837ca0bcb1c7604c7664397751e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-pre.2955.tgz","fileCount":45,"integrity":"sha512-F8CWhiZMFURIAB1gBD7Lqi+5Nc6ref1XD3mOe8IUDM2Zu5KXc2qr+TySjpIUdDfQYKeoWwCz12bOmIsMmOva9A==","signatures":[{"sig":"MEUCIQD9nC0tynywXBhpT77oARFsL1PlZXcaduhyHUuOD1uqJwIga3mNuqGw83QP7rmy7S0UmZLjWD3jLObsptnKx6NARcg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCVeqCRA9TVsSAnZWagAAIGQP/jBDVuOrs7Gi1fdPSqX/\n0W/bLiLvQt5HQrE7MfmbNMYVExF9X056Rv1hKxeK9JUD3j+HWEikPCXT7KVL\nSnqr610sPP29Qhme4cmS8faab1S80xf8QyETdUuv4h5mw47f3sobL/Rxeyuq\nhd5zqJgE+VQbKzo7Axb6E6aWdIFCkzl6irYvKLUK3oWjS358dEXm5sAHKtrh\ncPghJcBxVO11p94FnIbuDXmdyQh07KC+FDPbEM/Fc+VoQmSpenqfVD0OcoTO\n/L3nJqWtHd4JaMrhlw5M3L51/tZbIlvIOGkmWLYxEL2R2K+GVEW9JIt/HjGv\n6ubo2WfwmH1syPhMgk6eqlilMHqWo+bqoHqrg4uL3s4LXfqCN9xLj3neRohZ\nn3NNg/dW3OCYQHVQ6Q4RgVUtCokEsguIch530PvxcoXKA8b+NLjunqfbJStg\nwJwsEcinWJeh+IiffCGFVam69TiJI+IBI7vxUOyz51z+usClanlD8TghjK5d\nqNZ0XjoP3k29VSg/wD61ykqY1sMmPadrOdweLxyyrDBd+TDwvjHTr+RLLbSi\nRR3WVoLMOwJB5hc57QuJgiEfTGu933QYCtch6zqhdEi5aURLH3d7xIktW9gP\nIkOnk0BBJgb1nRYXw0Omdt/41oHtIUbxH0LlM6SuDGAhOKRTSHS7ft8lOnJq\nfm8H\r\n=YQaV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"958ad94f04442d4dd1a1efb9ed468a26675e9182","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-pre.2955","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-pre.2955_1628002218311_0.6748366143068194","host":"s3://npm-registry-packages"}},"0.14.0-pre.2970":{"name":"piral-jest-utils","version":"0.14.0-pre.2970","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-pre.2970","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4cdaff5d96144e20ee6c4acde458f3ed030e8a38","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-pre.2970.tgz","fileCount":45,"integrity":"sha512-sqyoywV48ElNeEaHplj5mN2C1cYo2nKgpYMzG+cc1SQ6IoRkErDc+CErbL4xBGM+yZgyB+wGezlGljrkYZfLTw==","signatures":[{"sig":"MEUCIEnFN6d7BOMZQg+IFmFaQ1GGvkdhrnxyAg1Ol++RztyvAiEA7GflIykLBzjUketlPsKEZM8RBgRUpzJG/dh2yK9vjiY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEHTqCRA9TVsSAnZWagAA4WEP/1Z22tmbySkqRu4Jm6GS\nyd0eaxp1N1yvNiUU2YFGalwSEZmcCEyD1aOOzQC3Gxo0fbIeaH/DXfx8UsPb\nR/BL1L37ueT0r+IxNjbloiFiqhrzSb2UuQiyJ8WIA1biHnEU8OI2nofxLD0l\nHLTt1eHHn2WKwZsL/VaiNDZaUNHc4xDSyp1bLKwR4pzaWamOwY1SoTOwnZpF\nNNgRKSVyyJ6kBxUynys3wrG/UECia6/sBrmnQxqurxtWEFMlQFnWfsNSLz5a\n4tabQT3RO0yooR/sugOoq7dwbblIXx7xqmHsyf4MRSHC/SFXldzgw1a3lGg5\n3rRLlbByp5fj4HEwI5VYTYS8k38jdFjN2AhbJBYrA1vY/BKIL9Mx596lkzwx\n7Q3d9qKPXYvDYsTkamAucD8tPIkfTFO461TczBChLNg0Tf+50BSF37s7MMAX\n4f0PNkCNLtE3CXsrpHfS4IZo9vf6/XY/ecO6QVoaIE/hi3695W3xknKI1nkv\nkdLvWvj6PtSqrZB3UOcp9AgplTUalPy7K3wAACAdiubCsSNrtVwRXpZo0oCK\nMuISbtgXjZghRXQUlXwppe2a/t+ug+l+e7DlqWno/SoQEzclvB/lta03oYkH\nq1umC1++rgvjm2mNMIxIt3OWTcOO9nAZBCrMlHlE34LjugkcqvWvK/cb0X/e\nDpNB\r\n=IRRt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"c62e19410b2dcf3e1194216cbc8c39c2fb502277","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-pre.2970","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-pre.2970_1628468458290_0.13459162828875826","host":"s3://npm-registry-packages"}},"0.13.5":{"name":"piral-jest-utils","version":"0.13.5","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.5","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7fad599cb1bd8c85b52f75cd100869ea9764d6ff","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.5.tgz","fileCount":45,"integrity":"sha512-SKFkd55MeCJ1kD6wYZ5xzI+zAoALaWqdIFlmw+Yu3vXjQ/tSfaZ+07lNWhqzJbV/1B+Sb7fSbmsKHQpgWQq2hQ==","signatures":[{"sig":"MEUCIHWZnrBB/s6p3AfOqSOhlkYvPQz8LtgvPawPynNNujKJAiEApA72bOlsXwsfUpllIetx4patBopjRGHBZoUjcVkId7k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHCxKCRA9TVsSAnZWagAAD7UP+wTswdfF2ShGxaGeYQJi\nMdwqAdMt1+G/9SeLXDz/SIZJJkJ/9gIpE8jUKLpw1ahwG1p5Azp9IvTHHpZv\n6ihg9OWT6PKZ4CTZ5kZBKEvk02q9rcckVrKalYQcgK+j2MZFlladFlvBunNh\nkZ7UuJQdu3U4NRgVYBD5YcHNtxEP+ZlAf2N6zWtDxzk6tvxuO9k6re1DerV2\nygk0ihHFBVufG/Ma4p/6pSaCy2STzbR+wLwXm/3mWIZ5ZgNzP8uenAvZy3jU\nlCOAwrHFUoi83JuQhcEqNw6N3MnyZMZnOmOmehlbjLtFQCCUK/DpvXfP/Mzw\nobRfO9r9u0jJZk2zpv7ki8Zfqx3Scsx1EBnw4357r1VjRG6s0XGaJVsf8QAx\nCF4f1cNFGXUWs6DS/wqx8NnFNu6fqwu743sk3LEKJxr32pjCSQft6eVJ3+l4\nylyUqVD1rBUqsz9Mm9xjYFjtqdNp3y200TDoiv3NW6pxeyBm7rsnKZQZ3qkL\n6p/AcPCP3qNrz0gx7bPPWjZYpi3qz7PxCDw4Bxx+U+MUBX5hIv/9I1QIbh4H\nz+SybtT8RJeEnY6955hDDG+ptRnU8irTugPaNeWDUQTj5Sp90IcsaK3WTqI6\n0ruHM8BS7BU+/QZ/TTWzC2tmTN3v3ovWt/nx73LgXRvBUHtA6kWgFFVQL+L/\n/JLF\r\n=TocA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"79c0410ffbaa50756b71db8adff639b55c98af1d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.5","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.5_1629236298439_0.15483442268612846","host":"s3://npm-registry-packages"}},"0.13.6":{"name":"piral-jest-utils","version":"0.13.6","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.6","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c67b9a8861e861f51fc58756b840f3a328f2c2c5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.6.tgz","fileCount":45,"integrity":"sha512-mqJ6CIi/RJ/Xn2fzsXreGZx9iYebiA/l71DrGd8+C5uV8aHB7sVRXsbRD0xGHN2Ud1uQsLp7weilRjkQ4IEiPw==","signatures":[{"sig":"MEYCIQCoxvRE6xBfFSN2EbTI33ZTUEsN47RfPAnVRWsr3IV+DgIhAMgAhXZtXOAc7shlL+EDKmyOz3ALLDVpWlfjlX8K/F7v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKMAVCRA9TVsSAnZWagAAKdYP/RSDya2nrGTc0ykCnxM0\nzlPFzaQRuxTLOBr/1DPBEMLpaJiwQzqKTYvYzDx+J4U8P3pxzprXHNon0F33\nx8bqv624h6OXhopxIWbxSfGfhCTBGsJVj3C7Y+1bdK+t7j9KRRJOLgw1waCZ\n5JTROWsOWJ1wy3tRtEWe2yW00cEcuCqKnoIhfny3FVsIv/TfhuBwlDuuG0nU\nt8KIzO7SgFC6NLu5eH+rxhwpZgoGX5JbNbxoOvd0ReTgJnEJ46ot8feIxCy0\nyQsaNuNTQoimUy8DQV+evcGpFRKnxPvIRgGTw4vpMbLGJvs0zZXt3ahbOczU\nsH0UaK4ysmRZheyaCebVaQh6R2FIziq85Bg2dkM0FZqNy/yp969cSDQmQ3kG\nN9sxfZGjISMtzYhLexX0DZwy17xdmidXmrYjmUy4l8Y5JlZcocpb+DCXOUJK\nOLR2pkrk5wKBJJrEGLrZjHBN4Ls1hJeTnlmB5rg1/Dqt6NbRxc/n7rnG1QKg\n1C6sN9zDXgBwHg1GvjW33oAsQ1ZxT9L83VUhP/e3KJzKo/jO5eTceyWS6F9R\n6eLZjRSmxY62/psaDydv90Q6V73HdadkwhVr9KNTGqjxOUb10fuix1fmeTIO\n0eqlUKsTbvjq14k1N3ERNBMFErP7w+JH7kMwqHOeUbXLl+pZb5XXEWa736LB\nxrCn\r\n=MqzR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"11c066bb86dcf097171236030d5aa1431588f537","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.6","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.6_1630060565792_0.9204635595039952","host":"s3://npm-registry-packages"}},"0.13.7":{"name":"piral-jest-utils","version":"0.13.7","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.7","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"dcde50119542e5598290209353d510f8361cca41","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.7.tgz","fileCount":45,"integrity":"sha512-JazYOSSusAM9hqQEx91WUKdrrMh6V8HuQOkzuE91wfXINb8WCh1TJXx1dxwDYwq6qApeZdUfbXMYkZJC2+jdAw==","signatures":[{"sig":"MEUCIHgLe0agvmy/X7ArCJx2Kqau/7edH57Vdp2r3WzLXJNuAiEA4SK3szlMyli/JsHcS8tnDi+Tx0qnAkV70rY0JlTVyuM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL2jpCRA9TVsSAnZWagAAEzQP/Aj/JAvhoVVCu09c+kfQ\n5vDAZbczy9ZnxFYWGANzCX4jbSdoQe5Oy2mDtNNx7puSp1bHOZMAFHGOq8Mk\nKTlcgrSeuJg9qht30hT5GS/RVkxPNRT1DmiPQqhxVnzc45JLQ/fvABg5gM3/\n7OT2Ghe/o7aV1olwtY1kQyT94pvn+HidqIBCoJZolZXoWD5SPZkyuXPgPrqS\nZ/s7n++/948T47yXVtcQWuif7yUeSbLQeENMwjD27OSPotFAXdLFJe+wIQ+j\nD3qzHgL1HOwhni4pyVGpwXtAIVU4ryIQfQgjqLIRPmzKOcZGqUX4GUXQTj6P\nce9DRj6wXL2AwbOBERofx9wc07SBeiIKdSPwmno8VCiewx1e2oop4aeRA4aR\n+ttfbl3DoxvLPKMqmxNu2sBKODppgYuQeDdyqsrPNKRJ9usx3VKyKOwx9PzS\nYlRiuPV5YAl/kDlwuMPFQ9EM3LCMx1Cq7cLM/U3heiRgv2Fpfid3lzITXaE4\net8zn3AS2hzFmcQk/09rW40EOPUi+ncAUkPQIn5bIt6K4q1635yrBtcSIX92\nTX4jD2R9oz2RvZsAQSPnfvH4fOej8prEOnFtI4SLoN0NP2Fjww3DXShxvis/\nvgNv8yM/B2HiHA39GZDU0/2dFN+2tPPl5y/EC3NhEb0k/oBKeDjjdNYZbUCP\niC4J\r\n=kYpg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"201de6c1cddaacb1e5f9646bdd17dc43acf09e8e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.7","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.7_1630497001611_0.6905637548290684","host":"s3://npm-registry-packages"}},"0.13.8":{"name":"piral-jest-utils","version":"0.13.8","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.8","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0c6a43f71adb02ee5f18b6ffe9324e91644a692f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.8.tgz","fileCount":45,"integrity":"sha512-br/yUw75//um/IbS5ESWeQ04uG+ugiq65bGQc6C15RixtBvasB3LieLWZdOzWxr0hlW9oWqkIIUYH77dMTLYbA==","signatures":[{"sig":"MEQCIB7KgM3e+dubwHuV0Bay89FWpf7P6WcEnZ13SWLjRiFXAiAktzgF3S2y17Ok/EnjKNppjgclIWQqm5zWY4O2na9d1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhO0ZNCRA9TVsSAnZWagAAMEkQAI44C/Dm3IVObj2QJr6V\nELCoEdzM51nZP1E6Q6RNmLmN83wOQVTo7MSxyyoUNkyKGtaFpRHCzGp0O4c8\ne/m7QijZ/P1aH42VC6yntNYrE0WW06zrscDFP2jrKXwzfauDE1oenY4O3esE\nVuoHzJFnaYq+oxl65lf8nSLMZYTdhHiJ9lHyBS6JUXR43MVpMvv59WxOqCs6\n/EFEj6gdvLhFmzM0aV8rbIR23tIVG4dYEZ9KlU3LRrW6hvXdLI6G38XnmWbg\n0o6LbRMHk15ufcNQD1v6YxEu8Sa7OwvHIunbYDUbNUNHDWFYHIq8yOcImX2X\noXqgFEGoidkLj0+sbe0w6L4VCEC9iO+GxG6IW48A7vkJ8wqbXEPV/a1Rp/R9\nbt6KzH5Nc845K53G/QMOrchMCaQ3qCQTORhG0Dr62vYjjEmXp8psM4NfMna3\nYUIS93FNSvLE55dgrtNkwVRPLc9ubdoMAeQM2f1Cd/QtyrGTlX19e3bH0DWI\nskh9odafLna/Q1F4PU4Nc2hDoSaSHSYMnwRkrp6aws91y3zfYFepg6sBUCa9\nJo1BgxDKfU3Ih5ftQCxef1wtyZV4IqXA1RUppnldH9dWFQIn5h1r0EoEQIex\nvU/NlECqYzLMJqvL5yGNgLZtcOYSv+ME9bcVby101qFcp1K7R5hTtCopNYVp\n848c\r\n=6LzI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"26a9a75314886ad9d81ff9d17b5d05296af3d04f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.8","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.8_1631274573413_0.3489165803343197","host":"s3://npm-registry-packages"}},"0.14.0-unstable.3062":{"name":"piral-jest-utils","version":"0.14.0-unstable.3062","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-unstable.3062","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8fc9f65d323ab42ef9a22e6bd381742588cd2e16","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-unstable.3062.tgz","fileCount":45,"integrity":"sha512-CFzzLMh7xFOprc4jHUDIrsJmraOIUM9zQKnCLGFpwIAE5xixzk/3cEGb2t1GGvaTWRlxfC7+tna7XPEdAdBtMQ==","signatures":[{"sig":"MEYCIQDm27BiuZ6w3OhSHaHsBUTa4pfsz3GDRKRhTQrG68j2fwIhAIIEWycOnvN0sJjUdbPZ/sBWdb6LaLwAYGelnZi5ufid","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31745,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQaayCRA9TVsSAnZWagAA7q8P/3+ejTZUGHWl++g4Lxcj\nPSK9K5fTSrRsQybX6AlnccjvhFeplcqqWnQtM1R9UrqHzfbNHLoNQFBvq7AV\nqk4Ucsk9qJvxwInBsiEHmryZMLwx1ZsS8Z9+H+rLeMbKD48WFjLd1UDNoXuP\nDkM+n+ni5x0e5q8M8WmpyHkL+tBP3+403jJ9H0EyIi1J+7Rjez3xJ7nTEtbi\nMkSpq/mdFtCwOE2YcG+20oi8e+Jsrs3+znIFqrjjCMiVgGziu6sDaj61aPL+\nFdW8yyb1EJL1Tf0dSvqlgNjHKLLxrYsuwLm7oL+0o0Z0p6MCEGThlsyi7Oxx\nsjzsKczHzRixjK+WwwL//SEa7hRq3vh3qCoNnYmDIsKKz+t04K4wCfW+9T8D\nGDuym/mDNvzJivZ1TAg7kariUh8OTF6WoSlI0fJiqjrPyrabwibZSJ07mKS5\nAnOqX8QwskO9QcjlGOtnbtUJZ/+Pe8Yb7pgaAgDSLWRSnmRxaYaVK2HDBkvy\nWr3UR/9WI6OJQBi8p5nvL6HYYDUTPsLj+fDn8bpOqYLUwodNENMAPRBUWdUX\nNlChHLAk85/xjW1p7HQaztMjVBy2DYDZDBl5WEKd/zhUEcTMwEQvpoMzAv3X\nrRSfQbhUvIedapMfNSfVGEvnSkdPEX0vPbPraVogMsCMeny1BUA0suXHqGTw\nnt7S\r\n=qrwB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3c02948f10b359bec03366022a5ed09c86003a7d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-unstable.3062","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-unstable.3062_1631692465949_0.8407114048422388","host":"s3://npm-registry-packages"}},"0.14.0-pre.3085":{"name":"piral-jest-utils","version":"0.14.0-pre.3085","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-pre.3085","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ae97f795145263b1496f28728e8c19f1fb39ee53","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-pre.3085.tgz","fileCount":45,"integrity":"sha512-JDlCsTKnwkR1MFqduhE6egGas6eqMbWl3O7PWPZlgpYSNjO1PiPt1teTT2QXmGcG5c0AyFN68wgOT6AuavEldw==","signatures":[{"sig":"MEQCIEVyLqBstJyr4GfM7GqNSs+YV/fdVTJ/JWo9TaTYKXa/AiANPifZSzm4XLru2OPsNxdIrloj9Lcr66nglPT2zIRuNw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31735},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f32838f2f877b7c077e64bc00fb6d87500d8e71c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-pre.3085","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-pre.3085_1632230741325_0.17846735537910674","host":"s3://npm-registry-packages"}},"0.14.0-pre.3087":{"name":"piral-jest-utils","version":"0.14.0-pre.3087","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-pre.3087","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4e02a8fad3b1b877a9a7aa3c58dac432d68568c2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-pre.3087.tgz","fileCount":45,"integrity":"sha512-eUO4cqPktiZ5WeQDq9o9ZL5cSE/KSyycJM610mMtCK+fYkmepNNoqubS6o1p58jQyxDD4o7p6SFnz0zQgiJP6Q==","signatures":[{"sig":"MEYCIQCRSJT1AAvEWH9xekiYG+vOH1Ike9tZtjzkgBQ6NXzUPAIhAKY/XP5PCUeVLBJPQhvLo5Gw8VWov5rH9Oq/ZJ+5kplX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31735},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ebf8ab763357c72f311e5697450cc77b810a38b0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-pre.3087","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-pre.3087_1632262909423_0.00015556118978077293","host":"s3://npm-registry-packages"}},"0.13.9":{"name":"piral-jest-utils","version":"0.13.9","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.13.9","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"719ad6daa6185f59008f8fbe0593c3677018dcb4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.13.9.tgz","fileCount":45,"integrity":"sha512-i0uKL6pJt5id9zuIXSkILAQ6Y+3XK4a8chcv9naREhvQoLwB29FaAHoSILHJcz/eVSnkUhzuCxPb7enPg6va1Q==","signatures":[{"sig":"MEUCIDHcsy0GE4X2vWKPoWInwSq/me6+wHLCs8N51BbwWxZZAiEApuCQ3XHlxxc15iZj8lGkoxMUUCVl27MXIeCsDT9CjGc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31677},"main":"lib/index.js","module":"esm/index.js","gitHead":"80de9fb69430283bc90f380d3254e0e6aad4c6ad","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.13.9","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.13.9_1632430161531_0.03845062465198623","host":"s3://npm-registry-packages"}},"0.14.0-pre.3128":{"name":"piral-jest-utils","version":"0.14.0-pre.3128","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-pre.3128","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b9e6c00c1e8290bcf0c1d22f51b6207a79b0c1c9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-pre.3128.tgz","fileCount":45,"integrity":"sha512-UAi7KPFN8GY06kNr3JXDoTqY/AhEkTur8duYafdR7i+zaxlnkDmkBYlO7WjFDHh3/EvgIv6DNUkMFxW+BfaYnw==","signatures":[{"sig":"MEUCIBWpHvcjUepY02AdRB3/ikts5WQJTc53wM9isv6mlXH6AiEAta/LNc9RWh/6WuXcy7ctpG2UPNHjVFDvUvjIMd2BmmA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31735},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"7f3a6d7231b1301fd85abc7a99fe4b0e78121f97","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.16.3+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.16.3","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-pre.3128","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-pre.3128_1634591231087_0.6535494069193217","host":"s3://npm-registry-packages"}},"0.14.0-alpha.3152":{"name":"piral-jest-utils","version":"0.14.0-alpha.3152","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-alpha.3152","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"},{"name":"nmalyschkin","email":"nikitamalyschkin@googlemail.com"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fb5b4d92577f3155453d411156baff18e34087e9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-alpha.3152.tgz","fileCount":45,"integrity":"sha512-XrfYaRXxSDgyKjUwgxr0A7rA7jUUtQBDZk8ZCA+o/+EWtgU4ykwFnh2pT6S33i/B9amKLy/gGkz6gmOY2SaU4A==","signatures":[{"sig":"MEUCIQCXA102AovUjBiD9UPjd8n5zMD73ZzdsFcBV8rq3f3t8QIgSSJZMmtBTMRZANEMI7Ur1rNRo9K4lomGUxBKm7e8KWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31739},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"4ad88a8b8bcdee17f22e7e1e2e8feb41df6210e5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-alpha.3152","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-alpha.3152_1634821954932_0.37855841811937774","host":"s3://npm-registry-packages"}},"0.14.0-alpha.3154":{"name":"piral-jest-utils","version":"0.14.0-alpha.3154","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-alpha.3154","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d6d95cf0d0fe1418ab514bee8973dddab8194c13","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-alpha.3154.tgz","fileCount":45,"integrity":"sha512-YRuAtq41sKeTtgz5rQckK8yixVC9binQeO5avrnRSfE5mDJwWI3qldA/MvTN6tLi6K34yqtBCqno56QoKDwk0A==","signatures":[{"sig":"MEUCIQDA7XNTm85+wfOzx9tbeSJ60NgAqo1OSSab0ciliNK6wAIgHVFCU4GMnJQjBOvFnsMc1igYmgjMqS9jmxu3TXHz7SI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31739},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"bc6cc60a59e6a8b1a154d187883cb794e8609939","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-alpha.3154","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-alpha.3154_1634893259412_0.550548794788112","host":"s3://npm-registry-packages"}},"0.14.0-beta.3156":{"name":"piral-jest-utils","version":"0.14.0-beta.3156","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3156","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d9972e17c93f0f2d4440e3409be8d98047b6770b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3156.tgz","fileCount":45,"integrity":"sha512-g7IlJLK/QUKGbpgvq45kE2/stYDsIUR9rM+ME0B9qLoiKNPZxqkoeNF8Yi3X7w+MrClXwov5DBmx1xki494adw==","signatures":[{"sig":"MEYCIQCSIUET0k5rIoHyAS5DwvkAcKSYX0vOYrHmHpXiE4A8BgIhALiOujSKpTkV0CUBrflcJCMP5sUlUFn4fbhupLWWZDNC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31737},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e368a181defdfca4722d7bd478a9dcd47d90a51b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-beta.3156","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3156_1634904660878_0.040900970733273256","host":"s3://npm-registry-packages"}},"0.14.0-beta.3157":{"name":"piral-jest-utils","version":"0.14.0-beta.3157","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3157","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"02ec4d307db52ff039e01f1d5ef1642af06ee778","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3157.tgz","fileCount":45,"integrity":"sha512-xnZPn+BkamcFNgeT8lXqGXY5yuxAdmg7QUVvUzyCRLk07YcBtFEbR+P4nrczbaF/67fergRRWHgP91gVqD1GnQ==","signatures":[{"sig":"MEUCIEXQ1l623IzyxOkKlqzbMpgEMsqFZ0+AwrYN7TxbHh3iAiEApEc1HIcKVE8GFzV7wiNOYI0P+NBxjeG520Y9naHiG6g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31737},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"1928e46becee1444f84df8e80a81aa12712d17e2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-beta.3157","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3157_1634914106443_0.3054582151027123","host":"s3://npm-registry-packages"}},"0.14.0-beta.3163":{"name":"piral-jest-utils","version":"0.14.0-beta.3163","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3163","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1dc79e10bd4035304935a098a7b75d92b956d086","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3163.tgz","fileCount":45,"integrity":"sha512-S+KBaPOxFPSRvDELmX2y8x/Dho29x/XIb4ilOBDh50hPYmpW1dRR5UtlkTuN4SRmoPeVeCAIYqwimx2NjE0vag==","signatures":[{"sig":"MEUCIQCBg/d6XMI3yYVLLx9obVJLEES3aMMBbkt9mxxeVFzk4wIgOnIYdGeCssxH92KComwSjxLDABbruqw3W/lO3+ZKiSA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31737},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ac8a8f2d0a9be0be6267afa87521b90e98179859","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-beta.3163","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3163_1634943246013_0.7889904306328728","host":"s3://npm-registry-packages"}},"0.14.0-beta.3183":{"name":"piral-jest-utils","version":"0.14.0-beta.3183","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3183","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"21d4763416534e6d308fa5ab62f1f6a3e55ed976","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3183.tgz","fileCount":45,"integrity":"sha512-PCvH2INMtlw/iQIUTUkD81qpdUgoSg0TI9bQtw2t67D3ND0w1FxLswuujhnFrWkPmQq51pRTD09Eyqz2ejWTGg==","signatures":[{"sig":"MEUCIE6H6VWrI4I8km7W/3NHzO9O/Dvhbq2ZXTXIfU47dOg0AiEAzLPpDS+VioSEsHYG9n1kR0wj8FZmoGC24R57YJzKKbk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31737},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"4553e585d9cbb9ebd71d032a8fde55c305aaa268","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-beta.3183","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3183_1635349736045_0.354383756607767","host":"s3://npm-registry-packages"}},"0.14.0-beta.3184":{"name":"piral-jest-utils","version":"0.14.0-beta.3184","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3184","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"601d5a2a3d77d42c3fe58db33b67c925475800f7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3184.tgz","fileCount":45,"integrity":"sha512-lLxZ/vX08qRrAG1NZQ0rpJyS5B7qURagnAlyVKAZ3/Vz2i6tSYXyUFfZVPrycDNGKYwfNqPHhdriBIFDv7Y/TQ==","signatures":[{"sig":"MEYCIQDj7VTTmRqBeug/ROtUcYlBpJAJ1XXNL4ukB1ziZmOehAIhAOwMknu4Wm62M//bIOmDMj05R6fcZUZqHegi+7afrTUz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31737},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"2d00bfdcdf47c737ffb8d58f700945362ab9ac6d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"^0.14.0-beta.3184","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3184_1635379945595_0.11111218738645268","host":"s3://npm-registry-packages"}},"0.14.0-beta.3187":{"name":"piral-jest-utils","version":"0.14.0-beta.3187","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3187","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"187a08fcae5f7e53973542232a57a5ed7c65f6e2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3187.tgz","fileCount":45,"integrity":"sha512-ps+U0VTz5uHv6cmUy4iiyLnWAGxyBJHNv5JqEb2i7cmaR4vSjzsUocj6/D1qwHUpxy6Hy+pl0Mpa1H1ybChDKw==","signatures":[{"sig":"MEYCIQDzZng6NoY+DVhyhr5zmoxUluQJDHie/x5vkNFXot2HHwIhAN+xog5n6zKd1n10um8TGJiDupUvKu3Mb0VrCM4m3Ip1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8c7afcbb45ab9fcb2dde5d8377416ff3bc86d3c8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.0-beta.3187","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3187_1635415821943_0.2711004134216739","host":"s3://npm-registry-packages"}},"0.14.0-beta.3203":{"name":"piral-jest-utils","version":"0.14.0-beta.3203","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3203","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e3186387aedf2037ab0e9ca326d8c756e1c6ac38","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3203.tgz","fileCount":45,"integrity":"sha512-BW+zqERHtzN3h5s/zKffKWrPz5KaQ7kJ6X81JUuTP4ThMzY6SJ1sTs1PN3pAMqc8grN6ZAjR2VsYdgJr0BQtIw==","signatures":[{"sig":"MEUCIQDBHOFQ2gjZsnevIZCIgklRzzsKGxR00M1aZvPuaJmSMgIgMvCDqJY2ufHrZAjS5NxJtrY/6wD18spVQueNATFgD60=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"dc0453924cdf43ee3f8049b47f6562fc295e9ef1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.0-beta.3203","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3203_1635462627197_0.08255940661099648","host":"s3://npm-registry-packages"}},"0.14.0-beta.3215":{"name":"piral-jest-utils","version":"0.14.0-beta.3215","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3215","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b5c1b4758c1cb9d7301c81301e53142a54d2e1ce","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3215.tgz","fileCount":45,"integrity":"sha512-pjuATv/5LqrSoe5h96AGadMNradVVG8PrHimItSHAZs6YzbmQmTOGF5nTHD22PzwkJUumTeh7OQrdfLt84/4+w==","signatures":[{"sig":"MEQCIBnJaVk7Qcr3SI/2KhJLGcWCNplRXav/m4wfGuaVwFwKAiAYUCk0ViTwQc8wxiUqVqR+3zWLXgOznJerKi/xm5JtfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"876f3ed398a5452dc3eac3c030ab5af4048aff88","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.0-beta.3215","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3215_1635540018743_0.3329011314430168","host":"s3://npm-registry-packages"}},"0.14.0-beta.3216":{"name":"piral-jest-utils","version":"0.14.0-beta.3216","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3216","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ac497f58d2283c6a8f5a950781e5f9e8185d8177","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3216.tgz","fileCount":45,"integrity":"sha512-tjDiIATgF92t7RF/L2lcRofTg+gxFvVvLJ1x4pWm1H6ig4aQZUgseGvQozuNEeKohst2V02Ak3TjW1/lyvRZyA==","signatures":[{"sig":"MEUCIQDgXtQQ0Fzcv11TxcFKLFgoK+USq1M90gEmQAKajH3HVgIgTOQzuAvjlzw0hTuZ6YR5GMSfctHTRmNNRok9smzATTE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"4ae646f90377893373f4ebc575eb0b8a707f8b94","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.0-beta.3216","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3216_1635549933395_0.4175933507245593","host":"s3://npm-registry-packages"}},"0.14.0-beta.3217":{"name":"piral-jest-utils","version":"0.14.0-beta.3217","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3217","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a09b699496f538acb4516f13e59da2632c0ecda8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3217.tgz","fileCount":45,"integrity":"sha512-2blFcqU7XHphfK3eymSfszP4lXGJyN5udWacrc9Ikuf6Jw6cKSGOXyVsB1SH/ZLxYRCuFZidjLzn8Cvfr8SMCg==","signatures":[{"sig":"MEQCIEqneqp35slIuiIg2djfjWEEnAVXE+e4uguurU7x0+8aAiBAuzTpDYCTUZvrkqkryQ544WoFGv1hExyrmsSaldVMvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e91cbf791838b7cc2feda16fd8965f1f99a1e2dd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.0-beta.3217","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3217_1635647892975_0.5613586406073865","host":"s3://npm-registry-packages"}},"0.14.0-beta.3222":{"name":"piral-jest-utils","version":"0.14.0-beta.3222","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3222","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b4bf61638af6ab6299a26258ab571f6881a8723e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3222.tgz","fileCount":45,"integrity":"sha512-n7k4LpRxeQiXW5mQq9Qpq+25vXs9jSt5n4vdvMqrtH357Z7ESqVx+FHi02KaVYl7kvK+lT9z2HECfolMHFKRNw==","signatures":[{"sig":"MEYCIQDuPBavg16LvFoheP61VDHoXMEKGwBJ1BL0meIFtdgYVgIhAIC2iFBZhZXfg9UWQbbLjWe9ZqAH3OwT1UD/XGhbotIw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"c3cb8ee58b51d36fd310cfdf32672ce460157b13","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.0-beta.3222","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3222_1635938311044_0.5981259528621237","host":"s3://npm-registry-packages"}},"0.14.0-beta.3226":{"name":"piral-jest-utils","version":"0.14.0-beta.3226","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3226","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"51b0448ac8e8733df094471002ee60061be69dc4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3226.tgz","fileCount":45,"integrity":"sha512-NJ835fWPgZqNTLZt3OyPLsDZM1j2btfHWkkqu2ZIn1MCxFfvpYSvHtsEsjBPDFy1hmSgobD9tKEaJbOq4lHz2A==","signatures":[{"sig":"MEQCIAFZ4iLafTtqo2AVT47GODRF6NadWagyZ3eaNWSzNgJSAiBUWrsk5XC55hi/+cYZ5c/remuWjVH/4s55V8VW10sN+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"9e558ea7a0f0848aa40b1c43316c120f43863d10","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.0-beta.3226","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3226_1636161760489_0.20417438488325712","host":"s3://npm-registry-packages"}},"0.14.0-beta.3230":{"name":"piral-jest-utils","version":"0.14.0-beta.3230","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0-beta.3230","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cef45555053a3d15c148c99d5382b849060a12b6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0-beta.3230.tgz","fileCount":45,"integrity":"sha512-BQMHvCtZ2iAFtnJqO4BdNAUjC4p7ukLAbLX1hpCHzcuD3jKxqJfhN4Q+wIsZbpc3oklp3BBQWmMl53fXQZ3v3A==","signatures":[{"sig":"MEYCIQCLBLj5Dhz4VtzChPGd0r5V+FZUkSVBsGmgc5S+QpXmLwIhAIdEJ0gUpQjS8YqTAPFbh8lOXRqtAeflljUAdQ0dP9Vn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ef69207205ff41122f0c536a111d0ca15048611b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.0-beta.3230","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0-beta.3230_1636377073726_0.8550953839494633","host":"s3://npm-registry-packages"}},"0.14.0":{"name":"piral-jest-utils","version":"0.14.0","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.0","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"39c7b236eafb00934598c98d231b05799a20ea94","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.0.tgz","fileCount":45,"integrity":"sha512-GOlGY/bM/y+dPQWUQsZLsiM+1VO0RWW85CufNYrpibAm+3N1UWdtQOZPwdo24wlT5FW6PxvJvWOM08m0wqI/Zg==","signatures":[{"sig":"MEUCIAQIaoeZXLxpHJrqPD8LUDxOmPBb1X3m3BIkMbW6rZVcAiEA8JHq/lyOo6RDjVJsnf1+FsaHrA019v3xUfrOdXmsBYI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717},"main":"lib/index.js","module":"esm/index.js","gitHead":"42d3691018d6fa49c2dd18a0b65e4f89961216b0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.0","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.0_1636394586373_0.43115663906747326","host":"s3://npm-registry-packages"}},"0.14.1-beta.3240":{"name":"piral-jest-utils","version":"0.14.1-beta.3240","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.1-beta.3240","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"19a4634f14ac21fcf8ab6e10f8d561a3a441969b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.1-beta.3240.tgz","fileCount":45,"integrity":"sha512-yepQnFy4eOeDWlshDaG+IB2JmP9GMo1WIBTLUSaqKi6+HW/Avbtiy/fFsiQnwVVdDSWsM0LhRINTWbeCGjoCDA==","signatures":[{"sig":"MEUCIGKgEcbLhm7x4hwcezmYdvStk+ZW4kJ96eUsIS4CxZcEAiEAlic+I0bdPn9yxfc29NXjnnfYFWla7sRD3tRpRijS1CA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"d3a08ece776d0834721c52fcd7a71c769380bd7e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.1-beta.3240","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.1-beta.3240_1636511671673_0.48798865059301844","host":"s3://npm-registry-packages"}},"0.14.1-beta.3244":{"name":"piral-jest-utils","version":"0.14.1-beta.3244","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.1-beta.3244","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ff1be97f99cc8bc5964188d94d88ddd7e9ba0abd","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.1-beta.3244.tgz","fileCount":45,"integrity":"sha512-y1Oi7NpBro8UVWnwlQszfQsBEQ5JxoMHL2phD+3ObMm63v2NOG67CAc4k9RDxAZ8MZdLj/wQ7WoudaYWS/MxXA==","signatures":[{"sig":"MEUCIQDbxqe+cNhoskZuqG4e11RjGwESOSe9c9yyXR6ruK7kNQIgJYThUuvjLmXkdY8dSisFIYqxL0bbgrzMRdCQjuFlWH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"358d1d5a45743dac772d437b26a875b3d98c3008","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.1-beta.3244","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.1-beta.3244_1636545533665_0.5398612175608233","host":"s3://npm-registry-packages"}},"0.14.1-beta.3246":{"name":"piral-jest-utils","version":"0.14.1-beta.3246","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.1-beta.3246","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5b2c34020ded68f1145357b5090a262918d7fd81","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.1-beta.3246.tgz","fileCount":45,"integrity":"sha512-jCr8rvJZAsOMDlryhgU/zUKLmmZj0YLz24xx4wyUJQxMEP0VYu2VAuOSYGLQ5Wgs5AYrWPWulvPnVOHwfHROPg==","signatures":[{"sig":"MEUCIQCQJ844zq8U8uIF0gzeQPos10mA4zesWn1/VctnK2+b7gIgbV6FwivMNP6QMU9yoJf15HPSv8sMGcEdjOOCqY5PbV0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"66827dfddb356079be8538bc5e8da9f253f62ba1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.1-beta.3246","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.1-beta.3246_1636667123677_0.29847010700949284","host":"s3://npm-registry-packages"}},"0.14.1-beta.3250":{"name":"piral-jest-utils","version":"0.14.1-beta.3250","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.1-beta.3250","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1233158b3fb7ca2fcf1347fabb28b3ce3bf7e9da","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.1-beta.3250.tgz","fileCount":45,"integrity":"sha512-Jtmd8lbXdjrAkuucdjUW2tb2dep8AouvXizLTQ7l5LCsnh2T/DaqOYt8IXEkN5ulYBHCf4ejVLJeXDSp9Wg6Qg==","signatures":[{"sig":"MEQCIHHTIgGFU3Mk/g+HpK7Qk9ciQqaChrMSZEK2rXdmjDHBAiAi1ppL4tx6YPP3614jORjuvH0l0xEdQ4+GLn8CQR2BSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e6b329deaa798ea0b9287fbb57be8f39973eeac2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.1-beta.3250","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.1-beta.3250_1636730520958_0.9927247111727255","host":"s3://npm-registry-packages"}},"0.14.1-beta.3256":{"name":"piral-jest-utils","version":"0.14.1-beta.3256","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.1-beta.3256","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1e715eee2e35aa1df58c383061958358331ceae2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.1-beta.3256.tgz","fileCount":45,"integrity":"sha512-FRIvAwJPlYphhXFw/sH8sMlN0D0EEZFhoy/q4W7b9SjfxWfGKuR1fTbutdMcBpKNyP6VW7shvItY5dfqZZ3LpQ==","signatures":[{"sig":"MEQCIDA7SiJN/X4Bj8hWT60lpVsMcLHDIOo6XSNYAtXeOYmAAiB4EHuIM5LK+wcsa2QKRFzOzEoZyQQ+2qJkdPvIyXWCpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhk7l1CRA9TVsSAnZWagAAC7oP/3AQfBjnF93QQUjdU7gg\nzwfx2YwLTq9Am/EcD10bO1OWjEAGGx0obO2nG9Vx4kJtPwC2OyDlbY70BwX7\nCVO5EmB/58zXM/ifcWi27FHUtpQXOUxOk4+d8eNk3YnZn7RPrl3lZmf2X3l0\nbdeWnJa50O3nS63Zf7uCumXc8lG2z0aV/OG1to7jKPQRWrIuGM8A2Vqm9s4+\nqBgLOaOlBy2JC8VFBW2rMeMlXDs+XP5gT/ep5AiBKRE4cSU25qgPmjtsuCxS\n5HORH/1wH6OnY4T7rP5RbDe90oEFmFEQTO7V1btUnkxoQAIsWPLDiuX8P74N\n1mFV2MVJvoabXalVQiVhhxASsVmbB/ceBn9v3QUXJDARalRW6pt3TVfHlv99\ns3xMLOivWuGFKkZW30ZFnjcBmvs1HxHu9O55iwy8qdEan/Sl4wyxeEgVgZ3b\nYAo4UaSUQ6bjElrW5Pumno9NOIn2AHeTwT5AGMSr8zb+ebghXd2Ywn6yVHZV\nu9Ut5Xe+tReK0fI/uB+QgRlj2w5vZizpef44qK1i/Aroj1oL6wwUr3xDCO/T\nT3gyTRC/sXSZ5oqqCx07pGP/x/zYSWUFr2mcS1OQtKFdOgtHw8Y4Upr634Tn\nXXHS8FPropa1qg9UF8QGnzxVDn3WQF/us1E2fnNzmwxH6eE2DuYLeYHfsoxy\nmkeR\r\n=m76l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"4fe700c9466e6c3920546713e911fef36c311b52","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.1-beta.3256","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.1-beta.3256_1637071221096_0.4941514520485344","host":"s3://npm-registry-packages"}},"0.14.1-beta.3266":{"name":"piral-jest-utils","version":"0.14.1-beta.3266","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.1-beta.3266","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"223a2d19aab6da9114424c1ace1efd284574016d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.1-beta.3266.tgz","fileCount":45,"integrity":"sha512-/yuwhc8Zq6lyr/t0Xil+lQQ7s63ouhVaELqhfTieYHK2jH5WrrEj0Z1vECbvZfs/Ccq8Ge2ddU09UCw1aMngTQ==","signatures":[{"sig":"MEQCIHunaRNNcnUvdz6xyKRAKuRdQS0owwnawOVPZbKmZx0vAiBR2IpSH6Tm/fI1eKnPo/zL15fTi2Bu0bVKj6sISlGS5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhlmj2CRA9TVsSAnZWagAABh8P/3pIeKa8/6Ug1ChdC8vs\nJ/G0KO5h5ycTHUfP66Dr8TJV6sAkNvOiOG+Xs1LXrSRtH00dD6nvEfl0UC2+\nQut2k+2MYiZWD2WHVEC8esUKLrJiENSNssJTuqWq1eqtmH8Rc3s09cDF3HjX\nILr/bTKXLDpFFymjTKeSNmhJjo0eALt5kN4irO+U5z93aG9oKAsNsLihyJGT\n7uUuOYE6+OrzG3OesU2kVCQyq9akEJ/tXAu2NT3AR3cvDaWrtKWHLAH7V9NI\nkc3HQ7XcaclTMYu1rxfK+5xxiycI+x9Ew/lo3sQHjLyd6istlcDjhhfhbyGP\nTTInUeOwOslU0CHadaxPJI8H8+B010bwQn9TCNcJ5iJY30++0RkzUN8KXqSs\nPAMb+5pN19pErB+S7T0+hfrYdZl/vimxzMV58iO/ch8eH4QXjRhWLnCN4zjo\nk65Wdib2n1A4Iesyt9ouEw/C91qfLryvBvTXRH/rm9mng+BynRCXLOsqzDTy\nVeLTYf3rsNCYAarN1IHqOwU+yRbRFqeCoTW/FRl4tjbMyG63QmAh88tVfFv8\nXFuLbd6kts6lYhEn0t0c47OpP7l2CxDEKivpHFflBHPpKZp2IfdEguImfyLk\n4u01oNUMyEmY3UeaQkneI2/tUDa9oLddXaR9k3bU37KRp9fuOvrfW3YyNkPm\nSnUV\r\n=NfWT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"9c4d208eb5947e34cc929ce1613a8cb2dee0cea0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.1-beta.3266","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.1-beta.3266_1637247222074_0.666540431585894","host":"s3://npm-registry-packages"}},"0.14.1":{"name":"piral-jest-utils","version":"0.14.1","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.1","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bbecdb79ee878f74c7dcba6f4fa08a3054261b74","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.1.tgz","fileCount":45,"integrity":"sha512-KGOz10m9tWwp+YS6jU2qVwnLBoBrGAcQn6/Fn/jLn2e0VKNJRDV+6MuzxvZZ6UrUL8bERew1HZRzuEZdbWBe5Q==","signatures":[{"sig":"MEUCIDp+pEPZFqsD2wcM0GDzVEljvULYvHG1ltz6NbniVZGFAiEAkwT53QfFO2MuFhCq2gNTvVSxcIntXY3FxU/x2SgJhR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhl6WeCRA9TVsSAnZWagAAL7kQAJxrU5/rXTKTBZjGjJrQ\nuaAccgo/LRMrfCPCg7r/Q8mK9MLeiZCGuMwmKibvRgrGX422fQSYIHK8f9NX\n362oScC4q9+FonefANmqSt3aoY/lCDdr3woN2aZ2x0IH5rTZ7fF8HMBmwqFI\nig1z6m1JogCGVb/6uu75jngz0SCbgvkSYyCFEba9gRJFdjRbFo4Q3Mo7yNha\npr/aJJ1av5VJNr82tA/L2/Fj9+mNTJH0VYzCm9A5o5OTCYAshDERzu19NcUC\nGHLa6XWBloyknDiMu2ncIH1xyV+mWNqyt1qivPi+0jRUez227RuFO2vCulf7\nuqunB+C9tqcuB1UMNYAYuVDGNR+95zaw19F/DBrcCndIzNmYDRXZ5Ia2ehbx\nYkbZ7EzVq1rsWYcCd/16MijSxwPuZs0moKRAOl9NC5TNXdF50v9LBoFiYFQp\nZu7OrLSipfJ+DL8zohcdafR9le5iYULizAhQCCY30aIF9QeiTDhnMLP3MNHD\noIHWGXL8WjmjZJxl3IPUISh4O2cdzXZ0Bya5YgSW+XJ4Wrc80Lm31/hQVPFz\nVC97DEkzA8jNIcboNfKhT0fsb/70n0HnuD5kMbl2QV7Phgu2OkhrRx2dPTSg\nj1pejENN0M3idTlWADBvqTwsorg/RK7XATlwd7dlmbGQHySVXxwo7MDTREwC\nlejr\r\n=g0Z6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"510c86441c19ffa3e8c862bfdcff73e93c730960","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.1","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.1_1637328286279_0.37265363720932054","host":"s3://npm-registry-packages"}},"0.14.2-beta.3272":{"name":"piral-jest-utils","version":"0.14.2-beta.3272","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.2-beta.3272","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4abb028919fd2208332e8787a0a7ff26049801d1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.2-beta.3272.tgz","fileCount":45,"integrity":"sha512-LVstclK/z+7GK4bERHRtRAm9AAChdU8p/0Mlx3np8GIxVw/TJ+sTYMaVELYF7BxJxwtwajwkWDWuqNwRcfZBHg==","signatures":[{"sig":"MEUCIDglDXKSQDzrEUZ5NVG9F9/8JBIfogQC6tr0LW9oQPLzAiEA5AlwmzjMlFXe6YkW4vGATr7dCq0vp1WBStNJ8hUNssQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmEUPCRA9TVsSAnZWagAAhusQAJbda92fpjrkYoD5osME\n9l/rxCwLBLIEPrz0f1tDtfneCSRMEg8EXOAyIZ0HWrYlZ0rUbYiRM77Miryj\nmzUXpkuE4DCdPz39GlGkbs/BtIUx0hXpUf/NZOQfKDtGRusLIk1w1gjHrpWi\nlR28+jDXCgawMHPFlvMwrbli4KcOJv0KbKIyjQWIygHiNyKMT4AYeZNHHKrv\nsRjiJLxyHT2CEynxZSeb761SIiJovdCawQ+YDZFbkgKXaYo0xgRvh5F1Y74n\nEDkMz0aZrBXxQSWTr4bw0k22CMyxfONiq1VtZbWF6VsHUiB+sdt397lUZy4l\nqPdgTy6zNukXZw6i7X5k5hfbWgZO3d8B/HlbokPJJRnyLYa2QKymfKsN1DbS\nCkbHS8nDx9bvecvK8U/scrigWxlW1vEvL+4FtjFy9Fcx+RpHswKUof9t4lW4\nXSJdAjVXuFMXhEjJjgDU88pFw6pHjJqhH8R1HlJRH4kPVPkJqBrNizbGibcU\njVGO72z73h7o2ra8CgSfWs7DFoXsAr34efc62OfPDwmXOgigupUpCccR/bIe\nIZpXIOEBpdobS6zARNLuABJYoxenU0vzkDUSOPVeSoQKb9fsG4qZectYunBO\n/jTq8suFYSNrufVUSBf6aFGcQEhFur8INtlUG7OeD0HgMtnP/SSsfd4ulft4\nLWC9\r\n=jcll\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"06d1e9fa163aade40f9aa1f0233ef1266c5115dd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.2-beta.3272","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.2-beta.3272_1637369103584_0.9087249933833179","host":"s3://npm-registry-packages"}},"0.14.2":{"name":"piral-jest-utils","version":"0.14.2","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.2","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cdc5085cf10a085688852e5cff4de94de63bedc8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.2.tgz","fileCount":45,"integrity":"sha512-7jEonp/7rWoHFz5NZHs7FxC7lJkSTAaDoTct1i5t32XiDd+VHWuvNB0bk0j+8wpRC/8nlliZTX7HWUjleMOdcQ==","signatures":[{"sig":"MEUCIQDSS3tgfpzDuJzpt99Ych3kF/oyEWcmvyoE+7gJ+W5IlQIgXyDIB+D1E8hWJJiPKrhkqLEUEUDuwFon4rckkkd2LNE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhm6a8CRA9TVsSAnZWagAA6M8QAJFq3J4nkMubQZ3rommW\n55GNP7IDjhWGDeSSGMJxA372scDITrmHRJ8VNlxHRhrdb6ZRsTgnLrxMSBNk\nd6hAXvSwMvoMWGqXx0IpxfP6bLeTmtjHoQZxh7sDMuUzHbgszpLogKDFObe7\nX2m9s00ZLBEOAZujEpmSDQV2CakUunpaFUPEMgtlUInNb6fmkEtujHm21Hoy\nJuMNTjiWHxJpPHPaKy2U5Bls2BLw6EyNe352zoo+FgktFIMbt0mrMhcl+7A1\nmAFeWXVjuUjTdPlGcKJTYFk8FzvCaggEzPr4ky1lcyuMJ3YftEeYc7Uu2BXi\nfl1988j/xI9ywDoTVT8hwPg3o3PWo0lZ/7XSsAEhsCgu/papL83Onlwko4x+\ncJrTcuenRb8XVBBcOg+td9VFA7sHeN2EoC/h8xs+Q86qY9EKVjfBzM7mV54t\nfBr32VpRia7Gp4S5feS/F1ScymC3Hw/X6bp9m6YME1KjVWG57hXVmghOx0n3\na1lOlMQaKsCap/dBk2PQw09uGGUUmnfpRwTamWRIIM/dBBiYIwU5daW6WIv7\nFrpY5aNxdG5IgX9E1L1u2tQN2NWE6sCm27F+pcEAZl8l4OL7/zIhkT2Kr1Pv\nUiUP4DF7TKdn6MQO5bLHnZOaQGzcR8NsE283rzVNdspb3TmsJtscQc2PZrCH\n2JTN\r\n=/Ueo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"eaaab0f56b872802a70d83de27a77911af37ed22","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.2","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.2_1637590716508_0.2927272946651138","host":"s3://npm-registry-packages"}},"0.14.3-beta.3295":{"name":"piral-jest-utils","version":"0.14.3-beta.3295","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.3-beta.3295","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e55e8cb156ab4c963bdfe377d489777d44f25748","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.3-beta.3295.tgz","fileCount":45,"integrity":"sha512-SwFQGutJVjA3wAXOS+GC1RVIC5hfQJvuR8d3tAh+8aTPkUKZRHR7JxIXetoqcBUfAXyNFyp2HxRrVdpIuPXZDA==","signatures":[{"sig":"MEQCIHATBxSHCY9rojfE4igBfG/gkCtDf0qOg7z5SaSBfmfwAiBf603xKUYvQzwdfRJ6ZUPEEyJfze/4WS8LurmhTdlqGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhngtrCRA9TVsSAnZWagAAvBgP/2KQh/6HUDMNSqdqHHS2\nT5g04V31YpyDPgwm2Y9zJ6zwplQy3Fo9H4qU65jM9EXNHwkMqhlIUAo8mqxC\nfkMqQB4bVIyuA/p6HCDKCc4sotLnFU1unIU/ua8LqmF1bqzdnC8etPYYcojV\n9gJwOdf83/f35JU7OOdv8i/S5UIGsPrlUMDH/0Ac7xPcrJWdXkEe5InOWr+T\n4Ju0ReWKEYKY738fB7ceG6qc3IahXlRD7elXDUy8gUcj4g+1qIIYnMxac8b0\nksSAGn1xL/rYpPCFc86D2xau26havBj4TY63DSducdZlTSNTahkZ5XgX0mt6\nBOTPxY9dBpwDPyocbnLRqQdsMF7JmCX3spE3unpFK2eg3jtV6KAaTaEuQUJ0\n4d1ufmoDFh8W0dgzaoPDAo2v6EkpY7EPnnEsuTQQbWvH5g3pKouoz679Wwqn\nFXJS/IcY+fH/xt+/8qVA4PIQ3Ds8N9HNNGmTompIN7EI+19YiknsWeWv8aM3\noSjVopiRaJQNVLdncssWstz3TsA9D3OHJ4EmeLenZdm41t+NsW9dXqGW8Hv3\nkYMKek4ssBz2EDoHaLBB2/U3ymwLCS6usge2Y5OtD/+v9mpg78qsy3Bws25i\nRKVLi+zkcIjckYSv/fYfJnMgPgq2ylAECi+72QZHbTghoNWM4pDLpGci+l2v\nntmH\r\n=p1Hl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"699a617d9f89c76c277feba775da285b99cf370c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.3-beta.3295","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.3-beta.3295_1637747563498_0.44918133635344093","host":"s3://npm-registry-packages"}},"0.14.3-beta.3296":{"name":"piral-jest-utils","version":"0.14.3-beta.3296","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.3-beta.3296","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fc82d8cdae8d649694813a633b6eb5bfb15c0466","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.3-beta.3296.tgz","fileCount":45,"integrity":"sha512-VXgN0S2dVCJXkXw7y2aSMVHfR/EOqO2KAg7orvuVGF/6jbEPL57hmSANzFOSC0DK0yCXs7IQLPS0OZiyAJhV/A==","signatures":[{"sig":"MEQCIAWF8KKj3h4PpsDrYG9Rd2X+COnKDHfN/rcXAI4n/BjdAiBzmaf9NKg2VqBPrPt0cZkAuTKe3AqWZAyI/eGowbaZ8Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnk01CRA9TVsSAnZWagAATbQP/jlwNf7TEZo2TIh+UQAx\nHQz37uXMgYSzkfl3L+MPFwsjkGb2OU5vTNYq3C07sQhUreovjvY71DaxPFSU\nGJBU+r8fs8LJMa0/CmrTLqTKtpg20Xy+bOPYzOK5Z7Ap4X93KSNNFEhoS36n\nSULTxnJCQ37xlrsqTuqB4QIBEGqRUUugVDXTz/9pRGPrdsYQzDEqNR3IYqgN\nmRfm8gJaJaROanDc3ZJLC8rc622aUMxXNRceZHXnHbq0bnNuCxC2OymHTt46\nxzdY4FndW1LTmwSYRF/KOmNFRjFNYHsgdck3KRAc8M/pvfzFUixZ+UsgOV15\nMJp3sobsxBxqyly+gU0W/vVApTt58t6AjxE/iHylympxcDlvbsJXfoJ7zYRN\nrHeOQkMfVwJPYKkm191L4W/v9odKqDS8KiaE5SO0992K5kYd/UJTW0UCLHDv\nC5B7hFG4BL0IWKc2MyEV/XKMh7sFJ/SnOM/d9fYiW7p2FG+R2XRCmTHNt5Vt\ntpDeZrTB2gYSXF2g9U3aHT/8NsyIilAgTY2SrYsnyL9lFJt3Xw7F++CXgvcB\nrfamz7EbzSHlWcLpM/RbtjhfS6mgozCkpdlneZeUEtUR+TjF86LlpnT9K8XQ\ndv9JxXJjHvY/D4T6wgDzX19EV6S0CT5zAnpULnSuki2VZt2WRM8AAJ1X+VNj\ndFhL\r\n=7P2a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b8a8c6e0f21e4572f308f64299d1e520b5b553b8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.3-beta.3296","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.3-beta.3296_1637764404952_0.32478712548758115","host":"s3://npm-registry-packages"}},"0.14.3-beta.3297":{"name":"piral-jest-utils","version":"0.14.3-beta.3297","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.3-beta.3297","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"67a9cbff369e3b5bbd2d8e63009c27db7fc48ae8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.3-beta.3297.tgz","fileCount":45,"integrity":"sha512-x/0zT40J2ZAB+H91jm4gKqqj2nc269YYiYvqquWWrIH9awiZpAIxrhDKxpy5rs0ij8p02Rn9YqPymFQVwlsLfg==","signatures":[{"sig":"MEUCIQDFiGoklTfKgXoG0/E3bYT2XuHK4q7xqOEm91rBTOVrVgIgNpScgh8ZUOFBgl8YkMm+ncQn5efhiwkAPsbQKbjuBt0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnu7GCRA9TVsSAnZWagAAW4YP/Rx6Tt6K1ha6goO5H99o\nvaN1t9BkMI5jDyzanlAk6mEieLlNQh31a0lGdq5RqLJn3nj6xew9cw/M0zYr\nxta1dR6S3RdxeBhw3rnEq3ZeWb+o1poAhTdSozeq2Xdy6Yn1fGTk4MaN2eMO\nFBbgYaERRIB0GxagzMe369IE/fghTa97j4OyJH228A8EHSpgIWgHCh2Qf47V\nSzsMkXBVW7AO9k/cBpJnmCMZeaOEL6vnRX1spQ7KW9U50TOQMY3IFSKdI3cJ\nTbDnxVl5rLNrOUNwEnR4Mrri534J75I2aUioilBs95lzBZFRe1sEsymdMEpj\nE53eFRw2tyPv/31J6HKwH6C+WMA+jyN18785NEqu23Tf9q3aoyOHzmFA+/PZ\noTm68Gnvgbd8VupVi2zJ3z15vFn/b+njUp9sAUwTWZQVJ3rdaJdCqdR8vvN+\npPI3byNBBZLadRx6kEXZfT+/lbGVBGLcfkROKL6iz2LDz8p6PZOajNl2EVEv\n/e/uvrhGpwwe12/IppxA+yIuctODnvMO4oe7QVPNApSsAU25LhJfBt4Nanl9\nbn5Ih5uUHIk8Saj7a7vhRYuX74mdrOQeA+/m3Ae3q0GnnZvc8VZQHv9hFhHa\nEIzJGhkTlUgsb7uxvfPBReGCxzTz2ad8rNl2LNFVDV9WDQc9loBiAkjdCysb\nIXYR\r\n=Areb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"42d5359bb0a4d0d9f3bf27e8acb205419bb4cc58","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.3-beta.3297","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.3-beta.3297_1637805766087_0.9444343531248696","host":"s3://npm-registry-packages"}},"0.14.3-beta.3299":{"name":"piral-jest-utils","version":"0.14.3-beta.3299","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.3-beta.3299","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cdd96c561a55adf447ed4e9580639d77a3df54b6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.3-beta.3299.tgz","fileCount":45,"integrity":"sha512-a6fBB7fJBRW8ac7he/zX7FeAGbAki+Pgzz5HYN/C+WSY7RzIGiI4ewKX0S+ZT1OBS47X2SftnlRauMMxCC5SKQ==","signatures":[{"sig":"MEUCIEn0Y6M74gVZdS7wK6xqZ5T+ZBnQWVil1ir5e5yeW+kBAiEA6XKZmR2eqz+SA3IOGHQOUumfP9DWzEgGPSuvMJqaGWc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhn6WRCRA9TVsSAnZWagAAZqwP/0ouiHx6sDwSSGW1McGV\n8OCAt56/d36kanPaR9TBqot4/v+xbmmnmCeNN5SNktOpma9LdVe+oPvK+J7F\nY2f/OhRssO47ya2hSDXb4IafdsE1DAoJLBQgAZxLuBHQBvJsDVC+VlSogkFy\nGoYBioMAFWWOWzH827n6zdr7Y6YL5V4yqDS0lXePnEsihIb7a5PcqEbq3VBM\nlx9+WGQOYzL450ZVxFrXTReNV6yhpiTFzaen19UIn+Y4w5wQTpAWk8e+si24\n8Z9bFQxRbLf+QGv2NFhgW2jyl3p3XtXejJ1l0bbAErR7bWe0vI7DUxyqe7Zt\n5k8lVfBkWkQWAW8KP8ah9C1X+ryycrZVC7Era+AODL3oWxbzmX13DWujYJLN\nBjdihKTSQziLC1XlR36HJiYcYVAv7bU0+hp+4ML+TDk8oljbc6ihiGg880An\n//9o7hntEs0veHXsPx8XTsDnXhJocKoE5mep9G43ZSHbwPLYR1pOb2mgOG5Z\niY2oBORC8S1ixk0aeoCUXDmDM56nqZIIy9g5V1K19Ufix+v+Ln4YR64VtiPM\nUwDMD+SwSB+ncrGiVSsdmxTLI3FvmB08qVHeKai1GCQ5EOKk6NnAAR14tXPp\nSu68Hig1D1Cqrub9Q91ZbECKRuM7X0+EaAQg0BKqnLgwqlFrbHUfx8vcuw7f\n+Hn0\r\n=GgZn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"2329c97cbca23e133c1b432ead68964f6ea411f3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.3-beta.3299","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.3-beta.3299_1637852561575_0.8121982358249551","host":"s3://npm-registry-packages"}},"0.14.3-beta.3303":{"name":"piral-jest-utils","version":"0.14.3-beta.3303","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.3-beta.3303","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"416e58bd452485198ddea2df4202bd21fe52e530","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.3-beta.3303.tgz","fileCount":45,"integrity":"sha512-GnKoY5lC7m0p/GBvZe93vMlNfUejDrL8EXB2axFFKVNUSZXnhgBZw4KeTv9+aB3D/U74iz8DqbtZkAwWAGgR0w==","signatures":[{"sig":"MEUCIQC12GioIK2kEKrpx9MCzzG+O41m+5qB0kFDkbxmpPECSwIgFy0zOGF0KT7/nSr6Li65iBfLm7dWkAPGtEosoDdHePQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoDd4CRA9TVsSAnZWagAATgwP/R/QHxJy2xBPvPHqyenH\n7pew6FwAxfxV6C5AljF7uIGk6/3jxU0KifsKErlCimVXpdNC3RszSHoFjfCp\nYA9QrR86rF6wVurgGdSIWT+JDl31Ob8ty2xfxZ/DcfFDObRFC+RJFXVMOew0\nC2saUM6K3Z9NhNMuhgAyUZ8aIHU8JIl7dMs2OiM7MdakbKMcbQj+KLHIaJzP\nkgtiXxu3aK/1XPmYTLLUUwU8axHfEmwoZA7w//wV8Wge194n1NnqhJgery6Z\ntqbNAdq2QHefs6CSohHOljzIXRPdmsgZimTQwqd/QsOO1BBfcikPc1hbNpoX\nlsf+VY7MdYmLe0xiOLD37AD2quIG390ORNnKxBbp/2SHKCFM+kxFWfjpGYFp\nirlSjVMy0k9MfW+8BWm+HkPxUdHMdgGcxCIyQOSwXXQSVVD0RnmJeRdesC3m\nyUcRdpZFSX9NrQwmodcuT0rltm1YFwtrr/HsicoeRDxi9w6L/oLJ0/v68jtX\ngxlyjpCW+AQgYfdoKaxnz9lY3Gl1yFZGqDRuENObFy/dgof8LYQwElPnp7DP\nPdDEe6YGvbdkJzlTsLvCbwIZsw0tE+AzuToY0u25ng20lX1OrSKQ/Fl+SG81\ngzEJ+quoqc1GfkexpuYBjUV+lWiIQhLe+C5afwK25LwvnG0UHOwDtdbFkhN/\neIO7\r\n=sfTe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"da89ec453fdcf613a0c68ff75d53d47a052ce356","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.3-beta.3303","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.3-beta.3303_1637889912013_0.6117730111838691","host":"s3://npm-registry-packages"}},"0.14.3":{"name":"piral-jest-utils","version":"0.14.3","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.3","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"41865eddca69ec9533c6459eb782735371fd48b6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.3.tgz","fileCount":45,"integrity":"sha512-h5fngHqYnJCYzeen/Uw0mqhVKmNSFcB4ACNeD3PW8E6R0NTO2IiwemN3Y2p22c+4BI+NShL6ECE2K/iXbC8wiA==","signatures":[{"sig":"MEQCIBDgfBO2KSAy81bEIdG7961B+8Se9YGL5k6J8RlqKdqCAiAoD5yBD7OKkroT8HSj3ZLXseAUiDka3PDhPXufu6fQ7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31660,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhoLv4CRA9TVsSAnZWagAAvWwP/iOvLVW5Vri8s0o/8nlu\noGi+gzU8ruQ/SJXyOJAjudZtVV/gWHo/Zbe+r/g9uQZIv+cpKubC4R+mzIDS\nmPUZfEAKDtBVMH0bjloyiYa9CkVguNuzaoUO8BZ45ga06QOjn3A6NIBFpGjG\nixb1s3ORcqO2/prlsFZkyRORvdYlJUnQNvXbwRnV6UPe9mwt+CD5I+mnBAi2\nkZTJ4TAAKu4WsT62nNgpE88UMe5Dua5NSHfEiBlu4ODGtC9P1Gp7agzrM7dC\n/gSjgKFQWgxbiyRMEImLCiRU7Dl0QFLweQdE3657xRTw2TmoiaXhTiE4Q3w0\neWH9t+v+T83KXLrM6pQAQw/lTIaTNIrYNGmMiOXJgvni8PicfIVd/N9f/r1o\nZvjQB1vmjWekMceHo8iETS13umyGCGuPVrPEqXW/c4liuHFoM0XCg3lzVDCP\nTFBhGQbunfGS+kyxH3qx0lPIzsUR4G9QCer0e9EZt75+usVOjgQxAMGcZajD\nCCgTrSA2EnNkESqpquOKLMnoQTUDAb586YOajRb88OeZ2GxXtXoO76LNbF0b\nFEltx2phL9QIKacmTKlHjSp1/5JfLrdrPhS3dJcSP3C1fws0LKFAfaGyr2r/\nQTKCzkWgPxC4yZlc0z5HzP3DtlKhnA/fJ/9AV5W7EJKIIXX5MxX5I1PqS2MI\nKZKL\r\n=x/b0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"6.14.8","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.3","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.3_1637923832771_0.06307532666415616","host":"s3://npm-registry-packages"}},"0.14.4-beta.3311":{"name":"piral-jest-utils","version":"0.14.4-beta.3311","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.4-beta.3311","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e043c0c25207264cc8a0d0770ead9792a442ddb5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.4-beta.3311.tgz","fileCount":45,"integrity":"sha512-5PBuGNb20l7qTFCD4BtiUFBvwpc+z5L57Oi9hEjvAR9Q5Tax7do4yNsyZ86sTDCGTjQw/08dK7T+VXShQB46Bg==","signatures":[{"sig":"MEYCIQCdWbKbEBJdrJBzruPtrnzSH9Ld0j6MWnUKnAG+dQkppAIhALiSuDPlFc89AcewCvANhV49y3UG8LamuGaTg2icnpnk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJho6ZYCRA9TVsSAnZWagAAZtUP+wTwPAgECURC45iThEN/\nV87bWcKVFfipgIG7Ft035ndYjyzFT0sPvzezRakK69E6T6biC+mk4Kf2WhdI\noVcEEvCJ1tG1y1xSD3KMwCM9qF+nAEBg02s3xrni+/z6goqCCoqLx9OcoDBL\n6xVpOFlLCWJDWG0fZY0r3g+sC4xCemZ75tHNe8lW3tC6lQcX2iXsZxiUZio5\n+6XldDY88PdQ/h/X5HIXVPHb/xYrLOfjsfp3zvUPi01GrcCm0RP8S3ndACC0\nqwohakhumjtQ88QogNoNToIRVhZGBpbXwlp8fsJQQjG0bOtyCQjfY+cFAtP6\nWoEcjV/LgOTe+bdHLCBGHC8wq04Ra3ulOdY91wcvZLbL6f9TOjd/P5+dqELj\nYURHMeIbPSCTk3yK9Bc4JyjuetrFHKhPgv7iuBodHXGiuE5tNC0TiC/38i3Z\nZLBace+DqntEtG4KVI5ozPyQ6CoAmydrmAJ8awl7eVTC0xbHQV1gUch4XAJ3\nQMijAPIcSbQt8jQT9P412dD/MnWDl110UNuscdJ9TKTU2TLaW01GwrW/dPAm\nT7jTjEnwhPgS3Spfx1AT7sYM8FOsmum5OrTjlMVsotYI/1N00PuuE7yUa2A2\nCyLmAb9XYhnzqMcoLITzc8aX1kdVEP2bS2xG6ATbv+kV1ow5B9cAuT1eP/yb\n5rXg\r\n=iysL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"c2e4e413b6505da88b6296efa694b3b96c11f77b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.4-beta.3311","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.4-beta.3311_1638114904509_0.4660762711533337","host":"s3://npm-registry-packages"}},"0.14.4-beta.3313":{"name":"piral-jest-utils","version":"0.14.4-beta.3313","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.4-beta.3313","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9ce932ff64d7c482fa20cfde6fc5ada7f9ce1cb9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.4-beta.3313.tgz","fileCount":45,"integrity":"sha512-+sotD5Ym8sE/CMiSQyzSbo9oE/CenHpx4+xgbVBsL4t7dymVhl8uan7jQqUOhHl7+IEDSviIaT4MI7WGntrG8Q==","signatures":[{"sig":"MEQCIB5OrwL2E49X1sdCSnDiMRJcCWK+mLoXj7ebRjt7E2NVAiAuaI+0EXCDEJH2UXnY9RBlXVDrcQta72O/gpvfREnGsw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpQ3SCRA9TVsSAnZWagAAiXMP/RpiuafuqhsAMrZZINic\nd9rp2ikeMxXqsl3p7bCO+R4Wn2Ug1umelPfXQqaRfNmPRIvwcEw+XcNvh1NJ\n5WRvpC7A67rGKIEt9nbCSiO3XCR/ej2d7jNLHEahuwVduVV48D09JDa0NBWq\naqDDaln9q79ag88tLndI1PMScA/+1tMPXoD+HM+V5lCO49iO1R8dgynsEZrs\nilNLvEQTzYul5ice8hkYVP8Wy5aizt8hFnF9q3nh+d9nhFWEMyEVGWYGhV3p\nFcEq3tA3JjY+22aSa93agPRncJCCn/vmN4OysJ3Ca+wDDJ8eLKg2Dtki6xOQ\nQmX+wRbSzHgPmsMzSNerT2Nhn6sUvBPE5LDliYR+aiwGxITwa3rQVJT2SmcQ\n3pErk/7+hBP3QGdkdMx+cQ2Y/h2xZV7q/4Oi8Fs4rYgO7tyr54VKYzDWkB6V\nOq4YD4NgqhnYwapetbT2nkEJNxNn9++464BYuCB76c27smmdNONW05SEJexb\ncAvpfmrTpesGd1B1hRmXFMRJt9r0B7s8Z5kpmelN7Qdf0iNL0qCGX8nGypkO\n/Ox6ucrtEekp8YlDbVndaZfFP7JUyRtUPUCxQ3F++4SBUFSvH9MRIUZ2icjN\n4DjJPr765ULB0KNt21Wh3RtVRvRrUqgqOyFJKjhJuX7+iLe1O98eutyTAuqn\nbqdA\r\n=OhVJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ab1a8f12eecbe2824fc7fe9b7a9acae33a91c0fd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.4-beta.3313","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.4-beta.3313_1638206930393_0.9661386932334488","host":"s3://npm-registry-packages"}},"0.14.4":{"name":"piral-jest-utils","version":"0.14.4","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.4","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"237e6bd8dd9325cf34cb3edf881d93b8f86a233d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.4.tgz","fileCount":45,"integrity":"sha512-9FqrDWv55a4WwPHLybGQPKyia60VQcyc8wm/tDjAHyBGRtuqRDsC/01Ri8uggEMeCyLXiqPHj5XKK/CbZ+cQtA==","signatures":[{"sig":"MEUCIEG3ksNal0zVVAMzH0uqvUzQj4M9QYrpIcEOOwHl7StWAiEAh03Xv7V/srHD+GUvettIoIimupIRlUyYGB0X6B1KykM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhp0PYCRA9TVsSAnZWagAAIi0P/0Z8T3GPO6lwxFIxSsJH\nUwW9vVMHU5T2cjpJpGykWvWpUO/5+K4UDbWN+AE6E1BmzYdXbtHSG0TTbteC\nNx2AFpQfHQlEcNU3Q+0s3C5Xi+tSYWxJ5zyf0//xKh7iJhwA8hDxv/NuY2RU\nRVd5oJc4PmjFFLPsJmrvh03UBZ4LAiqQSdR7RD8wLvC2BC+b6DAkH44bz4sN\nq2Hfzsk8UOwsbMIP2l1iV7bG/TbOnqnGoACh7GDthluIyGrMIxTipH/i14y2\nBCnIWbhh0xwuhFYmEN5SL06i6uAexqMgNUzH1upHAKakI9tvCdSQQlUsvLnG\n2QmzID6tK0KVMqSldA6c6tLJ+6zRwqcfaqXmt0dNDrykkLB2zmBXQhmqUiUI\nZXlAF93Xcrgv0LN8ArcDOf4WfsRBnZId8ozBsTI5N7Wpmoi7ds45YOOsPwyL\nlcchtLJ2ZcGiIwhAj0mU/hVOBR1nmHs16cHD4SQz9qNw6rgvwwadaYGjA18n\nfCu/kqytQoaQjK8Xvv0kAMks7m+B0Rp7ePcNm88Ld5JLsuWxp529f76HjjiB\nOetxUvpqg3/6OXCR82Viz+31AnXoQwiF4ioxTae6NbA13F/DjBcz72zwPhkv\nfKdP6qXoj1Xf8kYKTVo65N/mZ7D0bHxNQghKSKONXv/rLFpS9p/hQtQ9GDpl\nXtgc\r\n=7jfo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"18c4b414ae4643486c44c057662fd5e4f04bf265","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.4","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.4_1638351832057_0.6842693049992654","host":"s3://npm-registry-packages"}},"0.14.5-beta.3331":{"name":"piral-jest-utils","version":"0.14.5-beta.3331","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.5-beta.3331","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f7b04bc6777e2960df8e6b1b429f834e20718e0e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.5-beta.3331.tgz","fileCount":45,"integrity":"sha512-1GBnvvJtbs44Kv3AGOMX1Cjd8iFV4zIP2xiPl31y5nA4UIQYhSjJEPBaFOb7nEhL/9lkyTSI0XzTV14Sgzquzg==","signatures":[{"sig":"MEQCIADHDA5f9Tk0Ni9UFiAANpO0LxnD8gZt/YUiQo3u5+hdAiADKeHj4zFUpHVeVgSFfwX748jvhHpWh5NqiFXUK/05Hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhr5WsCRA9TVsSAnZWagAADtsP/iwUmC6najfCPCxqFJ1M\nDu9EtOTEX+J6qix6Tb/TGSkq9dhRup0FcW9y151+iMTe8MZpS1Kxxku4veBm\nhqglSTuSUPy0UjaMridxL19cMcFJXJw9CsaMGS55Zd3D4a9Z9Bmu66DYUa3P\nes4ZI8F2dd/jQ6eO0Kb+3j4rqJ81eQ21D624NI1aR3VI766hc28OJOWBTnIC\nafxLfVJ/BaXC4HINpog/mJPKjAqxG6D0Nh3uGE4zf9t7LcK9xdhHQvAdnT6T\n9K95r98JA9LmUdZwwsflQfXa91fiEebao+vObRM5OtjwGrnYMr5oKYUXzWZ/\ndz98/pohbbJyzpr6DkAo9UUFIxEbwSsZFGEfh4AaxjN+/QWHnIljUEogcBmM\nvZeEmvwN7V714Xg6IsFKz3K5oNROrXMnIWBhaE1r/dVIdKOkZFUuOtdaNFym\nrWogGKdsf0F5kW1BEhUW6DwUyOBVDB95njVIO0htDl7PPjsOy03sy2Z7JDfc\nC1JBAj+vH8js+ZIPiqzFl6Ji3Xfh5E8NAW+XpVKMB1uUikn3s+UjkDo4f0RY\nkH3kP5jOVm+qlYbYfdWU8LanSM52461F4eg+kvGY7pbwilbYYtCFHIIpVGC2\n8vk3YhqNAhNPT/DrM/4v2zGU/Nj7qZ0MLIuQfL6XM8OfSsN4jxgGXnzb/wAH\n/lL3\r\n=z2Ml\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3db5015a2dbe8d68b87244b4d5ea6c9f84633189","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.5-beta.3331","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.5-beta.3331_1638897068161_0.7713865642461384","host":"s3://npm-registry-packages"}},"0.14.5-beta.3335":{"name":"piral-jest-utils","version":"0.14.5-beta.3335","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.5-beta.3335","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"99ff6a8052a6ae6a2cef83004377d6b4607c9f4e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.5-beta.3335.tgz","fileCount":45,"integrity":"sha512-W1yscEO2l5OIFX43t/XkgHlii5fZRg7cO9sJF2vjkU28vfp7ReNMPCq845oTPxwNFvVxZJXyCrTSOB62X/i+uw==","signatures":[{"sig":"MEYCIQDw3zAxUbivD0Oe6V3xqc48+cehUS670pvxMhd+ZU415gIhAKXY1jSzgFQv0W/WtSvGaDr224OgGTFw/v8i618fwgZ+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhskPICRA9TVsSAnZWagAAXJ4P/inOy5L2dne5zW2Fv+AM\nPAwk9r5XTc1+8sIAsabND1veO/Tn47/7dJYZvEYM3cSNPWhlyFGCJSzR+YSN\niwRDtA0XeiN7cPtW5swALfpEwyrvo3NmurliZ4bEnbYLDKGkjS/dEXfK5W7a\nyNbwEvFAofdyuN++Gom1h+jS7z18Kfl9EL9dh6VbU9utE1UE7jWWINvn46wd\nv6duwiMhy4lfklFOaWHE0KElqYW6/uxy5bVMCu3u8ceJ11X/AiaDi/8dcAkS\nNIr3SbUzKZqZJYzukwx4aEKeygxGwkAfDP7bXonHI9+Fa+6bGGS9pdxClI85\nan6K/H1/X7Ngd3HtYwiDVYXLL9sriYPjgiqQtZgdW4Xy7n+Seov8S+nOO7ls\nTR9vf9+V+oPHqtonOTaZyLL6qxS8Ou/ElelPTK6G1Q+v/arN3zhvz+Xziry9\nCCJIQov6IZKiDY8BTqL4M4swhMgdw05Jpop7uKavX6SCMjeFy9SRv8rPpcOn\nM2w5bc62HFIjodieb14euFUmRbl+AYamifgnuYro2uvHBUvBQ5anDry6tUdA\nTYIKFLssJruhZrHssCz2UNoUnroWhR6ct5HaaYT5TEXIXRlMc+9c8nwI2chJ\noTKEucGmT8C8WJBgYTeC7zuzkN5QAzGWzF2B+t4AEok7Ytc0OrVNlpw7q86p\nxAbg\r\n=YWGE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e4d630fc1e08cd0b994791870e26fefe9e1a4d86","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.5-beta.3335","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.5-beta.3335_1639072711875_0.7435345013156984","host":"s3://npm-registry-packages"}},"0.14.5-beta.3336":{"name":"piral-jest-utils","version":"0.14.5-beta.3336","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.5-beta.3336","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9344f36f0d07feafd3eb70d9e85d920826c163b9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.5-beta.3336.tgz","fileCount":45,"integrity":"sha512-gxifom0la6K8kGqMuezanzpqGv4VJgTK9XSvNKhz+9OR4EV2H4ZWrZxzy0w/qgbSfDhQWhNFiwnAIYu6yG/GPg==","signatures":[{"sig":"MEQCIHKkbYcAe4Z3x3vrLfD2E6eO9BtEAQnoSIUWSjZNMAdYAiB1u63y2FTMkNnpphbP1PC0vpdhEXVQYpP633pQBMdlVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsoR+CRA9TVsSAnZWagAAjjsP/2B1TinZxKwW0AeWL7B8\nP5jsmycOuR3U4rOA5QRThhtWo+/xsW8dXpt4NJATrVD5LSS3Ju2NN3PQhHYY\nYsmTiXseuSvIowTzrtxRd1XxcjbGUQIv7+m1py0ezjDaOYCF5oRsna7frsJu\nXgU0kmGz9bSbV4dH8iSGHO5wkOaT9TH92iik929pLIv5HiKIZSUUQbw7zg8l\nsUlrypkOxEuN2TQlHi3DEXgOBYkfZsRyJn/x2FMAkGCg1le7zOV48rlpjZ12\nbdkRO5/aAWRKYNwIPcs6qBpz9Ocv8kTgcwQrYwEqEz7rzoakDCNyvnvY6Mn6\n1eqezPyx8bWbs/odh2cBZUgLsm9BAaMDfjyy7yI+8cYhqLrE90fteANdryEv\npJwWgBsX7t82Ybrmk/R6UbhRsoBcs9DAfFde3P0yN3aI62MxQVxRZHxLxcnI\nzRrZ4nWjXsRYP6KiWJWqAOrC0kiV8E/PeH11cB/kmcccKWQ820PSKu03jtUX\nvGu8ilk9d2l91vMH4U371xFoMtLZAaE9Y+cwBlshpsb5c+HSNMykYz0xzHha\nmA1t3B/BUQZyRfxZn3T8Hpm5pVlTA+QQXoOMHyp0tFCuRw6jrF1i/vCqSgTn\nSm2FqCx5iGEKepKoH3OtRhX9TM7fPrEtEjfYvxn7rVWxiXQUrZGdkQ5stSIS\nMosz\r\n=N5Xx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"db950799d09a66f20f356adc35d3d6907630986e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.5-beta.3336","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.5-beta.3336_1639089278462_0.06289892005161724","host":"s3://npm-registry-packages"}},"0.14.5-beta.3339":{"name":"piral-jest-utils","version":"0.14.5-beta.3339","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.5-beta.3339","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9ad2236ea1da98d98e0ac8c2d023b669ca329301","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.5-beta.3339.tgz","fileCount":45,"integrity":"sha512-yDfUYFMQ+wfWGBn3C2ebscVBL5QBAjFO8JbTleu0YGqMxZfq5XUcAo4RP2Yscdxd/ccIpSMMA8LWlA4WNxPLVQ==","signatures":[{"sig":"MEQCIGLsagUpAyR9lJBL5hoOadNh5fej7qhb4oVujz4qKtxNAiBXZmv2q4Hdm3J+ZRG615BINK4IT4V2JGnIB8O61bgNMA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhs4XWCRA9TVsSAnZWagAA6pwP/jYMt0dTK3TWOCbVAKGF\nh64vPhZgwPOBnSlVvoXw88QmAebjZszVHsfT2TpfO9erBQOTQ3mJto45U8S9\n9AJaqzn6CDXBdxOCGm55/7L3kfAqU6/ARytvBGYoYYAsHsRCPJe0OqCshMFM\ncAzzukezEvKXOd4zjGKiuWHcb3+5wouambVabYIaAmcD1LZTD9UKQm3plbkk\n5tct+dn9v+KIO9AsbAi3h2VN1YdLxcqZMjmB+jmLyW5nq1SQMfiNeo+pPkz6\n6C0pAeJuSkGkZzX99Fl3XPsMf3lXTnecpB4+XQqfEIx++sO/584wnpGFS1ln\nAjEv6+mCgkA5jP8X5q1vIo4Z5Zm4HHMzDF/AlxVtut+kNPkqHmw1fwE4X4VZ\nQ5ybS2nZxjAKN7xlNHLc3uNQLv5KXWK1ym4LV1HsIxfilNaq71UEjAsFiKFA\n6jV87jAiDepwfPrOwA+xqusHz7c10Ayzwtz79G1yWjChciztylg1sYB19aqP\nOg2d+ByULkUZuD+p6tZs8QI/7goZaG/MCbLQGOLZ8SqINiK2MlERDp/MEUkE\nQQ8VVzyDYjKFVRVqQrA0Mfy3J1W/a3uFNbDXUsLSywaQMHGFa6qOQw8WK70v\nQDY+/HaL463DzGRCdo2fo8jLpe0UcJJz5/bNo6KgetwMFcK+29L80rma5MIF\nOctF\r\n=RXMP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8283906480a53afa293d4c7f23c2ac83227ee542","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.5-beta.3339","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.5-beta.3339_1639155158827_0.9664277921864284","host":"s3://npm-registry-packages"}},"0.14.5-beta.3344":{"name":"piral-jest-utils","version":"0.14.5-beta.3344","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.5-beta.3344","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ff0493e5e3e3c2c7fcf36cb882daedcddaeaf5e4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.5-beta.3344.tgz","fileCount":45,"integrity":"sha512-5RpcSDdW755ZxasC7G6Ldmxqvc66yH+Uaj4kfWo8qIVDO0SgRsZACfMLdxsXgerp0+ZJlZf79jB8VQG1bXiDxQ==","signatures":[{"sig":"MEQCIBCAnQW9NGF0rK9R8lCymDLbr5h6UpZCWB9dZR32yKH3AiB2cwJqU8u2rg33LXjGKUJv9NB1i81TyoeWTKBpmInGpA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtRpFCRA9TVsSAnZWagAAjegP/3m1I+0RcCVR3ALTcKgA\ner5zP8DRDU5PAYJAXgD2p7StvLDcCKP8l/JqxKm/7Ie9Q4hjB37GoP4CyMcV\nyJ7jmJQI5iEWibBdWHCrhufY9K0y2Gyz6QtaRA/ZQnVqC6W9M0PI3gaJOhhj\nJ7TQsyPciiyWYO0ztnWvf9vFwIylKc4Cxn1/SzkwN751d3aUKhqD92n3XI5L\nO/hqvlJAx1ZWJaBq342A5/wDW6pn69q8sjm86wXvG3tljskE4wrKr3NwOLMV\nOohxkCGdm1WNRGO6+ZrRTDGO3CDmykarLX5d4s99gVKx/jtm1pogfmmlEOBx\nzpRydFg1Vp+4fs+znklYCFsGl7kF8ClXstx3X8JxhOd12sHiGiQ6+McnhDD9\nqVJduoJcdpIVKvlDvyx6ik/Vuq9yCwvAa+eqrKtYqC/JwpA7BHUGZKRgtmAO\nLY3IX7ALBt4tsJBsG5Fv4tjca/DNO5wwj+FLkQmtcZmqOspuB6DYuuvvNnj5\nBO4ibXEfBUTFa/pTp3u5whpV1czdVav6uh/J3n6bF47ENzmYLWw6poRPr7AH\nB1+hcj1ZA5XsvmwnwHF8pUEd1218s7AEuX4vPJjt1HYvSn76hPqK1zO7OCun\nAYDK5EsvJLlOfysrF4buPqBLOa2Haxij+Bp2Rsp4bZN68cfuGLR5knrIyWVh\n2TfO\r\n=Syon\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b462c344e9ea09919e3f9b9f3da058b773cd5814","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.5-beta.3344","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.5-beta.3344_1639258692910_0.904410254660986","host":"s3://npm-registry-packages"}},"0.14.5-beta.3346":{"name":"piral-jest-utils","version":"0.14.5-beta.3346","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.5-beta.3346","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"407015533be972883e25847f0fd555962424c3c3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.5-beta.3346.tgz","fileCount":45,"integrity":"sha512-Pc8OBR/N/fSOegKoJk/AfHxv2uJQYfW/GOceC0KUol+TaLYQe+7J6pdq9gm0jMu/srlAKxjM5qKYGE9C0tdEdA==","signatures":[{"sig":"MEYCIQC/SKJMcvfVesur1rtc7HY/qD3hmxr3AWy/ae+Sl4wc/wIhALCziJcjN3CaMoh3lzX4NBXh+6zHaktwPZqvAcJJeHrl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht0sXCRA9TVsSAnZWagAAwBcP/2ncx4DWoGhDHuRS0Rc1\nTkUe5AN6J92+/OpRkAprLt6126HDffJtX1+/iRykxnL8vtbU6EpiJqkvVQlz\n9Xt2ub0F95b85VuAnKJiPJ8mbm18HyWeQ9A5BBEiMS14prU590iFIpZfdRCU\no3NcH6hmW7x+F+74mZo7vpWyqZhH+SULWkL9dA6FEmJE2zQguDsaSoxAkrmp\n0qVgNElrK0GSNzT0Vi8muVWx+tvkHTl55KKceG9jgs4TheFOgT1FQlFi5Pyv\nKipDEdvoc6UpmgXOzk8qqJtJEzwwkXRdmf7hOERpvH/X/wWn134xZnQevQBg\nypRyKsdJ62k3Zk1HUfmyY6jm+aVa4sdTX4Da5vPI9zDDGvgGbt4we2kE+igm\nXZF6JHcU7aAyRqSrRCmFi9ZshpZo6OoMJjdLr6A+RO+RE+xo9oN9llQvVMHu\n0ZB7G6CtKP6bQ6xjimzBupyYMvt8ntMc/ZGZijwDyRGWQgtfrFTLhskGja8r\n1rUgljtM3yFIseMDeB1iDU5v1u2ZaE1ckKMwKnT0G1MamdbQs2v7gRqMVBj0\naXXDDL9kXYiD2MjMZdhTRay06AE6iwG5YFH6sbyJor9A4Es1dquS58AvZ49P\nzB+VJqfsk4kNX4KUaBIg6vW11+SgbKHk0K8UieFOH1Ce7iCeoWhCivObLHv7\nZKRf\r\n=tyEg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"97607d2b43b9613d0c0c92ed4ce23362710134bd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.5-beta.3346","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.5-beta.3346_1639402263360_0.6597223335989346","host":"s3://npm-registry-packages"}},"0.14.5-beta.3347":{"name":"piral-jest-utils","version":"0.14.5-beta.3347","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.5-beta.3347","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4248547ed85ef7f7dde6b4f0d1f3829fefb72a6f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.5-beta.3347.tgz","fileCount":45,"integrity":"sha512-+pulUpaELjgidZZhuuGtGe+Il3YH9wE1quUKQHMOJ/+kx/KfZGSdRJEF71bDcrvKAx84bxCnIjIaLoiUqq3Q5Q==","signatures":[{"sig":"MEUCIQDECTnIMqrZuucPoQcyv/yh0/yb/yfMrx2yKQcjFMHMqwIgOB3S64q3BBc+IQb3snIVybFKJQQe7aRHnJInKfHx1Xw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht121CRA9TVsSAnZWagAAVrYP/1Xh+OMzPL0QPV2tWA+v\nT3l1/2KLqrHOv/2h7VMk26E3u04IVbDLStAeq0SKIekLCX8Wxt6wg3p95RJ2\nV7xpOk1IIzerX4wjot6GL7DDL3yvHP0QCoyUNMHByxnMpUAXhkm45Q9xVnRb\n0rX/SSr4K1/aPuds+Qc+CFUkmY0iv4IIXpfmAasQJyzoxJrRiP+J4yoh55h7\n/jT2+czm1nbaZtLnvNnj7lpSO/zjuV5JPFEEVo85CyRw1g4vENqCBNqSWOMO\nJJoPCG0f2q1HrdZxR1gYOsBYF9ZGrMmCSO4e/sAYTs/Oz8M6K7f5xeWHv22X\nUaNYYQbyuMLQad7sZpdTRG4VDHwZ1+4I6dKYyoCfeXxIkreBVBrafECCU7qy\nk8GjHc524oa95sm23h19Yvu9lftcMMdUMqHn1/08Aj5V1yU0yK3H8ICdoPus\nfwRMOXeW0UrsmymuqWiMb8vociBMafRUmG1FidxIFODVsc22CLFJQoNfT15b\nOHAb/1JDR5cui+1Ybf8v4ypqKhUsMMMuw4ZW7dbNypnQE2OU3meFZQa0wvTD\nTpfC+4TjjHUoiL1rm0zHIxN4FQYPIrVxmK956LdRrSPrAJypYQfY9yuJCiGp\nuEo8cq7q/tMAeoxRlTW+s+cDhB7QvJt5beBzlKcRJEZsDAg6DumZyBxSqK2h\n3kbx\r\n=unqm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b0f46ae0f72d5da0fbf834d5c5f553cc70aaa648","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.5-beta.3347","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.5-beta.3347_1639407029743_0.05455865383826297","host":"s3://npm-registry-packages"}},"0.14.5":{"name":"piral-jest-utils","version":"0.14.5","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.5","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2dca630f8d2f743f323a24ab954962647a7a19a9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.5.tgz","fileCount":45,"integrity":"sha512-dxmLl20K+9FfuBcweud9+jbjFMxqmui4+NNcL6UC0PNosvJpNVJEgjtcsawZEn8arDKykmESlpo2yqSU62OBLg==","signatures":[{"sig":"MEUCIQDsZs92OOdlU6PoFsM4C1X3WBThKeWk5jx256QyxDxDegIgbbkBK+ngT4pI4MRRo8Pz3m+t4U83oUX4nZMACd/HZ0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJht3dLCRA9TVsSAnZWagAAhM8P/R4PH7b7UCj9LwYbTqJr\neb2nvFq1XxH1bgriGF8eqGkTzV33QGIPqNwBYD/4MGaT/L08zP84JcBE1TIt\nmff2IdRxXPsD/IR6J9Rl7Bf9yrQrRIIq78DvRiS4tYXKmH+p0elTuCp0LoAs\neFoYJVEN8NrmlBEdPtmYZXI7dRlnP68l0SWbHXAawRYc4QW6QAm0VOsP9EuP\nMgYL/fvKEfX31rq9rjXJI9zsO6DLHwVgFYAeFVtyYnLIbG1WHaQphCWE5/sJ\nRKF9wGC4pnkAzDjHQq0zEGLrHx3SY1ii3NRayz0JdKsE40K7LRAKWUqVlDFa\nH6NY9yKs0tcOD+JZdBcgickbjzYFKvB2AcXiBAo9u2Kl3fSHSfROnlAWFPXE\nZzQ4nSAB3VWX+nt7oi5UrWucW+BxcknedWbIeoEM2RP/zXmdXEXC/QMV64AN\n9HMjqvx6SvUMdM8l9qzDXCa6XxB52UPz0/xgPyuDXkFjj7QIV2Os7YhPhcVU\nAV7a1sylUV5+GUuk4YMD1hmvPUz3iNiQxZPTvgAfnaBwyDcvKzn5bD2nvcTe\nm96e6gJPzSxc1xxWaS4f5yKx1Zd9vRktNXIuKEzjn5QLIA5mGHe7WNCH0TBF\nZDasreWgHaFrpsXVttfwY/Mi4yixMZExekcMzJx29Me6wl0hBxBO1i22ktYK\nDfCq\r\n=xG7t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"d2c53e25895f855fb7be6f7a09afe6ebe8b599e6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.5","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.5_1639413579078_0.38921175280274767","host":"s3://npm-registry-packages"}},"0.14.6-beta.3361":{"name":"piral-jest-utils","version":"0.14.6-beta.3361","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.6-beta.3361","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b20e071062cbcec5c59fb3de80b1593e34afee05","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.6-beta.3361.tgz","fileCount":45,"integrity":"sha512-6VsdSBSZEzYyN60zQo83pWJ69GOeuwlHZRFMzFrH1XmpdrzyKJLDWV42oOODzT4lrSrFEOiCwWzVSMmd2Y0tCg==","signatures":[{"sig":"MEQCIEVXpbbNsLnV5SKpJ/lAB4QWuO+PjP6TVpRbCWaX7TEVAiA0nFjuhK6+PvPzPGAkp2EGgBV8z2eNoDh/bu2hS5qEMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuh1lCRA9TVsSAnZWagAAXA4P/RELyN3zDT9kd5lArw6W\nzE+en40lv+JpP7EyFJoQF5uKNa4HoQOY8Z1a2f2/b0iir43JAOD3ZeMmi2za\n3g6qC3ky7xKythyAVCRLUNz1ZjPqy3T2cgw/E8MGHUlp2LfViM4MKoiUcXRk\n7+EtFCe+iv0LZ/cyHkfyMYYVmZ9acSfG9y3FAiUyPQzNO1m/9tTKcn97GjJL\nKUBrBwr9UTEk2weaZdKDmWG9Lrk+0IJzrRaufTTjA7R2s56KRHCPJF4dn6kK\nv/2rRT0fTKkSDUz98g/6faOFy4sJ+IejzRTocf2kggRo7ssNvSV5ReyGLfG5\naLAPls3MLnamyGSLUqvH+xzdkygNddRUX6+0pxVOOCbeDo/jVFZuhHabm0+6\nWM0skJrxIKGXOOdr8ezb134Tg12m3KnIIJvv8WvSFbRrnOEbl9eb0pVEb0wX\nls/D5hoIQsARS3ZbfU/TqmYQmxFtUcl4r3/JXMNgs8iYpQ+K1JJiebSJdaIU\n4o7XroOK8JymL25dUGTVqEIzp+dqjXC5qftRquOlksgs3EXLVvNc7kq6aym6\n54h24rQr6A9+GGULxsRQjAPaD2CgXhDnxT/HKq0CVMridQjMsIpAFJQfaZYx\nShzz7LQw91gnBzI7/sPDgnKTq7wAT1LVVtcyzhn9Epbck7psvWCQtnPr5CfQ\nKY++\r\n=hsDV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"de8dd4b06e6115257363f763e9d24fedf740fdc6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.6-beta.3361","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.6-beta.3361_1639587173554_0.18357026740631044","host":"s3://npm-registry-packages"}},"0.14.6-beta.3368":{"name":"piral-jest-utils","version":"0.14.6-beta.3368","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.6-beta.3368","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"88e1199733988b73ce837e191e43896f1bc9126b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.6-beta.3368.tgz","fileCount":45,"integrity":"sha512-n7JSbWBKJEK3Je2dMLDcdTu0HCc+pdymBkdipwbXzxwic+uU0WiRfY7FxmleGuTvcB9VMYYfOx6TkYsc791wig==","signatures":[{"sig":"MEUCIQDz7DCTQ3r2Br2ns9D9H4uOW5ngapdUPxdW4XBDnGJT7gIgUZdLlLE1u2hd+xnJq5snJ1CBVTzk8tGBlTm4a0UDfXA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuz36CRA9TVsSAnZWagAADDcP+wVcSF9V7P27zzalmWST\npq3GDcmng5+dVYw5EOukZLg2N3yDjceXaKjlMk7otF4S3Cdecp1xi4IO/gub\nBObHvh0gW43mxlrRDOAozMnqyO/QbsT9U1CG5vLbXG8L5arU29g0JF6ZTXox\no87uDYJn8hPcP3USypcm+dM6uCIHMS0j+2OheJux9PPVNXXgWD6jPSXxB3IY\nMP3HG+ZKe1Jbpkew5UP/qGHecpXIo5jG4uIR++kRMrz440a+OMJlplaIzoOd\nOfGjEoGRQOmL+zWJ5ssqZ0TaZga6hIVlMZQx/zfGYjSIuZaPtkzF0BL494Rr\nYYbsenEli1CjaC2E+VEULDOliYq592pbO8USP/WMAksk8q70aZL92aEkerbh\nmZQ0UdBrdWp0L00EYhVwUjtytyil0bCBNXoVKLP63C/aYc8ZU+ADflPhs0nZ\nJFWtlqYTeSahHNfqiVpZ4txjYvHoIlGbqpM7wZ3tbls9WyMi2YLJiTkNRq5j\n+6BxQrVKuaITCrbHs729pT7x9jOUG8nlVz2LemyUuJqT67p1eOWMFxXqv7JR\nXjiqLbjUsPFdy/xTKB1/9S55w+Erl38iRacqZxDy8UQaXUoyaGy/353Jq9DL\n3nuOOwWHCYh27RbLKHxseI6MXxpUdaZuHG34W/NQZ9B4DeqJ0KKOowMAXIf1\non0x\r\n=mOUS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f2fcfcba5ba7ce9ac91cc97f9a4371422bb5bf36","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.6-beta.3368","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.6-beta.3368_1639661050456_0.14503962615146593","host":"s3://npm-registry-packages"}},"0.14.6-beta.3400":{"name":"piral-jest-utils","version":"0.14.6-beta.3400","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.6-beta.3400","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bd82d5026baf1e7a00c4c6495f871c6c6d64ac16","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.6-beta.3400.tgz","fileCount":45,"integrity":"sha512-qdOKKJ7cm7uXkdEmVZi1yQkLDBo6JbJmDwxhccktuvg7i/alXTm7l1dAg4Sj4BvLfNz2a4TtedOQOjEZkCwQGg==","signatures":[{"sig":"MEYCIQCyL+kc9tSTOFJ6U0VNDO9X5PkD8e1MEtZDrMOtBfT2pgIhAMBoLYdXADy5E2XN/QmIzhGwQ5kp3euUgRjZr5O+U4kW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhw7qSCRA9TVsSAnZWagAA5cIP/2uIM478iYvjSBV8Ig+t\nfC3jRg65BljRyHKlBRYbiZMxUe4llv6t4W0385ZeQO48rMnQLooaH31mhNdt\nYovqR4rw7FwBZ2H+9spRo+tXwL54MuMaZjb3zs/iAXnOm3FWaqaj9JynQk6Z\nbrGKmbIgNB7yfcsmEzzbAejTz+9QTMxp/ty+1KjkzsDHaogXbPfACFcni9pk\nuVzsficQ9pQvWtmXwEnQ0GvV41Uc16BLQSl7SRm9sKkomW1pGwnMr7tO6+PE\nKJLFMuuViFB8oMXKyuV/1/5QGVvKncWdVuX6qtLNLM2TP+4tjt8TBg93DFwH\nRovh0Ua/SP1eZHAQzd/SK4QCkeYKqayJxWg1ahVnDBqUdutH9gc8TM7ADdOF\naO+8Lve6U4vK/6uXZBzzkIuo+ZHIstPFWIuaf84NII2JwFkZ+bdAavb1p6+H\nPQGq8GFriVrZvewPDMl9DqVFzyk7ppnrL5d9H42H0lxqsmz4m5yDy5WhuZ+n\nRREcCnnQ/SXT2B6YOZPFIuxN5PrIazKtRM9fDxw2Wm9x9VpRGMcC9YnwqBkN\nJ1adY/nbEPbWJeZIwOGVAqDT1A7SvJH3vciVWRTvQuZJi1YqkvFIc52O7mXd\n/MbBLjZrAYO3MIdtlvBzFe/L3dhLm4kxVubyu+BDEYFj4GLIl4SIbJcHY5wq\nCJMO\r\n=ZQKl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e579432f5571034e48696c185d354b5a53a12b9b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.6-beta.3400","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.6-beta.3400_1640217234069_0.4400394442608928","host":"s3://npm-registry-packages"}},"0.14.6-beta.3419":{"name":"piral-jest-utils","version":"0.14.6-beta.3419","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.6-beta.3419","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2879b9c5dc46dab40d89f4b7e6118a3eba248740","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.6-beta.3419.tgz","fileCount":45,"integrity":"sha512-YFS3YvwD4+YWMAIbwmRidnP5Fd6WFyKYoNIs0XXJD1Ov6tcpna/TywQ6+5X1+uwOJ/MgApvXC9HX134BTwR3ZA==","signatures":[{"sig":"MEUCIQDkczpSyp+N9GyR1+UmPj3yAoowfk1EU6csKKJIOKGu7QIgRefBzgn7GdJT1oRpJbx5PA6f6TVtGbE0louY5e/VxmA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzyJZCRA9TVsSAnZWagAAREEP/i4Lu/Tl9pTDmWMiKEpH\n+cXGlg0gcN6NYnUVgzixqZBFdMS9HcmkOHN4ImhqIHU+ZS7vgPEG35I9HRhp\nx37nfsa51455s78aHQSv2tFYdufWAnceyZLkPeV1rKzftSqeRH8E35wogHrV\ndvE2AuRGah1Me0pJJFJUi4P2W5OpUzShuLVUtnAIrZeERO4pTZkTzzzJmGpf\nZ0ulcxVMNi7FciIdmiBiCTIxaZZeELCTTpr2nr9dB7AXXh38IkZvFeJvXsWA\nW1VMo5CEdckejLNuJ2sBAJ3lsA0/0L4Y476FqnS3UhAb0/B/dUjv1uoJG2DA\nQNlGMMKrgHNierrxvldzaBhbGEPgflBvSKALHnvSI29Okp3JXCH4FdQ+IhY7\nDWqBGFzXdNZnpYsHOPPaiYoGo6neCDhqR6QfqWCRmwI4CkHYKLrBjwSMu8T0\nD37djsxXQWk7Rn+suL5q0WyuFs3QV8JtRLhAdfEQrMd5CQSbPj6B3/2KAQyc\nfGjYP/F10elXoqqNHkIkekviIo6TX19nEONWzdUNDoaMeXsEqHvVAwwKExu4\ne3TVMIZ+JzYBpsqnLexhZnKsTLYAGhLH+uQpbFzWfZDwXyZwiexItSU6LRk7\neZb8ZdzB8kxBr4JPB1uD/0i+baa4nvS2Cbsz6WbJpSrwp1cegfcss4H3oM2/\n7F35\r\n=x3HM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"7c83ddb2a2b193991fa16153c92b84356d8a30f4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.6-beta.3419","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.6-beta.3419_1640964697643_0.5668796804278973","host":"s3://npm-registry-packages"}},"0.14.6-beta.3425":{"name":"piral-jest-utils","version":"0.14.6-beta.3425","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.6-beta.3425","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d2840728ebe00b441a5b9d1782dd8b6b1920b501","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.6-beta.3425.tgz","fileCount":45,"integrity":"sha512-W71A2WKT45YIDC4rtLQQ5IzgUgx7YbyZCBBtptB17A2mkXE9HgB1egacfvmB0DQBykG12OoL+VhWxFL3sVR35Q==","signatures":[{"sig":"MEYCIQDofIhbuGiZX3I6SKerDUcjpAcy24HLdxiUXgvE+VMQGwIhAMRZCLm1RzVSUh5SSPa1jNBWdA6GiUHDJ+Sw+whEA7pN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1Wa+CRA9TVsSAnZWagAAaQMP/2/MSlPvdQBATgZWIZC2\nWY+JbOw+9gVemqy8Sd3n8SMXOe1wX4YdDk3gmUWeM6BUK+vy34+0fZxvDZn6\nsBW2XlM69A6VOr9DO3HhrwdgqZvhcybwoatg4SoQh0hoiXutlgrWcOUUy2cX\nqAeIL4MiwkYV2BVZOvINI3rqN2C99r5z3hBMEv7V/8SYtlg1grRiyy0j4Q07\nybRBcvauiKiCfhlobtkrvbYLSvMdrUG7MVBNvdarl3e0ecOlGPxJuAj6PFXr\npNx7YrdJDMIY1K1lLVnmdPqCg+H0q02vUimWH/4KQ3PpvyEX5Gm8cmBE5PIj\nXKiXAnIRRxGT2OqacaeILX7ZN383t/F+f71rsIPvZ69IF4gBtwhMYDPhrRTM\nDTNter4QRQOegZshivmVTpb3b+LuyT0l+gq8tRBxaFHyHYOPOH9W+/J5vkbL\nySXsQJfCHP1d2Gy/0NJVBNdCjK0JlyD+8uLXWy1KRMYQu6Wqb6Dhn4ClMWeH\nFyQiehyV+MJNCOspJScr6hkNA+qT6c3H6P4/htuMbqXhLQkJ+THlyKyUGEoq\nU7yf42anb6ezKO2MAgB0B0thwbLIjGWdDu3dYqKf3kxwCZPEev/lgwUV3o9b\nsnZ6id2RFV6Q9zKwnLQ+FbSWU8NYrVLGsWCJUS683WsflOzrWIvw8i9DCbNT\nFSOY\r\n=iNpG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f24468e2c9c308dec7908a787411bd91534e0b96","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.6-beta.3425","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.6-beta.3425_1641375422601_0.415283268276909","host":"s3://npm-registry-packages"}},"0.14.6":{"name":"piral-jest-utils","version":"0.14.6","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.6","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a29a845a6eefbdb4d2bc6c07534332cfc7e0bbea","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.6.tgz","fileCount":45,"integrity":"sha512-C0zV4BT6fjnT5nXeT+hvybwoYLN9BpqFbjhMyzMcdpARdbv6u6BTKC1Tzvm+8pzb9Ngb9/GPrIefS6Ii7cCyQQ==","signatures":[{"sig":"MEUCIQDqlM22dS5A7tk6Kjiu+PMbNHYiQ1K/6p2CZ2/L1dkeCgIgFLDHpMwmZ7RvGjLrfX9xUTTb+Uumoqy1dFpB6awvcD0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1cxgCRA9TVsSAnZWagAAw5AQAKQiRp276AOhjjMNN0Dq\nSOmOWBHCrJ8riyU4NQ69I4vCQIqJc8XyVSpulfWMJLXX8nbjTHSPCHjoo5Lt\nED/9y50bnjqcao+YdJcLakPukw3TvWdKc+Lwvs+jnrqp1YeTC6EMjrKSAw6L\nzikgperWXej1zL+TMP7B/7McGiTILPCXd+YhG98kbUOtKTE2QWsPJQVA1Rxq\nPR2dYMbOIlVUEZNzt7MDsRh03Aos/U/gm4fTtxDNIKXDAOpkdNIqs2O/AAT1\nXILEemxG6U17l8iUI38ubto2mhAyOAwFBxEl2ezv80PvLsqRA1JFTOJAtWXv\nOIKpJcYp40MscuCuisHTSQqHBCC6gZyQF/jLa2qC8MkOlaXXYMfc8+QqaELN\nE3O0p/wspIx/1WqKwkl6wTgV73NNexPJRnknS6/SJjOFSyjKz+GtjluJUCj/\nYy/AtZBwSUpIp7wsiYNSp7WTg1YWjnjHqYYe8mrhJRRz0i5Zs+54ICk/SbZU\n+3DHRjlG4j0ceyk0pOptgzpKUQQsAG+h21T3amQSYXuaVt44BNleAeyOp6DI\nJaXaDlNc+mHLEWAL+j2i805zYgYTor++07sdiInpBVZTNL4CPLngRX8FnB3Q\nDewa6AQV5qtNOHaEelFkTt3PLfUEX0i+kBtjnRBp8krvrdwx8S2/vKAn4gUd\nqhQu\r\n=nMbs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"58dfd3dfc26a8856b241be5220b0fb8932107dc1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.6","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.6_1641401440016_0.9116370916014214","host":"s3://npm-registry-packages"}},"0.14.7-beta.3428":{"name":"piral-jest-utils","version":"0.14.7-beta.3428","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.7-beta.3428","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c1312e9dee50413ffcb7baacafb07e22c4efc336","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.7-beta.3428.tgz","fileCount":45,"integrity":"sha512-z6E2rQ78fnfr5i5+adJbFfWArn+OEH5T3WMJWRpcVHpaMitfPgn/urnpN6Cw47DjuTeK40YLIrhD3VqmYkNNdw==","signatures":[{"sig":"MEQCIHa42mQUdeQ2Szs1NHeS9vwUfmAIsAuLFIZwLKg3K0VYAiAD15BIpjdCiYhzHbKmYXI6/dMMDXYn3RLPAYOe/GjpYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1hHXCRA9TVsSAnZWagAAOScP/3u5Sh/xv0gJL/blCzEz\nrhMCHNaiLESbdHur7Lz+OIhr3UWJ5zv5GFW34ORUw7TVlOKWTYfn+5VC0Vry\no8SwbMUEfkmK5e/GOVkGy+Wfit87FsuYSyYjWzb3BTblIAs//gjKxx0MN8eu\nCYLq2XsvXp9tZvJRWzvln21TKma3UxuUzXvV9CfFGWv6DjpZmywVTrOYs606\nymf4JvGoxzuyqNDKR/PXdjZf2uRtLC+0+6K538D7ubBydABv9zq/W4KG+jpe\nlHdQBWN8PFN/aAJ/g4rdgIlq3COYrw2gpD6NUouIWCFn4its6DVopuUHL18h\nrLakcWQ1FTaDuahxHTX2THr+CQwLu7nSb11kRbY3U71VGP7FyJkx8ehbrfIP\nDF+KBDarX1EmTlmRsWqwzTtlyeDSmCjNsknPjpWleshuy9DcK0/FhTrEXJol\n+5K0FQAGd4LO6LlZ8tZHxmUeiwiKQV7x7ZuVSZALDW5zn0dE0kfsySW8RGY1\nzawXq5rnVcmGn1rCv1j5Dtwm3l2XCH7WvhJRI2BbEzVP95y6UuekV26miIZ0\nBko8eo6CAWwF6bDc0J/ZZPVlmfALlLWSxzSkwEA8SThPol9ufUNLfRvYnhbl\nW8b6jHTc6XrX4DkmrysUkoRt2qQeF6ZGnw3sktrAs0un0dtGdg44sQiF/87o\nbU+a\r\n=GkFc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"68a26b99cfdbcc8821335ed03e1446b55c358692","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.7-beta.3428","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.7-beta.3428_1641419223132_0.04167892790108896","host":"s3://npm-registry-packages"}},"0.14.7-beta.3435":{"name":"piral-jest-utils","version":"0.14.7-beta.3435","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.7-beta.3435","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"44f737bc28843248ee8d9d9fb521913518336681","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.7-beta.3435.tgz","fileCount":45,"integrity":"sha512-WWzKhsk/GasUxs5oLe+kIVcGgJgK0FOy7OF6CvtoETj5cfyUudwMUVYc/Vw8+ZEsmmL32h9uFs3GC/qf0SdfFQ==","signatures":[{"sig":"MEUCIQDmf+HApFLpZISZapUHywyb5InG7s/8bXOFTMNovYVcbQIgY54mb3r3Y77RH8ZKiTG7lWIB2MMEH9TJuWRT7Zq8j8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2W/wCRA9TVsSAnZWagAAHb0P/0P2ki7nSj4zlj0/jup4\n16hAKE8Wn1zDolB5IkijcbxnhIVc4a2UA/mtDZTwxQgR7I5gEfZ7aF0fzl1v\nirxwdcpHDdmbK34ONwOvBNkkFQWuVVAEVBgf5O2mQsThtrvTneVG5TldRkI7\nvgwiVQ2VP+dO47ZbpeuyJ3P7AHCpN20qTtIZXhd+G/bMsGi8wCvKypprI9uT\n2CDMGNFwKDnU93DCxsMeHx2p1jZkfFlZyazl/z8GiO54r71QY9txOSEoPYdK\nNA/zBKes3VQ3VK6GWD5yA2RxIaIxVt9M6GDCiXwYimcHNRvl9ytXMByOQmcJ\nEO4LW4gAiF/8yTEMujoEtxlFw20vizvcgOKteRAvhLCUkpsY9tRrZY33xFjP\ngdS0O6ieVw+xpsP2vI6H5ipAraVpaNzLb1mz7IUfawhNgE6U8NizN9khml64\nldUd/TcsZgaxO6BkvNFZuhf9Q+WkEtqAnNqzm659zkGrTtMfwW1ofKRvjQl4\n14erkBRtAZB1981j+nC0abKrO9Z1mES9vZAjk1/3Sl3sGJY1tnoulmqc4Fvm\nwjQZA/vBAfYaQwb0+UtvQdo/OXnDOxOS+yuyeHj3HILhADJ/hqSCYe06VmF0\nForUoJvMnMtHsNtlORdkebVka0C6rlvpva5yRggLOtv3XmbLCmpCjcS1A+HG\n/nVE\r\n=+yyV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"abb9340b35e505f687b9d20eaa8f496007ffd976","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.7-beta.3435","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.7-beta.3435_1641639920651_0.6133257082562968","host":"s3://npm-registry-packages"}},"0.14.7-beta.3438":{"name":"piral-jest-utils","version":"0.14.7-beta.3438","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.7-beta.3438","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5d5864be901078632f3ab2a1ea352cdaeae5ca19","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.7-beta.3438.tgz","fileCount":45,"integrity":"sha512-WF7oCSYtOaHsXfr0IFcqbR0fNAVNkMbc6+iu7n654I1f1JZs0mUtTHzBBF7WRrkIamCyu7HJXyYY7aUPxGGZKA==","signatures":[{"sig":"MEUCIA7PKLT5pddsZSyH0NLrq+4aDupsRml65S4KOrL7HxR7AiEAvrbmHuBb5Z/I5QJ/wJW6lwUxch65UPv0lQeOnsPozC8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2q4CCRA9TVsSAnZWagAAV18P/AhKOzdCyv4Z6qgsCSzX\nS+ea7mnx8EMSAByAqVKW/2IMqaoZ4lZTHoKnTXUk1DcuRTUd17Zwk2Y0NSbL\n4+a0+DSYlXbryoxetsEkAeYn25YhkY36Cq6vw87sh10dIGbbPQaPvuiw9Hg7\nltyYyVwIwLN3xOKPMLBiKrko+yxzPNr4ozaWRCER2/NuwVACkPA1aOSlDjOI\nFDca/jyreBKEo/+a38aSWtfbdCsKyInTTgfCyI7la69L/zYfJ/6MDsnQ3jlx\ncQKBPOp5gBKzfMpf/brAm5IppgO9aDql0Ka6aXgkmwXID0LTQJPTozgyaE02\nieIrEfktEd04djfvaNfy8TyhpuV+jt+THPCDvVVOp8RmFRSIH/aT8e4P9ZYr\nK/Vk/wXrBZS263VSVhRedsJyVYqss2eEIje0RrRZOJYRirDYMYHlxwBAvvxK\nYYMRDeWhZ0mYUx2KQOuCqTaGoQF8xX7tkn6Lk0U99TOAjp3ZFjutQl0D1C5Y\nesuuxbJK9BW1Dd1oe6uFvoQNhk9zznwSChXhEdb4wZgQx/Uwn2O7Kl8sDgcB\n+xoDT1IDv6n7h+gFKObxV8TgO0B4Da8fH0A9TFOrGcSM/P8TQjiXLkHp8OmN\n43FN8PFQuQxRa+v+PD9hf3cAtTw2ZX3di8FBzbofszMIsD8mcH1G9dWrFiIF\nxGfx\r\n=cE4B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"0045ae2a368207a8b346b07002551552a2882a43","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.7-beta.3438","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.7-beta.3438_1641721346784_0.864659247330535","host":"s3://npm-registry-packages"}},"0.14.7-beta.3456":{"name":"piral-jest-utils","version":"0.14.7-beta.3456","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.7-beta.3456","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8bf1d6007d585c870348c4b85981abddb7b4aadd","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.7-beta.3456.tgz","fileCount":45,"integrity":"sha512-zQQkbUpn9lE6qsep+PhflhKhJg3m6cI9SZQtXH5M8iYwZKJvdbHk1L4u9aqYuQNClpshn2LehjW//PY/WGXC2Q==","signatures":[{"sig":"MEUCIQDX6OiexiOGOTcn/E7jp93ZhB72Y7YSMBPIpFcog5tgTQIgQbPn1EYf3ll+tIxYiUv3OcWdoU+n40Hcug02uH4ecO0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3BwdCRA9TVsSAnZWagAAZOgQAKSv8pLXsj0w9haJnsP9\n2DvKgP8XLUodnpMF6jPjDNojmeOOVe50kr5ZK19X7EXvAXc+cTlAW6JHpWbE\nutQu3kBrXr4jP6ULlsLewCSchx4EOUGcl5idRsFQfO+UT0IHO406FcZjEYPm\nQOwpKrB01PqlDLmxfMnQOVHcpsJ1M/trvAEsNIdMgUWQDb7yYxDmTtUDHN9D\n8Z6yuyvhb4qSNOHFqux6MHgPzmlTrIvNgyxfkCZY0D6NwFlYJdaV6iCuDCBG\nS3rC76CQs340alM0zSAIaMLYMKW5lqjpKjATnIcYJZdVd6K1EGw0kpSZGN6B\n0EYuw6a00MCJImTOd4kb7OBEoOVOdw+6b3N3jzcivgb/mElrgqY1eyAUYf5/\nYSQXBDokoAF1ttKkPjCGCZ68+AOxoQfpNLCVm3DuWd2Q9FieW1zNWcgWliBl\nJR5ijLIbrhlKxiWLhdW15I1Ffh8EqZtg9hBCv4wG90FyfXRpfzyzJhXgdQrc\n9RybahGP+W74M41U4CowEUNI+pwFOiMVZo9/Lh9EJf5/duFcmFqqc5UcMZoV\nqYOTYvXMmgO2MhV3Q9CeguzRqympbTQnKiOFr2V5LE2IFvyM/tfROZ0c5BwY\n0Jpdf66uIwsUfAJJeX9M62AcKyXAuQJ8UQH0zSAmfyzHwx14LTO4cezCxz4v\nP2mE\r\n=Zcon\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"38955c6a6d441bee3ca3d737af02d02f54ac9e91","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.7-beta.3456","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.7-beta.3456_1641815069814_0.8579257457192044","host":"s3://npm-registry-packages"}},"0.14.7-beta.3463":{"name":"piral-jest-utils","version":"0.14.7-beta.3463","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.7-beta.3463","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"17ec245c85b06dd2f4aa014bfa7e0179c74a778f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.7-beta.3463.tgz","fileCount":45,"integrity":"sha512-Py0N892B90XX4zrmiqoYDnfDAdQOqv4kW+Jm0mMZJjeNDHIE7/ikxPcd/HfmX9wk09uUbo72QsXns7vUnkQSPg==","signatures":[{"sig":"MEUCIAEOhnDDHZojtLQSjQN0qWdpT60+ZZNTHHazpntC6R9AAiEA5/3Lf2K1r2qJ6zQ1ebO0kjkhoxihhSpEuBot0Bub6Lk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3DXmCRA9TVsSAnZWagAAJw8P/2PfORhn0o6uDhOAhn6S\nUGSZChUre085117KdAGtwDV+gM8sjPvAR0N/waPfX7LabEhdgtMeZQNTIPat\nU8bk2e9/ucBKLfzABGctyvIqfy3KCzWp69Cn+8IhtmD5v62ml3tJ9IWXkZZm\n8sGLa2ELpwjzp0DMuWjptO0fwbuc5aVwZ1EDHLZjNRFXvmvPZQ2CZqcQnDhr\nUIguEZFYc5ezCW7iKkjs2PfF1pycT5LUbxl1/bM/lG2+VEuICg8GLKX12+7i\n+heRunUB4SLj8sQBLab7T7RI6Y27+XjrRkFfC6I4Xo3m5K0cNaTzM5rKlZMP\nOUP3l0pdhVpD8FvHqVu5RB6Yv6/FWxOnZyYjwkj9dU2e6UxNa5xuiiLEN7/1\nEmkXjvsqyrZlOeHZ0FpG3qPmmez3wNG47whMuSYJnINHeYD8tnW2OM3swA+E\nWfyWzlK3TA2ujOrTtLYt5ldcaGiHTsEyCdoF9R1VVdBKIJOFr1h4+MLRwI8R\nsEj0WQaf2554Q+1I1mosGXWbhd1Q5S5QWkDp/GWLWU7UIK/5TXcExeQL85TN\nwpmzyKBYFLcNQrPGChMjTBwUzN2mdKwgUdqMk6nPDRid1biEpP5JeGON4WCm\nMOXQ6gZ4Kvq/NWGf8wGGyUqt7ow5s00DVUgw90ryLHukuyBJ29wkEfLZ5vAz\nhSqQ\r\n=h/hQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"46f8e649fd61bfbb49a7c24d1ff60e5c9435e4e7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.7-beta.3463","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.7-beta.3463_1641821670061_0.6557050989446991","host":"s3://npm-registry-packages"}},"0.14.7-beta.3467":{"name":"piral-jest-utils","version":"0.14.7-beta.3467","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.7-beta.3467","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"da26ec54ba0a53359d1dbd517b38c666f25bbf22","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.7-beta.3467.tgz","fileCount":45,"integrity":"sha512-WGSrAS0qF/KQnAl9K16LUdMnM03LDQEaM1m9zJRZNVlOoyEPr5CUbuIKI64ECyj1V/wf6td+RbD5snvpGtiEhA==","signatures":[{"sig":"MEYCIQCgWsUw8sCe6C6UCJUYhXHTWaufhlj+xarYpmQckKCm/AIhAPKkANeFWRsM3KjU55f5eqV826jUb79MKdQWEuMg+I9X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3WCBCRA9TVsSAnZWagAAYpsP/14dOm5c6Wdq89INiDSG\nAycYrk5FCd+1MHQ539qdRgzqnjJcwQ8TSW08e+Dh1jzlVD6ID1gA7sx8lRSP\ne1paJlozDPavCnKdBL1PZDTnOYcPxhM0VxTZ1Fr6xQt1GuRGuGioKoKdlX2L\nTgfQAbr7keJ0DHaFgyxajeTk2wA9Y+whXrmeXP5BWFCswaPZ49hJFQPw0veA\nQI1KvvJSjF9gQXKLe/DR3BI2zggfeAqAp/522iHSSFSAFqej6FXvjMRXShkv\ncJndu+gWO7liSvGgBdxaJNplMPgzlMGWSyxPmrUrmWFqM6hwIuRc7gdWUpvk\n6Y84fDEqfDnMfFnN67PlL3SE6mfH3o0pPDKcl0CacwTH0/E565eSTkKo9klA\nNpSb3z3qyUGWwYs0tWpvDItaLplJE1A1tMDYZcOGIbujzANz1w4kV2Cwbkqg\nHe3bP+tBN4uhjQUYdEthXGjj+eOWWIFVAXpG3BwJglN1NscLS0LK7A6ZPWle\nXFI1a3d7uqpHmUdDEV6Nj8cCHTEWNtDdWCrCUW9ik6aEttpyrresYGTIgVll\naZipHlA1XIbVWH28TC7b8IcGjx2PnYjCk05N2Y5zcGv8J5YX76Um3nt4n6Y5\ne0FAONgs8YXNkQ6PRcRiYnCo8ANpw7DNzjt07ZOccd17uaUf9WNfQJZe+77T\nCJNn\r\n=e3wi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"7e212b074a1788ac6bb0dd0445cebc27e7c036d1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.7-beta.3467","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.7-beta.3467_1641898113632_0.8282214132704402","host":"s3://npm-registry-packages"}},"0.14.7-beta.3472":{"name":"piral-jest-utils","version":"0.14.7-beta.3472","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.7-beta.3472","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e2d2c0b67a75b60d60fccfd9f0cb898ff81c6572","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.7-beta.3472.tgz","fileCount":45,"integrity":"sha512-EX63kuR6kkAySIaow9jwJ/XbnwakOZGGlvDEzS1IhJSDSdyBpj/hIN1wRSMhiR++rw4egFCUUv2FWvqa1vZOUQ==","signatures":[{"sig":"MEQCICwhqh/pOxATiU1pCwznw2e7oWkqDx3oIP8DLS0xBOTXAiBvQEpMxret2fADU/xRmAnepXns7+jhFnCQCjd8DE4/yg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3jCtCRA9TVsSAnZWagAABNkP/3zy0k5u2ok6iFe73l8h\nhZfvMl+BBWdz1Gxikrff20KXk1j97VhrdRwVKy0v8Uy/L/akeirx1oekVrg1\nHrXxThYGVVUFga7ZjD6oEm2KJUSI24VcXcAj5H+VtS6stIeuNqfR4dwVjsTN\n8n8I62fjNz1O+robZvpxze454/dXDbEQUl6OiWKIISgngfguZRdtUI62SnaR\n/kJGtL4cfezk/riBLMoJg3jiL53aEWYgC74s80TOTBcunc3Y0gyPqjQzjfqq\nY6jLD2Qc4LlTsxb7tvS19lH9bpUtoRRQRf5p3KL7JosrRA1kF0ZK9fCaRCX3\nU22LdTVtiLYOFavp9svSVxCxZjMayuoS5kzgDSvr0JUccPUJ7FsilB0ldLj/\nWVlgo0TIaKjuUgoVg2yhqLPQclJLhcqK7D9oqAivWF1+7S5SYxwRhwm5HYKx\nB6FNBNXtAIB/VkUfT++tShBc8kjG1CWQEeEEDxvovPIKsJcz9jREd4LaglJe\nSFxbZC/nRb3VVYOW5h8/60Y15Tmr8pi9q5s/5U/AohPndN+gzfD2YfEoqGEt\n/yb+qXUTt/ktAwm+jxrGeLh8upW1/G4/kWIH/5C8S79POeQdMcoJYhjq2IlF\nl6Fyq95ZzmTuF2GXszYHvmmmYNZ//4gRsHiKVXIzSoevsn2D72qFglN2aFNT\nzdyk\r\n=FGLc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a6f52016d1e8720feeed91d2fa5234ca72d3fbba","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.7-beta.3472","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.7-beta.3472_1641951405500_0.6456451339699882","host":"s3://npm-registry-packages"}},"0.14.7":{"name":"piral-jest-utils","version":"0.14.7","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.7","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f99f6608169730ddcabc40e7fd3a45abf386381b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.7.tgz","fileCount":45,"integrity":"sha512-OL8TkWFKm5bXfk//vtCyb6FRr/3U3iqfw0LfYAM4twleIokLAMuAIIgF7Wat1h9wtsyPcidsGfCIVBfA1SKIcA==","signatures":[{"sig":"MEUCIEc37S9Aeg8VrA2lGffmwkFS0GZH1hSizy8cGPFcBM+BAiEAmaQ2W2t3W1JzJ3qYOyUaglMRxl+lcA1MApJ9sY1JG1k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3p8HCRA9TVsSAnZWagAA5yAP/33xMwwE2VYbAWbc1Qqa\nPEy4LL4VLOlmjuaI9wCGpZ/nHab4CYZGQZSpsAifE+lzN0YEhNRmHcra2RUU\nW65FRPxez+odzDAmDuA26APoL2O/PqYpZzZcHXjKnuRPCALAQGMpFe9YQrxK\nQxtCujKp9GkiYc1XSMgKbtsbcmyp2n5pmOiCyxxzMEhX6tiRRdnFTaVTxt3I\nTCfVtBEHw3CZdc1CE/QR5jDDZwQgCIIoGCn3LsG5KGBZ06IO651n3S+QQsZL\n0+PoECnjvi3dO7QVQWIxdKT90MRmnSwzP8KzoUNuDDvhCfpaPOoSqB8PpgdQ\nX0SopTIKCNB9Jtc6G26Q04OV1FAMC705lYiPeG7tVXTNA1U/5+iOGsXfunjU\n3lJug1ktWZOqOEXiYTw19jT12Qk3yHVav5Oe5rJLqEPeXNNZeap4QWPBUKUC\n8LtMiSQZPpKhiNIvrdF+oVE/b5DKQusnoaQteU9dsd6jVQ59VcSPAVJ146IO\njIvb2WkOxdd35ms/EBdfQLgsYWG3SINvyNnDykvRP78CwtRIa0y6/dIVb3zE\n6BDeil5XpMrKumTc2hUYq4iqBSW6UnBHH5xG9klwY3ogf8/W4b9VPH+oO9MW\nWka9bAUcXMepqZUWGnhBpWgY54l0ERS/l5HUBNuyUewB5ssJR7cRTD2uRynw\nf8df\r\n=PJoJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"143f517aa087175f9efb1a5f17f2ddb284adb3b3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.7","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.7_1641979655410_0.0015900152767536202","host":"s3://npm-registry-packages"}},"0.14.8-beta.3480":{"name":"piral-jest-utils","version":"0.14.8-beta.3480","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3480","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"31d602f6d1cbd5d008d9ce66add16121c8946544","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3480.tgz","fileCount":45,"integrity":"sha512-gMbUryqSij48b0YPJ/o+8mN/on3OGGLPoBlNllLx4VXh1fkSP8xhv+Kvp95f6lZnnOhVr0eFcLHVCvJlatmNHA==","signatures":[{"sig":"MEQCIGj5NBGUolDwfbia+R33saoaT0yFNNWpsIlyrqNA6R33AiB54fsHJZAMzwbWyJe9QiGzaO8L47W2aWtvZxNydB8nQQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh32pwCRA9TVsSAnZWagAAD4MP/j1KffuZ2OkFzXHDa/YE\nKCnGxb+L5egddA1m4H4XU0CBHWlhaveypiwSURABaBDvQMpMOgnh+lYnWIvB\nUnZIAUFnh4nyllXgf3EeDup0TlGCCdm3yFkaG3IgrpXpDairTDrlZcFDrvyd\nKxMBfG8a2S07gJiYWoqoo1976rLZ5Qb+gqw0nCj09drf8po/dFButjm9qMYZ\ndSot+KSsDguYKoBtcJ3qD/z4tX6zJrmPWLoAfdm+XLzcI/NFQNAze4rJ7zbe\nwQwTSKit7M5ga8+6VAkvX6VSk62UH46mdXMTv6AktLoO4OajeGwGrLEOsZl+\nx7/5U4iDqCOPZ6xocArXccY/MLvC5hdas0scSeIUKsux8CMsLHJH5vkUl+Nw\nKh+5QVEpix5AVbpb+B2ojRV7B0EE2ghLodU5vTcxZfUjoy8JgJgZKjH2e/rf\nsYGsgZUex40i0QNgMKWI2WLS81aSPJUAH4sa8Jwm55G8qmHB6cHxbw5JEXfH\nSqQxhMyW05ul5/IeD0NcrUTU8esawaW0qMvW0lD7pQAgGHPy8X8rYbkdqClr\nL/TOZt6AeTI2oC3LwUTRoQlm7j85cFb2BYCX9XFU3NvolwCa2nuMx9KdZ4OG\noURXLKUw9ad92kUe/C6nBZvFvU0CBvBsg7nO419Lk+KIYAbNdDa7Pi+4RdAO\nkMXl\r\n=Mq+Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a35bd0eb547a18a708af0df85f66a21aa76bdb76","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3480","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3480_1642031728701_0.39323510806904394","host":"s3://npm-registry-packages"}},"0.14.8-beta.3483":{"name":"piral-jest-utils","version":"0.14.8-beta.3483","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3483","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fb806709a312a4b1c7802d9fb5b513defd5a21f3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3483.tgz","fileCount":45,"integrity":"sha512-fnWgRyd5U41nh3qyzBO6gTp8d9bbn9OMU97HiibYyhAOM0bgWvybkk3eOu1Go9V6fx/5IhCuX8eSbsfFWJ3FBw==","signatures":[{"sig":"MEYCIQDKGy5lHt1Sw/tSqlxjHI/eGtEOdnjyo8LU721hIow5XAIhAMlFMB3RR3+aNm7xnryWN5Sm3wJS4DTrikI9HrJn0IF+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh33EECRA9TVsSAnZWagAAhHAP/0z/Cgo3TdZTy+q0HhOU\nY2PDi13JqEY+2qbHPZT+wYbhCP5DTa4BJv50GU2VzemP7gLx80vg8LHAcmuY\nyIiqmQ8du/CGVfaH+8Y33vyT0XhSq93jqJye/zfwSkkvjIRZXsu03u86Bm5x\npaNFe8ZufB73RVfgNbDFnid7u5/dK0zZYynMcYfh5B2DIOY1oYa8+4ttwg7j\n4T+IvJUkE/l12Q4aIQTDJZ8Hw4LpPMlUv6l6vCg6Il0dqSd36w0/nNmhe6kN\n0ozlcVzl1g2dOrTsanAYLvxyBMLhTKChJE0KWTBH3SO51pEL0ClLdkSzsrG5\nt8oQ88wckkuMf+NEJEuY/rAtDaNq8afR17CfQc642x8ddZ6TbTLEnJvjNbv0\nRu7g+Maxd0WJBPsDbEI4fAgxTHTlm0g93kgY733rOaXcSM5jsLbvyRve0GWG\nNRkU6JaLnL180VUtdSI8x0d3i+2nW0N4xDJhO2I/IPmaP9TQ4K3H98qsWqP3\nzhVdbW8QE/nLekbKBc8Rzsu5RFw+KY34uMfnvqxsmsn2UOEFaL9HktSSZpth\nC99e+uHxPsf7NySz4BY53kx+8X0aOipTb5zqtAIuK1UIByQuudBVbtWgmz8Q\n3szD0KV3w9evEgH5LDg60FKhus7PzPEp9bXgOsFwAFcNTB+PA8/cBZKWtdcz\nyO1I\r\n=cEiN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a35bd0eb547a18a708af0df85f66a21aa76bdb76","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3483","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3483_1642033412474_0.4942489902645617","host":"s3://npm-registry-packages"}},"0.14.8-beta.3487":{"name":"piral-jest-utils","version":"0.14.8-beta.3487","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3487","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"19b904a207f78df32bf9325f0fecd09ee5deaee2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3487.tgz","fileCount":45,"integrity":"sha512-k81Pj4SH7HmSAkPVUxxkUhb5cqZ5xEF/cJQlIRH1rIKadBl4vz5Z52e3PTchfQMbhA/uS4iqG25OSABfaUanhQ==","signatures":[{"sig":"MEUCIHAZ8LwhKNmw3/6ADhHrKK6H3TWg0UU6rsTc76e8VJN1AiEAxAEhiCYezn/WQZwLoDTHWECguLWmNHQZS2aMCdF58BU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3/DeCRA9TVsSAnZWagAArjsP/iZtWg1AR2+vpxe2rBVS\nAvjc1YiLSZJUpPTUKa43V0tD25XcZc35gy+yv8fEeyIe4j5u6J3Tadbq+hjU\nV8VSk4VsmiILJtCFyYjU3LDwrcZERquY00GburDFK6UxriDXtvuXvite9eyc\nAtatnvnYSeYDv8eHX+27/aWXNXA6E/+esXCpXICkBGaVf2hN39jdaFDK+YFY\nro2YEPjBuBaKu5h5wLYagKZi147LTJ3vEPWmNArc+KA045IjGQQ2BgpgaLxn\nlpSOV0Ynq0URm1PTaii/TlOUONEGbtdUAOJW39aTucIXNZaghoM5coP/6qtH\n6OsI1l18M6TygL3QNS86PBBmGYvpyU6QN0GRtSin94iKCdt5bBCzzOJWl8tN\nzuE5dwx4UdyJlMcdqHrUBuLXTidvdIWI7RnoMFib05Cu0J2OWK5gdeCh5xeU\nkAYsYCw0Mcdk5yu7e8DiA2ZD5MCK5koXArWF+e5h4qrUWGF8zNF1O6SvcNL3\n/dRg68gFIqOnKfsuFMDbvAQNJyeZ03Fzr8tqAP9bu/p6SG5SwZYeZ6pNlFWm\nmO9J35QkCxA8p6XsKYe8UUHB9oys+C5Y72/+ppcwMt7wUK10GjBpyE1eOpRX\nOCEHkCQ+XOffccP12P3IIijD7lSbw8qXftQUeqdAEbdZusvlio8v6Al759+E\nQB68\r\n=h29/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"95872598216edbf8efd99c8b7044094ea209a049","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3487","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3487_1642066142667_0.5723272396566415","host":"s3://npm-registry-packages"}},"0.14.8-beta.3490":{"name":"piral-jest-utils","version":"0.14.8-beta.3490","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3490","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ea6764e962e61f5a02732cdccbe0852e051bce18","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3490.tgz","fileCount":45,"integrity":"sha512-4LhIEPnoYNz8qIcqTbs8hXMVVc+FQgiwP3xSh/1r7MSSjAND7STSoZpRCWO3jfjmCRnVs8eJk7gAP+eCWSRg0Q==","signatures":[{"sig":"MEQCICvdIS6AGW5PvxKikrqy0XPTpD1iRRN6i5CTV4HXwnnoAiBmXRGQiVR2UeZBWozm9a40kRa+mSt62EzENcxw5nNM1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4GPPCRA9TVsSAnZWagAAPX4P/0vHqz7mNSPRE0VEfZO6\nHcm4R9DoLlg0m4+gKKoUH9MT85lh0VxnFDJERREOQ9C4LisrZlnbm9wShj8I\nUctPbqn2V9KKkswB7IJrCYnkxeKw8cBlA29SagrkRKiEwLDIVRRxN0c0VYYm\nkkK9lS3W4KkzlilWRKFf/eTvbAgAUqo0V+e7gNnY2CQOFHX7qGCrwKScsdu/\nXCAqzzwyzqYnmDdQOPCsy/IW6jngiNor73xWYMhCkadCQENpNer7txPX6ZLQ\nln0DutB07fqiTmBqo7OCHaW/atI8n08GFh5DiDshKsRnTnaXNEfRUGoMoDRT\nrQe0u0YODcEGafGHxojNR+b5c0KAUHqNPxEwM4bu2izElbvTLzT3IIXAPTX8\nhjT+1rWSSpUdKByvp73519qgOq5+qtvfKD6mYhuVUVNG5FF7tewCbjU9zOc4\nCVFfamEigVy/oW4n+an1rlfccS5+jvRJ5UNsEwuPYZTcFpnmyJ9vBHJKE3Tt\nbp5mB/IOLSQIKps91e8eO6E/0WkEUC3MxFm2ukMpuGrJ6/qao2lSwjsaGB87\nxxqEpHvPMoHCUpwY7LUgKFpM6Zr1Y1eNXLUobKSQjRssyKyDqi+UUoKeudYQ\nicg3kS06fYc4tl5DUJ2KDf504M+UiEl6MHKxGVyh0vStRVH0UboLlso73zB9\nWPz7\r\n=Tn8D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"c8a70566a926e3306ad5aee94e0f3f7b1bc3d690","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3490","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3490_1642095567594_0.825810843963785","host":"s3://npm-registry-packages"}},"0.14.8-beta.3494":{"name":"piral-jest-utils","version":"0.14.8-beta.3494","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3494","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"25b6d9e9ca290fae160b605ffea52011d147e1c4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3494.tgz","fileCount":45,"integrity":"sha512-5YluEsMFOkMiWN3MKXZWXCpTDlsJw2ZrFnMPYa+8DTFe53wjI5beVeOdMTcUu+V8/hUo0K6I1LMQvGrj/19xEw==","signatures":[{"sig":"MEYCIQDSSzWQpEnZZSN2BNyMuXacBMWxSc+0LoWPLd4O5U+tMQIhAIlDPxbg1khXGYfKKKwd+hMza588t3CXN5R9icNOpi/F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4o7YCRA9TVsSAnZWagAAZ5sP/0LJAlkW5pP7W+CnKB7X\nLBWS6Lz5Vm2kVjdsNttBD7w38jvtA8M2ABpXGf9pcDiCtWLTRk7IcYEVgmBn\nu31n0UURdk1W6H1JYhgGhVRmPH3AOhEXveP3f/3Qz9pEwsdFVIjOqUUvofvB\nposCq2yAGnQuSELKs7Co/wqBMCtehhKIpMUrULV0wN+fP4HFMfCWZdfy057F\nkRSzpdbAllgSJI57By2cBO2mwzSYXcXRFPUVHEViusqJjcQ5rxp9pejViyeG\n987HEebbkenSfoI9IqJRrcIL8CZLu5DwPQHbSeA+9eT+FPLQrdYNFZJLiroR\nHl53/fP04NTo9/KCwPHnVsfhInHVZ/LmrpS2/KjMiqeOP6PyglHZCceork4G\nHdzwb8jt9sUJwlY3izzGwIaRVXcUQLTa2CD9mNh/VZAAtdF66K71v+jaJpkp\nAXzrXWs0pqZgWqZiqa9bNALbf88Bi/TCKGW+Yyr8KxqcdLngQrt/22LPGluY\npWAP7rgzOLC7D9w0W70tDvDZLNFRHXY6kbERirRZlkX0hg/6eKsHCxHsxS/b\numjK4TzjmQMu29tsRm+mAPz41I/9W/IQNmaEVJ+XOzSxidx30E89HpBkoHX3\nvrJgbGvYoPEK6aQo/6MVXQqkP5lxB2AOC27NXIkw68R8iC5r3UofCDCFH9/0\nzfgg\r\n=nylE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e0cf86abbcc310101a68de1297c4c9104815cb77","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3494","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3494_1642237656661_0.8779010395852542","host":"s3://npm-registry-packages"}},"0.14.8-beta.3500":{"name":"piral-jest-utils","version":"0.14.8-beta.3500","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3500","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"96d913f4bdde89494c80f01522f4c551e1c402b5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3500.tgz","fileCount":45,"integrity":"sha512-EbrIksGM8PbflVB2r4PD+J6JbYBzH3p7DFAk78ndRCSCNul9ZBwWFBTY/rcLliBNa3bwcum/hiee8zn99ybdLQ==","signatures":[{"sig":"MEUCICXN9t/8rqk+j4LqAsLQuVFuSItzDWY4aMkoPla6UN7aAiEAwt4mh5Efl6qPCm1JshLa5I02emOH5lGlY2oEJljrFMk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5WJrCRA9TVsSAnZWagAAa70P/3Ws9yE0kGQq7YMmsrdr\nccXGBFkrsmdQliUZQqNCvfzyTSnUwwVI/75W3gj9JD/8fGrzkfXewCp7L0yy\nvdUGdsTl+Ii1xFdX5pI8zfbYaSTVYg7AodEgtuWbp3qUsAV8dWgVMUkxjD6u\nIBnPB3IRX7k/trJA4m9Vj6aUyfCOR5umu49yH4bJTeBNHhr0grqHlgbcc4Rc\n/zQTrtZlWoF5CiuOguDmtSYphNIaYgKU1GzFF8bRP1Q63bOy2aYTjO1wm5qv\n1lwkXy0BL9VkW9/RjHuLehxBMKMwwt0BpQsEYyP0o5VVxecf9z3MRVBXx4AT\nVBBiH3vUcT6zL8xzWEdGq4qwSkaJ5zeCl+AOC7TQqlnmGiurA8nJBWfII1GC\nH1/kFHgYL0zy0b7D/WbDaIrzp3tSojy7pR09scgL4vXSmqoD8641ZWOBnebU\naltfnoujjWYr2f6fR3XGeJ4vL4y7fD90u1B6Z4xCttb3Xq/l9gDIHZ+/IDxV\nuz3n3K7vCdnnwrgxdSKd3kJuyLmskyBlSLgn3Z4D6Gz+ZCdd4vzWV82mVJIZ\n4wkeEBQhTqFZTfxX0xbmCiKvaYEkXGAhpXwiJ5krdKX8hTFqDG4bFEBQsN8y\nPGojTWqyyhDxKRI41+BgxxWlaoRacAlYdxPLgDgT2govtiALHARgOhIbIGBw\n/1UU\r\n=81L4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"89a719e1827869c9953f9c3c76a338be59e31b7d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3500","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3500_1642422891385_0.3191837100426751","host":"s3://npm-registry-packages"}},"0.14.8-beta.3504":{"name":"piral-jest-utils","version":"0.14.8-beta.3504","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3504","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a05abbdc7faa6d2e6daa2531f947d5a95c1f932e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3504.tgz","fileCount":45,"integrity":"sha512-iN3Jgtt0uFympfvOBC1vdrfX8mktz6ll2cZDlxcF/GVBsRJJohAgRWlBwxe9QOC8+LFjBEprV6vbkiC0N5wS/g==","signatures":[{"sig":"MEUCIQCzlGzvQ137RUCJfRnlmnBlzRay/yAw9nXKpQw3+9SKfwIgYMxwL9qqjaijyP4XLvpDW4efxu5JbW5yEaI6gKUuB5A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5wMFCRA9TVsSAnZWagAANOEP/1dKPQzvPIEXJgGnHM4Y\n7Td4j5jZA4wLM3bE35/YX8gkEs5dHgCkHnf+chfcJuHop+70iY1kYBBakYUv\nOBswjnbBfbtqSkiEQthnd8VMUFt3VfqwZT2LW4PJPqFJ9wymZS0T0jf6tVkA\nP8hvAu1xitD+/88vVMjZOaH5DRoraG9CXDJ+2KAWZXPwB4B6HOB/lL6XVwA2\nl6f0Zuy279N9keL0ZEw+akNhM/zqgTr7w/L6CK37zOQhZOzB2BVETs/98OUK\n2LDlTuEAs2joGMw4xGxpNGTAseBJhEuf8IkVBGQWfnGPX66tK1yq/NI6iyHc\n4XdlSWAPEw/MZY6ONOgbVwT73bNdDdpshMoIiUTto0s8jLcrRJaTYpNl8fvF\nsj4x+2MozD7NVFRtel9qoz9tPVJZiafwmbvVs45eoYdIwOn+YYtqnJ/8r/aW\nWt2RABglSi25Ce2ddJvXhUaS4HMJmMobeqPkstJ3pf6NYbiSTW7ygwhYLEmR\n4+zEIyBZv/A4cuqprhTnrkYrGqBaFTj43VPK0xmdhJ/ZdXrg07LjivAnd2zh\no1v9IAhz12Md+cMcfLWK2ULp+uwop+8KbZb9xAPrh2S6pZYaniweDr8sst/Q\n6w89m/aqfNiG/MehQqyz0Ox7IjdHv71n2A6H+IdnFXjK+Fq3xyihcPWjYWGk\nYMl4\r\n=/97X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8e89db6eb732293e4abda6bb3c0cbe6fd0335248","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v12.21.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3504","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3504_1642529541061_0.9935425325957472","host":"s3://npm-registry-packages"}},"0.14.8-beta.3509":{"name":"piral-jest-utils","version":"0.14.8-beta.3509","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3509","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f11826aaa53ccb902ac96616910f5f8482353092","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3509.tgz","fileCount":45,"integrity":"sha512-fdqBFjggIxukljMNWCwuBlDY8Kbl87vmB6yb6XSCQYmsMXT2oNwRUpOWoHPjJmkWEk6//LrWKsMsR688AlrI+g==","signatures":[{"sig":"MEUCIQD2aEm17wMsVPOsYQaroNa++PEt480F0e3yU6TtPKf0NQIgK8xSJZoA1WXnSQDD9CJApTDc3PZMoyEFo1NQ3xs+YXY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh59GdCRA9TVsSAnZWagAARG0P/0IJvxy51p4hVWjezVEf\nGKerCDRt7X8GpwPKxswX3dgUijqsyoduvJNvsJfDEkCXLGP/2OVsPxP/NEVZ\n3YnrV40kI3DElaJkhUieSEoyPh+NjC+sLS4sovJe5qY9/6a+AQM2Id2XwfYO\n/5V9vORBFN5Yde2Vr8cHxZfvM6+6oRUu4tDm4rN2t6MdnhAFWNgH4B04VyK2\n1k5EFaazG5abIdAuHAuJESrjcH+ZqnG71a17DrPuac/ZSj3GPzaL7TCUTO8V\n5NpBZOl1dnAmCo8tfR4sCEOL5HxB20R++9kgfeq9VqhRaOyilxpDdsKzuaa4\nrKV7TewfQGJA7MTrDys+8lI4E9O/tON2eNNJ4SRvLJ7h4zj8mZo1Wis4+zGj\nf8C2vkvsKZscRfI3NICvS/v7mGji3sIc4HE7PIYF3SDomG3xasJ8WwKbyAd4\nPGVcsYhblwTBS6k/woIlyNzJmRYTimk28iTyOQYzgFVj20w/R20gTai5fS+d\nWCdtMZGAmzyS/HIIyjaATIYd+jTnuEAEWVK7advUN/9eS4bj0PCz+5DNIO8Z\nJOkO1GSOg8cVtyIPjWcIsy/NTgdOxbbyKeTnSerZpWZPSMUiXhunTJ1+1SxZ\n0D54WsgNw13+vGvVxJ8rPxwlDpgQ+nrWdMouRLH3iu+H2YKRMCnk4Bx9kZz+\nz2yE\r\n=EePU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"309b0cc1deb3e3a7d717963913d0b834b9f484ac","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3509","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3509_1642582429732_0.3338084575005815","host":"s3://npm-registry-packages"}},"0.14.8-beta.3510":{"name":"piral-jest-utils","version":"0.14.8-beta.3510","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3510","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3d1a247fd0e43a84702561ed7b076fb56f4e6bc6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3510.tgz","fileCount":45,"integrity":"sha512-DMTwqcMUS6ns2M4s3ubUtuNxoocCy9OxBP0F4rj9q8xaeUswsavWiqYhvejb6B+a+RFV5Ge2u6Mp1y4Ohniq0Q==","signatures":[{"sig":"MEUCIHw0oUO60TG7P32WnkJQXjKpo3Mc+f2CCkGyzgZsslZbAiEA6PXlvj2rtRelklQpa3sKA+O5oCSQfgYOVmp9kpxPvRc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6LFfCRA9TVsSAnZWagAAJpsP/2dvJy7/leWGar53WHwk\nyuefxrvzTVjaC/4c5UT/xLv7DkfVGtWUczlULcxvJyIdeJQBA9aD3+I0ls4H\nAVyjA01Cx6xnZPTlgyum12k6fST6qFlG3fwLYVVwl/9iMiveA2slW2AIuz3L\nQcL/H2WXocV0YpUaw26AcOSDQh50XrqgjXcfmr6t4Ddg8gSs12VFwn9ZnLAE\nH2dHNvsPrSoAqkNhAiYP25pR160cBUyIxbDX66Ik45AliDNQTo3jkRbGA32b\nh6IjgDrQmy4jTvUOmNFlZ0xzMWmNoINX7iIT4gFYG6vIRJ27BpQJG9wieVDo\nckJ3lcDtqxePjcXaNmFGzO6Dv5gBiP8K+/NDNwxkyERDDNHPOkkkCPk9iPNS\ncWSgf5YiRxz6py8IWDEmhpmwFlqdZlbr0h8tIi+o0V5lFD7OMckDfmsQvDiv\nTePCI8hRULeSyOFVgHPuR8+mPlwy/O+DRJVj0URc8dGDQiiN1Kf6xkbHQlV0\nKAE1CGdRxfJrgjHIPJZFj4u9uwi31sAoF6b3df7q2w2qQYFz0AQzaOGZUUtO\nRzWvdo94DyXFWOdDZR3y9m52Xh1pEtXDPLnxWpNy56k00o8yT3xdu/uBr12v\nz1dopGQbZmuQkjtP0d709S8zWAU+crDRYYOyOP3phYJ2GsbumPFg70zeHOly\nfx8L\r\n=OOic\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"88ab7816c6116dc853c2cce595e0fd1456db5800","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3510","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3510_1642639711515_0.349966717504941","host":"s3://npm-registry-packages"}},"0.14.8-beta.3511":{"name":"piral-jest-utils","version":"0.14.8-beta.3511","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3511","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c5147b933b94fd6db52db60655d15383d86b736f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3511.tgz","fileCount":45,"integrity":"sha512-PCMsXlysGqOaOSGUYM8MicFsIC6Bw6zIuqCA7NP7GygkZrt0A+ajbBlkbDMn2K1+LDsAJ9h5zogBFmEEOTy5lg==","signatures":[{"sig":"MEYCIQCc8LuL6tXtYMOZ2/WwQ4vHes7v+xFr2j4oJ2zgrArxDAIhAK7FfKChzCc5hWBR+vHAUJGn8qbraD4RpR2BKm7cZsro","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6MK8CRA9TVsSAnZWagAAtuEQAItqhBLWw36mjJxlp0tF\nMdCeXeJKIO633Iwz/S8Kr2qdWLmrObmaoNVS21joPEbx0BtT5WkLRrNQk+oG\nWMWCjo0NFzJRNxLT5j+RBmFLWKWBHjbN1XwTd8vcyS+JbZyW1NWswDZ9qFJ9\nfwFVwI/A1Z59/LqpwWTOXBDdpCYNXf7t2ICnUns0lrEagUHGI1aqyvnF1fhk\ncCtfhJTbsNa/12/UkIFLr/QRXMJc0TPt2RygHEst5ATgaAK/deknM9LxXWry\nP9H5ypAHBvF5jbOroE+89BCKVGoc6Q3SKV4sr66ugcn2Fpr6+5e0JFz3HupT\nF3+5CuhhkulyfMirEp8h/+A2uWHTIYRe45Qgq9yFcVcvA30VoZItMbrGsKmu\nSPN2ef6f0w4AzvtBOadPSTKewErws0T7QGUYPz8Ku5K2xnUMjTPyN0ddU4K3\nU7w1dZU4dYaD7KUt+e68Z6CgmzsmVX/Zd9GlqdCvinWTFuCGB/p+FM/I7h66\nAbE7z62V4M/9Dmi9L1n+Tz1Afw3mnNEfx/IFbA28nc7ma3ITZzm6SBzY+Nze\nCjSeneY4UjifFo+wX66GFTo2am7mih9dbKA0uinkxkzS7kli9A7tFC2Hd6AN\nEl0SrkkER78b9RsJuz3G4FzcGE/MXGb+Hb/7XJNHByS6qUGp4ZH14hozAftA\nZkfx\r\n=+xPu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"69a69677e9c44c0013c3220877978d262e11c9ac","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3511","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3511_1642644156157_0.4443008117668297","host":"s3://npm-registry-packages"}},"0.14.8-beta.3513":{"name":"piral-jest-utils","version":"0.14.8-beta.3513","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3513","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3369a69a4fedc630786de23b242f054b1bb85960","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3513.tgz","fileCount":45,"integrity":"sha512-4sqwRnHw1fLqMTbC/6VxSzuXSwh/7w7HPVQ6A1UW64Lnd7Ci2OrTeU44xgotJs81en388FZyGwWJhzWRbJ34Qw==","signatures":[{"sig":"MEYCIQC788T+upCjNfhmjDp9s94csqAxBceZ3G83JjLzOke+ogIhAKPTMdbBmRimFCx/qNhKX7CTknhtvjmkMBZtzW/oom3r","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6Tj+CRA9TVsSAnZWagAAeWoP/iblM4BDuEyE11KxP+L5\nrnEGfO+/apLAZC46Te1Clr3OdgJ26NJXe6yHoPhk7pzHtkTg6PyRLNVHEHWn\nJmSppJZef+a+X5SD5au6z3yeGJdHoiOE3nRtlltCZUjHFs7xnu8PIJlPM6zc\nImPqwpDS+IM8nF5B6ESoqX/y1L0vmDI1S4gDV4FZV5xyB9T1howMCg6kg2D5\nBcFbYQHlrmTRmaXwi/GVDP+mxF8iaDf2i8645DZw2l3DiJc32kazI3lz4y1R\nUbh/nWbHa66+Gc2GRvLO2jiM/Rv7Mc+tWqGDrHG4rHBHtBa+77XF4tBNXe4g\nSve9EPNUfi/I6Jqm1u1CW6njKKCAJFi3HBl7TpwHWaUJP+acrbgAVg2PfTpM\nNLk4yBx7SgPWdnosmAOzMNQj5Sp8w6Wlyy3rXC90bm6p94Pl99LDt8Px/K9T\nHqxiwevZ8G+pZVM5O/x+n7mqc0FLDIN4kbLL2OiObd9kk4hkzFuObbLY9OZ9\nRPYA3/tORH0RvCPqW+yYtTm2uo4tX3UMjT97Xhgrt23ZLv4Rh5vNCPRRf/Qq\njEqKmYS7QzPwoTiDt4nC6jfGoXTW+Yiz0HMditulxaPQ6QqdwtN5IRuee/Y3\ndrKR+VGUFJl6BZwqkyHEjmZK5cKH1U6pUB8zNIp8IWfHgt3BnNuO//M7kxaJ\nuVpP\r\n=WJZq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"082cc37bd4974de4f462a148753f3a9443f69730","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3513","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3513_1642674430022_0.18090934977899176","host":"s3://npm-registry-packages"}},"0.14.8-beta.3515":{"name":"piral-jest-utils","version":"0.14.8-beta.3515","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8-beta.3515","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"de5e2885bfe5e836eedc1870541891c51def5444","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8-beta.3515.tgz","fileCount":45,"integrity":"sha512-Xt+YQbu1Vk08HU5rSfPUnGcNDaxo1VdFLTgfccejgllaKlv8DarGwrpjLXaCMGoVipryeqO5joIgyQQAWfdytA==","signatures":[{"sig":"MEQCIBTiMGRPZCf+wPzQV9Fni4cs815JyycYrzhLUR+JNwxpAiAFzP28ze8rnhoHEHx5ybMRXC+Jd5meIQtEHjYxPAIzAg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6VH0CRA9TVsSAnZWagAAzLMP/2ZPWogqCfzMZAdLVYsZ\nUCNV1TNeCKxKNFmXZQId/cwjOgg6xrqZUDhMwGNdogJW0YRFQC6hfPD81Ls7\nb3KjuciYmkYZFBuUGKfMNZacLAOjc5lyOodHVwFzaVrlJF+YCjETg8vRZWBB\no8yd/N8eFwPcW4SFXmBkHiGlHn2aR9LJMG6ZcC9U9uzCMfEyd5p+eSR7UpM0\nPflTnnZ2LFWe+CODmi8g1bGdfs4clCcHGUdMJqylbqtdd/SKHiyjBEs77cNs\ndpwUuzZ0fz0hC23uLoGLgeW3A8tj02WLmZTfN5DARWFqpJyPMAzEesLXMfW5\noIgkYjeTvPi3flPJM2T7LLV6XoTi/YMIDInXIHaDTn8lbFe+zW1dFGjP0Hcu\nQwIz3fcCHkwOCBNFbtkig00OQcSbSokPUc9KElhmJXKcN51ZMpoXjm409QjC\nDeU9JR+Weoc1hy+UQJM4Xl+CUWdfLkpkb04+AKU5dd7vFHe61kud2Wpk6W1Q\nmnNVIY+7KH+FNXwdARsix4VfEqQI22MyBMxesVyjihfTS7N0b+S2hMGNeVVS\napTh5DNxcUNDb6H1A/6Idt84QGBZLzKVvkXQ4mQEmoChJhwJXOr66PlPcQuW\nN2oiMB1nZH0JN77rhRnyGDF2q0RS/sWwmTZqDh1JzobfdoiSK2ADyfUQlLdv\nWQCh\r\n=IUNs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"67b8421ae8c8da2ecde19e2dbb2494e092efde6e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.8-beta.3515","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8-beta.3515_1642680820766_0.8060747129271935","host":"s3://npm-registry-packages"}},"0.14.8":{"name":"piral-jest-utils","version":"0.14.8","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.8","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"07590e86849359d9f894bc3604d40205d1ae8d37","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.8.tgz","fileCount":45,"integrity":"sha512-VckHVki8bmAIx5nRNXT4n4ESHF+XcpR1Ja42sSi0LQEBRwErNTjdiYurESf9Zw35PA6xWk8OwyH8UtpQzNanxg==","signatures":[{"sig":"MEUCIEAYgUCmKhsAS4AmobzmVnFYnog5IjepDA7PPtQz8X7nAiEA/JJcTtoBW9g6YP9gOX2SNM64JeIhkB9FmyRXCPqly6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6WfXCRA9TVsSAnZWagAAaksP/3S3mp4d2NuVaMIsUZp2\neRW/MRfZIwV8rFM2JUNXDswHEcNtvIgFeSd2gSpaQ9IoAJEtCGNXT6MNjOvk\nQHDk3oLbyXQpVge7Lu+k1e9dUuYS0MYea3MnaUq12AyCM29P6maezVZviOID\nMNR4IBEA0zTrhepo6M6wcUIJp6TSpjuX5PNmLQQag5BvXWa5cMMcxpzZzkWS\naQy+iC0JW0q1aL8H9qEhTwMnCdtMWGZVN3ebOejcruyeY49jR/kcrbiBoaeL\nxySF7yDYgSiGZHkZAsUrUWxenQ1qUS5ccHZGvqpiZmRilfao5QpjZBQivgZC\n4lJfLxSrURD8PzFWgdV92G/ewl+y913jVIPz+to2f+gYWuOseEoQKlCFdxQS\nmWhTmA0DVTqCm77AgCZlgKR4urEqATDLQ7vG2Xqr9Hpq6UsyfzvZXT+vI+52\n7jpfGNvkfhgpRY01EMSiO4IezZurep/hPznZAaXQBDEH1sj5MmRGSNlp4x7K\niT6FlEXs2WmRHjCtwm4Jek0+c0vHkHJQwCoqFVU2bXhmCQTDnHzNTkDvyZQx\nyppGuh7iD7+MU/0xKRa/nWKkUz1w0hDkxGbikAC+3k59MMKtj14ylBrKU1Hh\nd40rFMHZBxdYZjBvIHC/0at58W8leCrLbevTIfWfp+FXwh8lJm5xN/ZtSVRB\nRqas\r\n=11eN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"3a592e28dfb9ad1dca34cb16a013f02dc8fcfc74","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.8","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.8_1642686423650_0.7190110833378474","host":"s3://npm-registry-packages"}},"0.14.9-beta.3522":{"name":"piral-jest-utils","version":"0.14.9-beta.3522","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.9-beta.3522","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d1bd163872605897c61d37f1575e610047a95955","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.9-beta.3522.tgz","fileCount":45,"integrity":"sha512-jH/j32JWlVQl1+LP0NB8ctNUPpZgp/Mr2a9AQkr9OrqjG+ypbv4iY8Bw3ea9HeAzqowtCzHIWaZgBvzXn/q5QQ==","signatures":[{"sig":"MEUCIQD3sp6OY1Rc/JC+/nRVfhxmOx2amOmnd7V+dQQoP0fEbwIgbrTBYm5o1Q6m3ZeFwS3w4qvMnL54tBc8/eqZE1QHJCI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6gWsCRA9TVsSAnZWagAACvIP/jNpMGomVIOW/ortprXF\nLR8PEJYvkyRfWbOplf5zGludaAiSfig6JsNEZ1emBu1LUdBUC8FkhgE4oQQp\nbI/dA4l/1KdSrI6xNc/cZBKPRjmIHqth3Rrm348sF6BubN9wgjS3pvx8yvA4\nXQyanYQMQsYSBKlB7jseBri8LM8N6NpcZZ5kETbqz9v0rUJChOVJoM6lqWhL\neQ/nYGwozSmMrn8kAQTpO3RaTKvFysMtAW19bY+jha5R84rspI3s2Z+5m3Sj\neh4Y/E1scBGBzEirETQFypfJcDT/OpJtnuRYhsr4L7/MZEPY1yVoiPXf4A4B\nsuGaEnYHtzeda9DRywG5W73f1yrv/cw2I53kwknPDxM+zKDcC7e2LIPE6nIu\nDkUlg6MRKy9BZLRW/UC7N3krxO3qF5RQ0wgXUyLmWx1Eg7qAs9EzRNzwqGV0\nrGwdAVvKZayVtRexHztWZ2yPhqOrggFmfFdKFD2Hb4hChikoCqeppL7kBDDX\nyhPGUbrqsExwr0p1vfCmz5wu0hCl6RbGjnxiTfXYiMYlgG9YrKOBKM+tOcsb\nPwJz6i/nNIm949sT7t10QANhs5PPCNX5lfXdcgr2UG0gOh3BxtqdAhK+a6Lc\nYkKXgUy/YoBRENl/zZIvDnQ/ynNcvhnlX4AhKgG1dn8t/kebaxcb+ztNAJmL\n9mmX\r\n=EsgA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e7f2966e6648eb5cf517f295674785c3f90621cb","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.9-beta.3522","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.9-beta.3522_1642726828202_0.7538243186342994","host":"s3://npm-registry-packages"}},"0.14.9-beta.3526":{"name":"piral-jest-utils","version":"0.14.9-beta.3526","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.9-beta.3526","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c76032224e20d75cdb0be7cd563c58d8859ffe41","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.9-beta.3526.tgz","fileCount":45,"integrity":"sha512-G7QCQ14XU9U8dwZ3yyoCg7Ajmyd/srW/wxx4sYxkdneUGpDmf/0VqFLztQ/dp65kCrESYQNU3wn2rCFBNHCufw==","signatures":[{"sig":"MEUCIEeu6Oav7lyFcQhizgYB7kiihl7XQxEzmQNNfmK/S1CwAiEAgh9RPu2yey/TXDj6utFwtDD2BWWW+VISeuJehD9xaqI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31736,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6pKICRA9TVsSAnZWagAAGNIQAJx+y5XxqXrTIXscuSGV\n+xdxGhbpESKGSLjyyHkuIr4+nQ28yOkJN1LXDZblgfUQX6/TAf5YYaTsXVSP\nuelVwnFOFEYsz2CwiZKT8LlV8Kbgu9iRuIjYmeFrcYMhNjKT8Bi0NbbkxKdr\n5+TcacpHFWGKARlWVryjVOKryunF9EWi9z9B9Iv7R6dhPEhc2DwosBhd2IkW\nK6zNntE6t/2dTvWBoK4uOU5voWf8Hn/4orVP8X8ToedspJ63zbulPZli8Niv\nUtVbHvn8PJw6KVG8sKi3kVMVKqWetaHMn0OCxtKQkgIXdh78yMYo46TgDCMi\ntGPljqAirjyyzNabjxnk9BtuPEZf9jMqzK9nhvavVrh3Fb++Jw3DsUrUQlMP\nwQ8Ipc8SOtb1wE9vg/Djrttv9QI2AUwFM4j3a0e469nj4GnWuz/2DT/ixS1M\nDEP3EYx/FaGnkA9AwdqvwdF+GPovdOwJL5zw0pATYlxDy8orTApFJ+MDnzMu\npPFBq9TgoYcW3WODtYVvWk9GAIY6B2A7D/nk3iQ2utcQuuRbSfAEaV8Gm2KW\nmMapPutCEXx6AUKTxdpxATge4+AP+eb+558EMv3/2nHlyK3+TtjQUKsZin7S\n0xqzzF4Me8h9pdiKDmEbEEkcn0NsU1Lmo1iI/A3JFo9XvibEWzMdt/bzau2b\nzxiS\r\n=TVRE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"934210d4f9261d9ec158922b540a6099900beeb4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.9-beta.3526","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.9-beta.3526_1642762888491_0.39572906986054845","host":"s3://npm-registry-packages"}},"0.14.9":{"name":"piral-jest-utils","version":"0.14.9","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.9","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4554b06943209759e78887795b41e450a1e80def","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.9.tgz","fileCount":45,"integrity":"sha512-eHCTcEneskIf4J14QbMuWCDCRYuejJlby9zdZnZriyaPyF3Q83Rtb5QOoUcT76X+6rQyqf6Z6tldVACOjB4S9g==","signatures":[{"sig":"MEUCIClto52pDxquzOzrI0u7p27Q3g0e831jwr1Ty/vwya8ZAiEA7fayrs66YnZpY9ZHgzeVXcotTSep6/Y6icVrvGXLsMI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6pXUCRA9TVsSAnZWagAAAfIP/1StvnBG4FJ7DKQUApcB\nH8Y+N2Qwtje+7NkTTlefRfwt+wQMFUS+HHQvq6S1XgkQDK7sf+UEjgKvm85B\n1gmEsa6d4JxeLxzFw57STN8rVCTrV0/kj8HQEzkFExHufCP+nkmq8FWrW/gf\naPIG0BUphz+QaOpqCCj3xVcNIky/1Qi07Izqq9OGiECDdA/pAtB+2OKQnVEh\nn1+d4gtf3BMHKXX31SooneIHMkeLoXNFBAPFhxCbl6HI/a5/jVWCsiwL//hT\nGgh8Y1u/NdQDe45eLtUB2FWqB/fO0B3zopem69jTWBQhm2AbvcgJAjIF+rhM\nYy6Co0aG4shzWfOfMILn7ST9yNW2el3hlXHBWOaxSAW/PloKKKGvrve1/zX1\np9/qrLFQKQo6+cewhb1QDLyaHNj3Muu5eitLTxDaRMj1NHWmv33qLtLp/CiE\n3PfCmgWxFYUcAfnI+FuvCL+k618cCjbz/CNxJ29qedwRPgtWCQBRE6+aPXgA\n2vi9bd8ir/0gCK8NDn7q9QpwZU0VNkrTkCJxEp3TZgupJf1PK9ETUDfOp7Ni\n5+aCb/ODyj81NlVV0u4cLo0RlcMCP+MamPeDDQQ1h64iApDTX0FW73rpJa4u\n0tpr+QfWCaneNLKW0jHxu91lXGcZN8ifXtlioPhfJ/w3VgGnn1BW6BsODCv3\ngEfm\r\n=LZuP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"8c378ca7c8a55c1b1e23e7992c3875aaf311f29d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.9","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.9_1642763732607_0.3530002664090246","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3537":{"name":"piral-jest-utils","version":"0.15.0-alpha.3537","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3537","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8cdb3eade791b48fd5cab5d4eb43ad5d6b9c5191","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3537.tgz","fileCount":45,"integrity":"sha512-xMklZXoATgDB7S0NL/OFP7rrfxTIb9TsqOhjGGrNocbdLa4cfdgKu/JPvfQFAUucUOlKMD5/G5S11gi0yTNuTg==","signatures":[{"sig":"MEUCIQC/vW0miMJSuQRBzPtkvCCZ88AJhWKJhsG43Xt6JlJ6vAIgaZzAiTjmilRzfMW1G8VWlsu8Midq3N9rQNqLSorsOqU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6ylsCRA9TVsSAnZWagAA3oMP/0Ab7nnD4vHclnKASiDx\n5ccmPNuDODyQNVMsCu3iPJDpf3Uyzl1ew3ccPH0nf2aQ+flHQe619LtZ9BhJ\nd1K7XAQGUS5v9rQTbyC/1VUNBrOhvzZM15c7+m3qhOe6UWJW6udgn+oZFEtf\nANy/zKwGd424ELMF6JHVc8g85cibUJr+vTVQitZda9eqzm0zPx+wAuAcQeAQ\nE80mZN1TLuDem4DH2b0U70SjuNf4VmQzrkORFPpMKIddBpqelnygoNaxHeZ6\nKm3ktFJElbQaYHhCxgW6cYX4/FHnDEWumHQ9bRerghv8PJx5JGu2NaBnlgp5\nQXNyWneY6nYhijbsSQ2DHCof8rcRz1Knhceu1SRdIwkhF5o4UQB4KOwKaywX\ns/oIBHtt+/oNN8/BefJCY9YFnngwBpZs8WcZkaa7ItuOYcWWUYHjVyo56yee\n556INy3VbEqQu7zdgIoMDvJMy2v/m9R4aD0VGzz787198A/pJGfeqgCZvqqu\nV3WXgyBJCDIKxMeMe8nXtBhG2MVs3Py/rVzwOOhcqBMQ4eZDvvh453+3qhMJ\nASnLQZBBOVdmoEr2KlvbL0tMpvWfD/5OrnBr+2fnIf26b1n1jypCEWzcq0gN\nqN9yCoJjh4kp6oDf1YdvxgKZas4fUhH+Trp+cuJPuWJ5M+GNFXAVSY+9fWVV\ndGBP\r\n=ANon\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"5da9d7fe4793668e956e96470aef95b41f2805d7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3537","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3537_1642801516160_0.8544697786111066","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3540":{"name":"piral-jest-utils","version":"0.15.0-alpha.3540","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3540","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e07522e714c2a9b054864025710f5f87ba36f4da","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3540.tgz","fileCount":45,"integrity":"sha512-5T/1vHI4bKoTLxB7Y7NWHoQFN8qq72HySoNA39KDavECbWuxgTuTJAaiXjoaTzeFcZHywNeX2+kGZH2TWUu2Cw==","signatures":[{"sig":"MEUCIEMh/ocHdzUdOLyfodwQ1PF91lQaswSnHCPoN5HRVFQpAiEA+JC75WGnXt//oAWLNgoDHPf6oyUM6Q//Rd1nWcu+NLY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7B8RCRA9TVsSAnZWagAAQBUQAJuTDqdlkGrlV/KLC43j\nOKeONqcB3OgmpxpXnLlrChEja2xB3ABu2Pe7WM6wtOHBDMZv30RlhHc3XSl8\nIVaGKtCSO0QfysKkwrnP58SwHDS1IrQu9drMvLS99mwGvpf6ZWl+nRkhI1Dd\nmRPO5tty/HNxKicTH3ML+KvPSTIUPoSRw8J931IujLoQv+30IByixUzUWatw\nIIdNX2gPu4AHcvEFYV6RfVKgksg7G1FKyowa8s141EaYcH6s9RiCU8sPPX2d\ncKx5PPOApgFUbOueEaLEhl+yEw8p0r4QsO0iitdOdo8m7TB/Ta96kOwDd035\nAZlBW1rmmSqqfuRoKqmqAyG/8mgn0+FjYQPcmraJoV+xGViXQrvsJNSMPdnl\nSN7Ql+JdqKQbFDhZRBgZiP+1x4SWUYCfIEcBLrZcOpqUGHsK1MMsQ1O96ska\nN/lKGivcR3IOu8UUi9QMocnjFoiXMsNDzmKWypHla20qU4hgChu3t7F7HL/0\n1PkxGftijtm6qK/xB1akrN26v8BhoysrFlu1bTqz6z5LlPEAsnB6nt9jwnMe\nxj4gkucw8UWT1Wz4pPdr/uAaji658gsy1VxvKmBquVvCCRXHN7ozDh62EI1X\nkAK/4DgLugykSjkOG6du3K2/dqeXUgyaI8MbaFSZMPyqQvhQH2juAx6FbuGy\n3JrK\r\n=fMnP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"151470c2e2e9f8616949acde653617fc0f6d1f8c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3540","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3540_1642864401768_0.3247670327693024","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3548":{"name":"piral-jest-utils","version":"0.15.0-alpha.3548","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3548","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"13bfb5b9cfefc80e1cd1a913f4ac3e579d689d4f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3548.tgz","fileCount":45,"integrity":"sha512-PuUric+8T+Soz8ISN0MKg6xFOrQhaG365+kCogCP+dnrEY2o5zxlrORKqQTbk5c0yENWTw8jRhx+KgfpCDK9Xw==","signatures":[{"sig":"MEUCIQDSuTYlfd9dRxZKy/8fObdmYgFUioxGHoVXN4LR86SKGwIgcdfC43syPmkqJVnQShegwI8bto+J6jqfXy3dnb3u6So=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8FB4CRA9TVsSAnZWagAA+VcP/0XBz2ZocbEfEejIW1yz\nl8G4DdrtqkTF4TkP5ZI8er9Ebr4O0btGDVvy+TXISD8wkZ7mON5Dj2du2XRp\n436cl+hMMHi6xXIvquXZjED5YnPaLdF5e5Pde55u17Bl9O7ctlGA3MHQ1Moh\nLz59RJ9vsejXb4ylq91wDWVIemVyvci0U9N8PFv5hVamrYFmkZLch03QrppQ\n0ctnK/fP7HZro99Wyh93hTSpeWbacujTiQIUcVKc65IVdN1xbKY6jbpVwLfh\nHJ2/gZ3qj5x20sDNizz1QsNxSsAkyVduhUaceQhuGxC81hTWTCVRjjMVwCDL\nWFWBanme2hzEkuPVjXvl+qJ+4D/xFQq3xdnycvK5h0DaqqnT8wVOWrPwa/8w\ne7BLmzmcJ0mfZx9UhA8vf/nFOHHhKS/P0VnQUeex1rYoYW3gROAP4pLTq/XY\nKwY16T0IVzao+p9a7hP0DoVTUH0HoTCSZWtuc27FQUyM9TDptNUesbNqkzYn\nmRJs+sAKGUO4ClnfhfM9YCRZnKAzXH/LTnHQDg28jdMcTH77wtnapj/K+xKN\niq+Ml/RgLr9LDaYEftb+IwxlTVlnm/zN1sczTJbjJNVEWc65ypSnU7g6r6nb\nKLhR8vnn6QYrY8IZlWEj4CqETbQl7SR1x6IPRPcs9Wr8AYUeCjzkhvMrI5uM\nUF/Z\r\n=CDrc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"2edf7bbcee6a7e931348198d14139c7f958877e7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3548","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3548_1643139192668_0.1581144042146463","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3549":{"name":"piral-jest-utils","version":"0.15.0-alpha.3549","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3549","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2bf2bf3a68755f2dda1ded9ffee039a3d5289924","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3549.tgz","fileCount":45,"integrity":"sha512-Ebmgn/qWQx2CbMTjEPD67lrWUoNr5vd7nmSpX8L4+JUnNGFwb2+OlqxJbdui1qVLBhiq/c1hyxOv64JbIC2KuQ==","signatures":[{"sig":"MEUCIQCqheEv9e+oiC9r+MipN5xXiT0zz9ZOARvxHBJpRugznAIgZWIq05QBybsQN2GTkGo+LMMZ1aeaXWUkhbARPCQLkXc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8FUOCRA9TVsSAnZWagAAhmsQAJpHBMqjqFATkekJmZbh\n5hEdKKRXbZyHIjSF5GrFSgCxPijohW14tk2wi5/fYCcJYSLpl6NBpDjTW8So\n3WTvcTG2X9+O554nGYy/qibo1czC1wqgqGEJLbpllO+D7zNdnuqRnbfVa1q3\nmQNmu9+gy7oAJouzFn2HhSQSwvU5ESj7jihUhDz1e5iPK0udMdKfdCWNywqp\nSgBLRjS3qeef1cEmm/4qg90qoO68vGgokm2IJBzuX4zw6v3Ce7x1xIDDlEZt\n3qoDfiUhxlN/L01VVDbZhn+xjmymSIqVi6LEl770mPugEc0VprJTF5iRCBTV\nDWF8Xn5hi+dQikJoWyrozIgJQ6EigHZ0leVXY5ARDEAohbnIHd8BHG/2U+3X\nSReCesJQOatDEfGKcRH9EAzN0GdOaV0Icg8MtsphlzjoHgTYXUbx012tP/sV\n1pfbl8zl0FGwBsklILaXJ01JFIvDRTRJohFqFfAV2LBQmDx9HH+MFCEtfHB6\nNr7hAeSc/Va7vOQRf28tUknbgKgDKK/AvVq6BZqmMz2ZDjyWJIKF5WBxjiRm\nP9hCxONQOQM3X/TFKRZ6qIkKllIq6OS4mjs8eS1Ba4fY5C7uO2SXsEIK5G8S\nLGk35c8v1axgYAYKE+Laiar1dma2UBYeRCpyUd0SLRbYTMDBudI2lDsOyw58\nWjJX\r\n=NLw/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"2edf7bbcee6a7e931348198d14139c7f958877e7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3549","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3549_1643140366734_0.28298681081821875","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3555":{"name":"piral-jest-utils","version":"0.15.0-alpha.3555","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3555","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"641abaf5265b24b519671409bef5328ccc29bd5d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3555.tgz","fileCount":45,"integrity":"sha512-ORHgK0i7rKrS0vy35bTTfKy+Fv1MsHPUoQUyEcuBk4UgTjDeU9zmRu4y6utw9berr1DQuKKgSpSbV9xw2X88zg==","signatures":[{"sig":"MEQCIFy9K8u+YIRzF+j9RlydAEdshVjfSadP6xnU0IRNjOWlAiA2HRR7DDBKS/7Ujcc/gneNbVEp9tsKpu2B06em0H2J/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8foHCRA9TVsSAnZWagAAKzQP/R5KQhcAzSuHOIdFvR/i\nqiqYPdT1LLgtJuewK3LpsUPF7/fVXhaju/nPX1PjzkOwP1GO/m+4sx9IGCyw\nAZVnUb6MzNw0SYAurgLb6A/t3hMUlTDOm90/nLjE5eIhYEdwndYrDm95QvjD\nXceDtASKjcuUyp8hhDRChiTgu4Vsu0Z3WuNEkSjl9IsseDB9H03exSVQyf6p\nal1ndkm9eRugt3EXitpjA13DL3ftoQh6iiOI5TJ3MrebR2N0uWRNTFfhUz46\n818a+HFguN52HpydEIYpNFrUst+VOe0PJgA3rmZ98QPAKsGhjAJ/WBZP8LeD\nsMC70CMf5rbZXtGjw/NedCWUYY+Qn/XonYg+qstvDn+c/dJEOyvtobfzpe/G\nvHDqrg4rEk79YASKDtWKEz8tXLsdiImHHmkk1+v0762NgMkmg05WinfXqTN6\nVM1ggA56FlSRceljF3Equ0LTOez+e/MaeVprJUWldqWLt8VHaGJLN5V+v5+e\nMmWTOLENWfXOhiPBL2Ri5hMRvVjNgdZpQIlH/gJC1zZhbiLBo752aaxZvnFt\nvqyYObaZf4kca0IBRm273SHgWTgda2H0Ye6QOdPsETItQe81rlYQF+HFbE8U\nlktEqlQP2hUQQwtVBorYrfprVpDDWpQW1A40OqKNfmsbGovzuEAdQu9TTWgo\nNuBM\r\n=62Ii\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"0727a5c782dd1bbc7ccaa11a036a9f16e616bf10","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3555","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3555_1643248135034_0.28161953362028735","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3564":{"name":"piral-jest-utils","version":"0.15.0-alpha.3564","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3564","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c0dd4be347dbed544952010bb852ad619c6f1cb5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3564.tgz","fileCount":45,"integrity":"sha512-OvlEAIQcWB/OWCIEA7c0VXvliMPrqKI75HjyuszwciIqObXSUNmXYMNNS1IBECaEzVXiwnPdWfBb1b712UKblg==","signatures":[{"sig":"MEUCIFtxJ+lUUjNidcU+J3NzDCNi8NUNSUYzPhumzQPX6lFjAiEAmu9ak8IELI3xXJDNvtNxKekX3BZvFeyLx9iwcgrQUQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh89MhCRA9TVsSAnZWagAAs0QP/i5UllTTVFcPhhBk0Vt1\nDGU/792gR+RJ4mzzyQhJhkF9h0a/PF4lAnMn1kv9nuXiMC3pj48XVyE6zwe+\nUqRxpj9xeDrYCuUpyx/rfRA5EkVq+VGTxhD2sRkGauzjdhJ6gBXNhsm1x69f\nKA5Wby+SGHLSo81M21d+tLNJEqpv8GJDZzLzsh8bQuIolTm5jORIO7OtqipU\nuTv1BHle8FPU6TYBdj+oY0VchnJ/lENtH3yHaBHnGNVljxaqt+vSwgFRVz2w\ngHh7yWysfnstwmGm8vbCiGtyqL7GRjSIF7CVmJPs/CjRw9MUnJyORqfXyGHi\nbPt/RDdt0VKM1ZDgIb1Zmb/StMCV4TrcJElvBDQnIn3QZqS42Zn19vGV/0P+\nAANqixlVhPOtbDp8CSzm5sdA1jsLlZa28aRKkf1KkOz68rjFZ6IBYfLP0xOc\nrF8CUkzA5qbICEJkC7Siiz3wLYgw6YN3P26XmLZKCM3oekWfPnby+7ec6rMs\nnVL126QCnLO5B9tXNzK8zefNOQBG6g+JM9FGMVlOO/uh2nQViGSfL4hiumFk\nDviKVK1uDA1Z/cMUw5ufgrv/ada7fe8efyJ5uVgFU7ytzFCcBsDOxnQOT5BP\nKY83LJPCUlJ6Pt6tQqqimquE1g3bocDAxNg847EEAWAAD57cuxA52Y4Cy0qC\nSbVp\r\n=lfKd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e5af009799d073993a1c415c4ee63029f9b3d547","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3564","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3564_1643369249322_0.3938795710158365","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3589":{"name":"piral-jest-utils","version":"0.15.0-alpha.3589","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3589","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"02ab4d66fa8362d988711bd14d284427d5754188","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3589.tgz","fileCount":45,"integrity":"sha512-sze1l6BDu8M2+/17mgSssQ72pYl35cnyqeNuG+IZhEqHMSoDo2B9djwdvC20IQ5J30eEMqoFONQ3oTIyMTEcIQ==","signatures":[{"sig":"MEUCIQDooTBhoB1vcMrOalB/LnsOIf25VF3t5Q429PMyBsDP1wIgM0NgI2tJykGKfqY007KxE3KCjKuhyPZPfXM9Z6g3fNk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+seVCRA9TVsSAnZWagAA3v4QAKP2nCOKkDxb48Kzs8+7\nTdpvHayaVjbz5WDl+97AqHLGIITcZFI9/sNhCCAldT2LFyj/ozlXDb/zz4jW\nbNPii3xfafAc8cetDsr+58tPn2UuENzwMFBdcHtg4MYl8WW8ihZ7RQrvqw5+\nolQwXw2D2rrmyTtvp25XAHYp0B+zHOW3fVt45xOPrdwGVK/+KcJSwCnTPiZB\nTcYdmVno7+c3YfuOUCogQ0kASkvuizAB4Z9p2EEaLhXxDPiPqbMsCzYnDhSQ\n3qA/sbM/fgCYLqVQJo5ARwlkTR5yogq/d/eE2dRxmyTF3UNXqVi3Nemsr3vx\npun+sMUXszmF7hD0Zt81VjFxon+QxbDnk5byaAO0xdifNsVOBe13nZOd9NQC\nLb659ioJMiUe6FBXzN6R4yxVi7IY/4rSTFxBdoNUffuqNy1OFGdVDQbNwsSG\nz/QJ39qkkANh4vGafEbdYPj/cR54d3/Fz98m4LM1TZoK167dROi9KXatibe4\nq61Fu3KjbRpanw0Tw1dhpHlYLIcdcydS0Tdevj86e7YVzPRso/AXjTXumQo3\nFjDxKshYx+ILhAykWyblNZ6GJKS/DikslE1ybBwtEC9mfan5h92Tx6hOmkzt\nY20mi+7xxdLgXoYGe9i3PX2KvOjg9uFhrhrqDE1I68XSozpXjQHy366/MKTp\nY5uB\r\n=g0Ox\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3de80e7857d8f95c5f7c6944dfad56d4a5e21f8d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3589","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3589_1643825045759_0.02180188242731429","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3592":{"name":"piral-jest-utils","version":"0.15.0-alpha.3592","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3592","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cdace2eabb7e34ec175fdc624b0717690c3d00b3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3592.tgz","fileCount":45,"integrity":"sha512-zjf39IVseUQSFGsqRqTy2R3WnGYumevz64vv0q0QMZE116XrESGYHmPkiHq2kV9aX9+n2W4wrs3ppUx5mffg/w==","signatures":[{"sig":"MEYCIQCa6+Zx8veep2Mw+ww27e/hWOj5Wtq7c7wTV0K6guu4HgIhAOVpxoDdSPOEewuaiTmSr96D1jiiWuEV5NqVNeCU8iQI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+y0rCRA9TVsSAnZWagAAIWcP/1nF+9ttmUGRdP4X5wR3\nuFLs/zuWcMZbHc0aZLr4E99tiWGZVHF9FIDJNwJflf44uYfbomtWCq4xetJi\n4UmeFeEiRG95Y5qsRFUEwhz42zebwCRZIOCA0GiYncXdWvZ+/A6kF0jijKYP\nx2mTUP7OATJ/1jpG62iPEZFGJk1eag+25Oeqeq0+1BN1/Kjn50ApO1shog4W\nRABKjjlShojipwexhr1i03oUARsKrRu8kcTbG3sO0DZ0xQtS3s5ESHfGXcAX\n2EZXMJ6YEGAY1U0qBqYm2mFcWHqfy2K3qTIihMEwgUH9jRTR3nVKZa6KTjWc\nivupP9GVLb3baUWVUV9Z0fghPFrjtY+9rycn6tn5oyhiYEpY/CBlBLm5P08+\nny1niZR6RbiVUYTLD2KyKUMVIWcCua2WS25WD7wZRfojN21hjjetGWEnm/G0\n90dA0u3VhP8DesFkNm0boVSgc+TEL0Y3ZuT73klRQPFwfiZCn57WwzOnx5em\nz/7Q6vi9V+ZGz7dbn8xasGJuGUbqeO9x5svSW8uaCWKFrAwk/az4eZTV6Ac+\nVU9UHMKjHtzFqmu5lvfEdiAN3sbCTeTQV6ROBo8auG+ZNJLf38FDY0mHgjUk\n6aUj/G1s9ZIZUjqbBAPZL/3IfWOJhTpIE8SzFY6geJD9HZC+ZRF5/xxufwZ4\nPMTV\r\n=URPo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"5537ccd39d275afdc53845ab8cb4868a8dbc8903","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3592","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3592_1643851051643_0.017846463397235945","host":"s3://npm-registry-packages"}},"0.14.10-beta.3615":{"name":"piral-jest-utils","version":"0.14.10-beta.3615","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.10-beta.3615","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2ae1acec2a79ecacd4b19adacd0b3a59ae30dc6a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.10-beta.3615.tgz","fileCount":45,"integrity":"sha512-ZEIDssMAQCs7OApjrWClrlV13tASL1naS2yBZg+hDcRNtuo5pbFSPSuoXYPmsFnuwmtIzajqEpTrcL6Oh1a64g==","signatures":[{"sig":"MEQCIG06XO9I/UrSMV7t54iJOx3nRS34Yazu7qyKFafLm9JbAiAVGYp0UFNLF7hkkEr02moiwM+OKpCiGDEGTUtryVZe0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/Sw3CRA9TVsSAnZWagAA8wsP/2y6biU+ZZq1iF0x4a/D\nWTw8kiFYuuM28PD+mGB9UZYXlifrXbLnKDiNJaMgW2U5PwpIarhY/ofYIGzI\nsLXYH1R8Jws/hKur61ZqVEp8/Oddsyzhc0GvmbiyVAdikeN9A9kNBLzlVXAq\ng7rLig2kQKNF6ckRAHshwBsEhGEmYqQzFn8t8cG6HMiqQ9AXwnczcm9nqMFr\n9rlFLMtfdOfLthWODeNDHuTVBbhaaWOutTAhltFqOOWbEOZZul2LGTlp8Isl\nJU3+Qr3D8dqwHZUNo/HRoczCaf1nEwjZBd8PCc08/+PFzEhEYoIPUFPg0muD\n2CpsQXRAllDOoQU10HhBKwAiC9jimeF3Ec9Q1hoN9s52iMGYsdtUSsogRSZv\n5ulWNM/oYokuJQP0Er6n0aQ3F/gZHkfjqDy0aaVwy6NQUooi4lio6Zc0AtJ1\nalEjwa6BrksOcs5FaM490u08WIk36D6LDzHc60KQheoCQApVhhxhyvWwnPUE\nbuaOZ5Dey9+EjWedGvFIUzjaYWK8Alh0vyCzfzcadfL4Ho1x5drprsRu+zav\nVaHMz6ZazSmSEKTJXC+kiRJvjhikoMeUn6NYnKljAtU6owqNrQGepdYEO96Q\nKbUxp6BwsGcRxIHtBDtxZlEMZpyhQLByrIixaTm0XSIrtRtP1R9QrH1DSeeK\nk5Xg\r\n=CxS6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"57d7688876ae35920a429d1580136d5f18c1d085","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.10-beta.3615","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.10-beta.3615_1643981879061_0.22174579896661983","host":"s3://npm-registry-packages"}},"0.14.10-beta.3616":{"name":"piral-jest-utils","version":"0.14.10-beta.3616","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.10-beta.3616","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fad52de1a107598b1f56197777889ba8b46d517d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.10-beta.3616.tgz","fileCount":45,"integrity":"sha512-NbEMW3qz5zkfbkTdKa4dS2dduc6HTDosHazEg66xZcHiSVnQifutjHhuiV4/FP0W+eQMwZRX7ziPrD28b+ts8Q==","signatures":[{"sig":"MEUCIQD1hoNrKlSoPqU6C0VYv/RVhisQG9ksgl/NXcsicsndKQIgPtmMmh0BoeRMOYRcLL+26OSqUKf2CKX0vERpBW7mY98=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/S1ECRA9TVsSAnZWagAAc1AP/i5lFDBgddD30YUmIOmM\nRiPUaMI2nbUI9O3qavpS4nxO68eR2p215lV2j/DVgXak/fDPrNwx0emvcpq4\ns1wkuDBZg2rLfnOsgjnp65vsDq1ujOBYJ9Sxe2Bp9xoY9rRfcgAJ9VsWYywu\ncVUbJyXJhuNI2ps7nToK1TvpmRkFTTs+kXtL0z8udb7W/lVFYREgr+3tw0CP\nXM8Fe2ygY1ozNyefRUxcpQACm8L31LpVYdf/Mvb71PQIqZ2MxVcib9nsfand\naQWs6hgMwIAJOfmlkTeo9PF9gBgYmOxhigHQ6c6OWz/Kz7MezrONrRpBSZQH\n/mXzF6S1XIpsRqwWySJxNH8hQjBe3mmvK8TqygYGqdavlKWrx2JOUIlWuGR6\npLwB1CqyZ5xPx6llCkGD4ze6wb1+LgzCU1aDZCVO6HfXxw+cRb7VROqBI7Pk\nqBVBC5QuDpwAwy7bWVv3K/WyWTUdbjxfM5l1Hq9Hs1RlQbG4wePTJ1wkW2uW\nVqr6+2j8f+2x/w6/rrt++6i88CO9c6DWr5FngWn7tzg/yHdnQZrR3DaMnwz9\nM0FkVfhbO0oUYccqpuX2ie9WJWcSlhUTnoPl3avtXb8IGgaF3xa1lARAojK6\nlKGgUnRcB5uIhlT3rUQuTnFyKWSC7r7xtOcwjAlj1Tc3Z1GxNogwk3pdoiJ0\nmo1w\r\n=/6A2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"57d7688876ae35920a429d1580136d5f18c1d085","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.10-beta.3616","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.10-beta.3616_1643982147839_0.009690700800476515","host":"s3://npm-registry-packages"}},"0.14.10-beta.3621":{"name":"piral-jest-utils","version":"0.14.10-beta.3621","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.10-beta.3621","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"22ffe0d874323d1e33b25c0d625de03b60cad4db","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.10-beta.3621.tgz","fileCount":45,"integrity":"sha512-Sbv3kWHjONDPZJCuhqZi0H3HdSVf/KbYym7ts+mdgwi20l23XUtRYezjED7JB0ynokvPvP5iHaYhRsFQ4swNPw==","signatures":[{"sig":"MEQCIGHVRAPMCVPp+L2LuKFqTUISi3Jf6DfBytjlxMxgFcaGAiA3RKcS6p9Ytpq6Ry4Dtx/UpvpIbylgCWpLOcD3RcOeMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/W9zCRA9TVsSAnZWagAAXpwP/1EOK5SajDWQlUByUyW5\nuiF6xGDwn2J48ePZtZ3ndXO1EdeDZJah92J31IWuKD2Oq1fFmlcsE2LnyCOI\njMZ2n2tjwdIwxZsPNwwd+JWlNT3TALuXlUCpObQtm8ZQp6CydYk56uQry2JN\n81vfpueoeUXgWmheDrx18hVNnRuLeaELdtqON3i8/f7LrBBrHJ/57j5hvDcA\nI9ZKucf0hhx1PIlEecGw3z74kYpiI0PchdWSRzQ5+ld1NdKotc/ReE6T1Vzj\nQbC0UYlFPbCeRNecbZY/2FIdLWbe5OpjJupth5Gme0JjH0nki+/9os4w1uuz\nqfL7Oqx3f9CzblFiiCgirmRUzcgVBXjTc3zlf5V2ugma5zp9Sqtzl3ZHnR2r\nTyZk5zQY5owgfJ0eGOMAnEPmvpj/T2CwYz5WygCmsM+qBs4nlPCIvvG2Ly6f\nx1StMHFx6YYvgpGyHH/kQAhAqLO6LW+Suc/UMLPjxc1fhkFIMeJMPKxdC/+V\nkXQ8+bQm4X25dV5y35J40MBYIowK7sHXXZydecbUsPAqoG0Q9N6yaZMLPrBd\nrmulFLJs9asC+zkY7g3hmy/Q+cxmBBTEh6qfmls5gocMYvxYQGAiqC0gpOWn\nCigiIw6qAKSMpnc4b3dQvDU2L9KBT40K4Cli1qevwLVquP3Aoa2MwAxZqnCa\nl07t\r\n=8wTG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"161b6a945b0044bf356475aea053f436c0cfb89c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.10-beta.3621","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.10-beta.3621_1643999091574_0.27492322182954143","host":"s3://npm-registry-packages"}},"0.14.10":{"name":"piral-jest-utils","version":"0.14.10","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.10","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f5a56cbec2737747662295059683a7201baac615","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.10.tgz","fileCount":45,"integrity":"sha512-Tc9IyuTvtQhP1zK7xe3/KP6WiVshxANSIrcX/Ul849gn67wbuIiA3Grl8YvKtRfjEe6kDsEMabuFW0XyTpeQ+w==","signatures":[{"sig":"MEYCIQCT8DJEhLkD2rdkzhz7luNUDe/O8VHdtiTfUr4vF1qU0gIhANAmIDBSBaFggYBdA9mg/hF9kcDnKFS698Y3wDz4i732","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/Z7xCRA9TVsSAnZWagAAJxoP/2zOAd+OrGvwCxzbuMU4\nmPBR30MJcEDx4LpJrwgxG6z8LS7JvSICG+X2ezlqO2mYvPUc+FOOhJDcLlz7\nJrMgZCjem/b53TQifTWnUPNWGIBDM2FDG1ygq6bNzx9l6eEellEJqIrouKm4\n96c9rZZQlsMVoPAQKDoT1t49RkEa9Ld2nFQ44bVTXu5No4qtlDd2ECYlEZyj\nxfpTtIgJJ7nX3bSJmUkz5cLzK0vJcdDPTCKTLPix5KnHktX9dG/BIIPsRdtj\nQJ4pqqx5+H8uMY6S3zZsQlAPXDYVJVXboWKCy/lU5rztB4WHbe+0CF8J9+uj\nVM0QA7IZC14ko7I0eWzrWGiT7hioV29LdER4d1+boWZVv4HNSXlLpjhHBLOP\nvJk7BG9zPUYXlOBik3aDtl+0Kh4t5gX76Wud2lEDpYSnZGNBdh7Fu8NpGL/o\nYZl4zdE5oWvDZ6/OeoToODaRdjkAmSydz8kAUmTPa1kfjD6KRONLA+GajL3V\napAIuS6IMc4saNjFWmBNCVxXIj3ltnJskdBcQyuSl06nXNlGPe8XCRbJApNC\nbCu+evzdNMOKhJWbs8hjbt1AxraoZB1K7ucdiKuS+Zp1XWGvxaGOZ5rykkXh\ndV4fHJAS6zkzSrCtiohVYnctvi0dFc3uWuWLFTxCfb08n3heIL73C0kfHS97\niwzw\r\n=GJVm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"6eed3712597b7162bafe5d12b77014333168b7ff","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.10","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.10_1644011248935_0.48763958195627066","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3640":{"name":"piral-jest-utils","version":"0.15.0-alpha.3640","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3640","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"54c6fdb29dfd08075a3ce42999aed87f2314d684","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3640.tgz","fileCount":52,"integrity":"sha512-j1QfRJd/Zm58p2Muv951uEv33Dbaly7XTLVRDf9hGuxfG0n4I2sp7ho6x/ycz8hW+RUs/VZqOtPc7d4FsQLuKA==","signatures":[{"sig":"MEUCIQCdDD5NHRtFj6/NIkCmHSN/xhwPp4GHx6h/jEe1P/P+7gIgaldcFUja7AUESSdCxZNnR9iIbdrS2bhCjA3wnDnfuPc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBE1hCRA9TVsSAnZWagAAzjsQAJZsYyI7BvboOYxy/oJz\nQ1PpIK6LzKqRVy3DssTAcQ7fddhvdT9699a/7mR1AVn5Grr7bZ3bVqTk1FMM\nTguiZLMU4fYY5wDR3mI/S5O78DqnOPvuyK0FKoH/aBsYp26Azwkg4uJWp9wM\nGAWWZdoAZ7E/wQihXqtxnOYQrhPj7tdSYZ+hOxi9+HO6keiJ8lXqx8QB8hZl\n35MsvBmFU6YzbKJxZOx0LwoPe/GivX4xByx5MlTIYMDmVINKpzBxVzBihHmT\nGVaN/96l3gcDbo4YU0hs5S6Ph6Go88griMCQn16At4NIgIjTqj/cmRbCYPLf\nQuBYxuBrD2jily1j4a6+YNlfkRsH8sSs55I4Sqn50yVkpVku9BU/HYy7AiK6\niREbtzQ6+fwLLnkS8hnkf/T9wiSuJIBy9mjn5pSpAdlLa2z7c6rtWICvWjwe\nySYDOpWmF7jmjxp/wuwzg8s9myhDGonxx+Zq8t+GhhE0hbzxlKryvydth/U3\n/sFLILmZrSLgVrED3qXzoN/8zet6RdwcK2pcPR+IT+6zGuW+ykjcB0MivPZL\nEOmcauJYSU4+HEMH0Z4G1hHTLyUn4E/LiZAtqh8P61WbEqAtbA0nSmPUzmBK\nv8dxcXoB29CkXxRQsuw0ueLspgoivuPZOnYTOO8NTCqNUlsBkd4v551MGH3k\nqK/c\r\n=5rW8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"29ee91f865f9ee42229e58a7804cba6ab5e9145b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3640","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3640_1644449121518_0.9578549494567377","host":"s3://npm-registry-packages"}},"0.14.10-beta.3659":{"name":"piral-jest-utils","version":"0.14.10-beta.3659","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.10-beta.3659","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6ffc655ac9360e4d7f80645392289c4ff4da0a4d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.10-beta.3659.tgz","fileCount":45,"integrity":"sha512-wfskRkjx+ZAcRyjWleHKfWO1/UHTzUKL4DRmANdA/cjL4w2BBkbH++2i9NTMGX1ZPTAIZxqd08TvmxeSl3D4gg==","signatures":[{"sig":"MEUCIQDus/AyT//rG86PouVofAMkQlKoXwnCq7NSPiggLAEnpAIgIjtZEaaPGQFslfR60C885Cz0Hc3c84SRoPJ7BBSHAd0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCOGOCRA9TVsSAnZWagAAtVEP/1FEw++JYe5uEy7UDs6W\n4F4WEyZsOo+O5d6UgQeNGXAbwuGPWaKoQiuCEIP+gXeqwnvA32jfeEuk6ZDv\nrbw/JB/Kb8ZNK8bEdvAyNaMj+f0sCl8TBxdOsu1x7xyd3eWYr7bCZiIoSLgk\n9WZK3nGaymMPJRcwu8XBZyITh5oC7QDY9XWjhtT0gttQI/AhOKvLOYuoRJTk\nDFtonVFH/QX3S6mJQbeLwQMeIIsFbOo0OFfwbgXc2S0OziyGkn6MLy0dIwSJ\ns1BRtwbRmtyke/61R91KSw3W1SjvnOXPD/zVqfifRtV/UaHDl42nuUal+GU8\nn4HrE4KlcSKZWuCmY8/SPPkf94qcdulWNZmQc2bInhbSAFskLEl/DF7ygUrL\nMagiBGoSc4aIVoySCExzfRGv6ntRW1zvfbeMB8cxXWxRmlMLYLE3Tjz2dF4o\nnaw4fTHeFW4cyq7QWqGojjLor4bPwq/BUMOKB/8rGHoLLciJ3Vk4UAY4VJ1D\nlnexGbesLCOnqUY1fEz/3Ab4QYzmlMl8CJtOGtNrArviuXAcVnrnL6HD54Ad\nBMz7IolYi2292LwGmvGrz9aN7kzHjQLSarVfNnIlOP0qIJbVTRDcrwc6lnSf\nHO0kMN3xXDz2KblSdyKoM/BGhsu+Ak8p2x0+sS138gBHdxt+jgZMgoshIMtx\n0Cbf\r\n=F9CM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"6ba6fa4e5956746899b81046ee25ab8bb36520e6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.10-beta.3659","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.10-beta.3659_1644749198786_0.8488192121854277","host":"s3://npm-registry-packages"}},"0.14.10-beta.3661":{"name":"piral-jest-utils","version":"0.14.10-beta.3661","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.10-beta.3661","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d01d74c68fd3ec58834b0edc862858dfe01ace85","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.10-beta.3661.tgz","fileCount":45,"integrity":"sha512-hPMvXKrY2LdN5J9YUjiqw4o1zj6VOKcoZKGxgWy66htJ8uhy6T8Dtb0JN2QXF2E54bNpZ8jZfxh5scGfJY5WHA==","signatures":[{"sig":"MEQCIC/9U0rFcDTB3rDTB3dZgGkW4gjpffo40wXHBP6eSvjJAiA3HUiDrUeTH0oQmTfSU7UsFvwNbuUWqYXFvx9tI56Bng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCOTmCRA9TVsSAnZWagAANe4P/3mMB9+Mg2p33vkxSGUp\nTXgDlX3tnZp00jugrxLwTwB+97mZwMX3YwgB2vuB0u4VKai3skkWZFxqf1QZ\nE+wshwu3QBpKsO2ekJLrOQYR2ogWosHZ6zwOr/l/CR8cp9k6ddSiAnS/heQn\ngxILE5VwOa1hQDN02IAZVro6udnZjsWt6LDqbg1s+Wxl1ALWMTXjkHouoSMa\nDCJwejOfRR5ignCRAEKrtpya76nvALIQk+RdbkRSnhVF3Yvk/CESioMVTSwP\nWiffTpAAiu6pfr9ST13Zry1616v0Fvt5G/oGj+iY9lI5MQcheTZg9po+G9tQ\n3slz2WrLirP/7BvurlBLDVuzzNMK5pMEeo1kQKqfJ+q8G90o/FxhdgBEzKxW\nxNqccEJAHF17HqK/BGpQ51aUxs7ks3Ti/fo/GFoQZMHLwasvQtPQqoW4Bg60\nhcNMyQ8QE1CENZ+BJEHNDjlw9vOPE8Nyjh2RsCBGSthuBtfMnUaGia2L38K8\ntVePi9Q7x1ybHOUdlvOvWVl+T8+HHoy2Dlna4iYRyz5sE4K0XdGwjzQrorbd\nqBTdeOBvnuaNB+eeHWP4hy50aitnfiNaEmGoslBTcDB7LH7tSZc/PAKCoyjS\nV4JpzA1zVhA8wh8lngmy79kZSKcfejNBSzxeASD9EBP0RvvT7+KM+tctOhb2\n4RQE\r\n=dNA7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"6ba6fa4e5956746899b81046ee25ab8bb36520e6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.10-beta.3661","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.10-beta.3661_1644750054090_0.8730574606649719","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3662":{"name":"piral-jest-utils","version":"0.15.0-alpha.3662","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3662","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6f5258b867e51aa056e5043056c6b98de33fcec9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3662.tgz","fileCount":52,"integrity":"sha512-yFHNJfLQ81GX/uMZvS+791yvlIg+RCWvqeOogsYnA07tKxanjVcIEzM2o1CXQfUqUvhlsW/33GHFzg8g0qZ+hw==","signatures":[{"sig":"MEUCIQD6oMinCMCAZC+k1QWGkMEbIOTuTZXz6hi6NqoPuOfAXgIgAjhxgk2YzQazk920ORpzcfQ6YhBT7EW1VfjkM5Hk+0o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiCOqRCRA9TVsSAnZWagAA0BwP/1bUgG1XG4ELo9/3RtSU\nB1WD1qBV4WhNSY5/qs+8yfEktN4U+KTfOwc6VsobMyrxU49ckkboAFbR+ycR\nfMxOSHUJBzlefZgUrj5oTDSz7gKs/OU2o+qIa7Syv+xm/0Xw1710YPkub/mv\nRtbsecHE7ccnOcuaZCnSQZdaq7InKOVGmEPkA+zNaeIy959W3wWr1IHA0WbZ\nkVXAgVZ+4jxtY55Nhu8ny/wT99duegBE+yxPOCNmGnNofz56QFCTQRkMo8QR\n9wEK6i9l940fTcoNoDtUPyAxgX7ZHj7KmwosBZ2QjhlzUcUwXOZI0bF7UVwI\npnfDuknH8gHD0bOYEaQ/7PuJe8jwbvM9KiYI7lBwkXfNXSxHaCd//p5DKUad\n2UKYXq+X2p2ojkVr9BQAMuGudiva5GEDNrZZs6zBPoKRSg9Rwy0E9MQmkC3R\n/j/+UOJpNch8jeEWoJjY7MY5indPXB17OXoXp60hzhup4pziPjcjaxpI6//L\nAsuepBJALMvbKxl2IhkLAhRsWZXzQ6nrDyum5NovFLEgoKM1j/ty+6VmUOh6\ntQxtYJUUjqlkoOJvXb8sCkUg/nL0/7SEOAsXhAlPo3lggOG2UWuft8j0Ft23\nwzCzttmCzvjpmB5Me8OHNc/JCkVfrRrBryNgnxtblQMai19tfvsRG/bKdgOc\nQl7R\r\n=cWtP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b7ec6c01e99557f270b2558a7cb23bec8e6ce0da","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3662","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3662_1644751505581_0.4576050306636612","host":"s3://npm-registry-packages"}},"0.14.11-beta.3674":{"name":"piral-jest-utils","version":"0.14.11-beta.3674","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.11-beta.3674","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ee754c73bf5d5aa97b803256c677ccae06990bb2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.11-beta.3674.tgz","fileCount":45,"integrity":"sha512-NuU2pBYj1IxMOhhI2nkL8Ib9bDqCgGYU78hJVYp9k2qEzJH9cT8frsxEveQ6ZPEd7pFgSM04ESzEWtbvbSO3Ew==","signatures":[{"sig":"MEUCIQCWS+nOeXzgfT2AmDYD2+11l+hFIN7CiH0Pw0F1lgzZqAIgEb5suz2i59NrDI+7b2zmwPBtBQfXsi918yMh2ahGPxc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDjB+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpobg//SgiB5wGscvbLTdBy7DvUTllnn8Ieb0bRadJ+uHEusVbRxsNE\r\nInWzfODEk5pRUrRjw8xBrulU3yHuVyuCFmhrPcwFiF5CEsMFcUjfGtJ4w+G7\r\nOp+m60iC/78VAPbTP1aE65pZRj9IL4VKj3CG2iTtSTmqnBJYNmzychT1K3bT\r\nDazqPFI5/wZ2v9jG1MM2TQ4pusGq4b4zCfNx47d13TDEbmjdZtDADp6EkNp5\r\nGQxoSPDwyDKdTL/776XMyYHk8p3Z1S8lTESjIB/unjnII8aRjZrYZ0GQqlOY\r\nepc46PhCRlVlpW2I/TX8B7tzMV2zJhwG2RcTYQNK0qUxTY3sPBvfUcZdejIa\r\nti+ZokRDT8LI7fs/vwwPvB1b1R2VlStW1yzbFSf3OCubiK15jHgzTQu+V/XW\r\nFjLNvvjZjAaybj3pNCjEdYnLlPlctAacXUbXqInmy/NCn9dhl9FTXWfBu6/P\r\nt84Q117zngM5SzlyXQPRkAKwaVh7NFLqwjiXkQofEjLyCgFbjddUPJ4R7lXW\r\nUgU6Tafw9AmzBB5V+/uKQKTLURuEAlGanMM5AwtshBIoiENQ+XSX+ed6LEfL\r\nTpAxSFgW5pl8mMv1dxLkGiQ0pEkLXL7Ojgm0gFOxBQ2ItcKYn27d8bbuz9M6\r\njTL1QakonryPma3ETHz7Z92tkEU5GcXXdgo=\r\n=ZmbE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a33a388c8532a2a762bfbad62c5b5837cef7caff","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.11-beta.3674","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.11-beta.3674_1645097086448_0.47101350557749133","host":"s3://npm-registry-packages"}},"0.14.11-beta.3680":{"name":"piral-jest-utils","version":"0.14.11-beta.3680","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.11-beta.3680","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5c503a37b9d030133c687566a2e9f5697ccf890b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.11-beta.3680.tgz","fileCount":45,"integrity":"sha512-PgJPeDAQukW0H/YuECMbhAMC5QILROZTYd3tnpIPw+SK3kv07UQQXE+7Rl4Cot3UgwhKgKga/mZuM2GjwQp6eA==","signatures":[{"sig":"MEYCIQCmUlNM2gzgl1RkUvcPW7nKOeE3WTTOXf2oVJMFXOFaGAIhAMXcpi9t+KXZeIc2FP8L8YkcISKU/Z4TWdY1Q3bzRUKL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDlDjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZuBAAiSijZYjP9mCYGmzhEvAb3vFtqxvF+o85m6YEApjGsArtfxui\r\npHFKd5VfZv6NEP7ay7til0g+rqLcRYNBeML+JLt88U3tBSGPue0IKn2IkBJC\r\nAgNJdCj1yxrqfWpQbtVsEMGOF+hRx5DviPpa6Z1MLQNj7qoBIKpnuci2KF0J\r\nYhX0LjR6Gp8JCtbZpVOpa2gtRnCY4/aHFr6fbzKV5lMArq7iHbSvGnuC5Ahk\r\nhyr0evLCkt5UZ5Qpav5JckjhX9kF/PBpfamIBGKvZyfHyskYOvpYlMW2fowt\r\n40XspKOfp+TwDBQvlIoli8jO0mF2ea2PZXviMy84671SIJvy3Jm7VE+zUg+F\r\nfPvguOLqgJAl9vCW2ynH0bnuYbCjQsmCfRdYAhYaFruZtnIbH7ATm7NSaNXS\r\nIxqrWCjaac5DPQN7Psef6LElks6QeLfzXZBWlQJS75EI4RKS0Q9QgOukYPFx\r\n+Dsn86lLibgPceV2EiFi0QCaNBORZ+SG/xjiochrO1JhdyNSFdBx+0Q6UsQB\r\ngrlXz3qEmJDb4O7DNHmdspEjsnHtpfC4nxDjk/NbyMcP8hJWFtc77wmJ1NyG\r\nSLdXk+wYCIt3WJQf6mg1iYZTGdlvY6pKKW2yAryEb/QZbTPNHELWYLyZIIN0\r\nt4rixribLkGUegFnb4+L2UP6zU9E9U1mgB4=\r\n=RGGd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ee49adb6e617ced5f0d64a996c9f92a897451687","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.11-beta.3680","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.11-beta.3680_1645105379209_0.36335144153884924","host":"s3://npm-registry-packages"}},"0.14.11-beta.3683":{"name":"piral-jest-utils","version":"0.14.11-beta.3683","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.11-beta.3683","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d414eb19683f966a207d07b7f9dee10bb6282197","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.11-beta.3683.tgz","fileCount":45,"integrity":"sha512-7gFV/gm577jsc5lAsZ0yIfUTTHJhMsxmxoi28xk9oKu3aaXFI+JVa6TkM38M0lMkVUoQi47+api6FwDP+xygJA==","signatures":[{"sig":"MEUCIB4b7IktxDQ6vCW3Qs8zNvHwfL0G/XQggonIZ0wbnbf5AiEAx/3+Yg6Z2mX9NVBGxZCb59sI1AoteQaLALhidMiDOQI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDmWIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmraUQ//fbrZFneiJTIl/bBsPjy7PezNc3Dzc2yX42uRmSfPrtW40xMj\r\nV1xSbF50dKT+HEziByde7MScxSZYShiuGgYQD8JVl2CYnZSMm3xAQqnsnJam\r\nAvE4MV75Hwj2CcL2aBIGGoIhJ9/gdbV4nQmXlhLELNKmyZ20BWCXytErLGua\r\n5keF0aSLv45Uuq3WYA/drSYL37QSMQGVY8VRZpkIpbzze4BD3rorF1uidF4T\r\nCrl0g1Ayhrio0duxRXZMdKo79XEW5sxA6/tMuNhs7p9M6e5OqGwUBMh4GPRM\r\nQ6wKSNGSwlqvrKGyuWwGBRn+2B9JD15QQr+sQLW/EGnyvITjn/rTPy7rXSSY\r\nR7agVKvPRmVv3QmX9CSEXbS//Ty6likJ40nQPyVYQW4wW1Kvl9zbvWpWBz2h\r\nVtpuK9TkWs9j2rH9xGcnVZB98n3gqwbsfVUzH28KXcMm3Pz3LyIRzK6iCtTa\r\nl4l96AbM0m8B/hjqiBhXOHz8h70MxURx9LHnGUSQYFPpxaqgMwtOplQaaBD8\r\nFHPuF/MftNbfvYOivET+nPldBM1EQAcUMANY9SdZ6cZeO0Wz+dFlbeULKJpL\r\nxi7mHD5cQdFXC2kCcfz77LjN8jWYLGqgxsuFH8Uf/0b4RLcfPBr6hDfnOkDR\r\n8anUzqB+FaVx77uAthRkkmmdCUsOnBU4jVg=\r\n=4Nqe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"175022bc5b565d8aa303a412bd72d75302a53223","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.11-beta.3683","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.11-beta.3683_1645110664407_0.6875874015339798","host":"s3://npm-registry-packages"}},"0.14.11-beta.3686":{"name":"piral-jest-utils","version":"0.14.11-beta.3686","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.11-beta.3686","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"850d3585e5b9ae6a86cc8eeebf6eb8493738e626","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.11-beta.3686.tgz","fileCount":45,"integrity":"sha512-8stK5byz7wKaHBr58/IKEXL+8IORMzGauq6BzHzZSvF/jH714f8eTzS9BQI/3hwW8OYbOuQwORrd+ey1Ih24oA==","signatures":[{"sig":"MEYCIQCPVErRS/t4qXtLMN2YhAcSVgS748SO21kA9T+vlUEcZgIhANCMY9spJKOC32v9r2GRkpwEmRUjLPjeYKyFL8rcVbM0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDmy1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWPQ//demOluBr1a14Fozl0/ILbNJwtKMqPLXCbgNel4LH0IMl+JRW\r\ncQ2hkNp5+htKvkunERLTU+RVf9toYt+Yw/N9So6rVbKnQ2/mY9nW6Z/VNq5Y\r\nXm1/S5N/FNeCzDfC7qQc6pVeJUqM7eoH6IpbTlUMz6cIrGiSH+6nN4EEsnrt\r\nJvTzxfBjmG2xd3llsDokd79lqEGcICQKLM/kFrKQEu+pu5v4CUW2Ntpfp1iY\r\nmjIycAppJaXtXfL8Hm1DR+l1hXstvFW9+z6XNjh/fqSXhvOY5NX3rT8oKzc2\r\nq/OO1uLgrAb0hU43vnbeY0C43Bk927hZYdMvkVRfNSS1n2ejnYixFZ0xaj9O\r\n8gEQseP3mqLoPpqcfLZfVOo/apqEk06y1Q0ibmM3j0dNN0oVRoptTDdGcjc0\r\n9SreJKnlwwFZ85jhaKXfIQG7kxQvlxDrDBPgTi1uLEeWcMEz3HHfrh6xwcRQ\r\njD3k4bJcXEdSaS7nz0isievldH4cP1CGQP8QwzGVSCsVILf+Fe0TKBd4HRSG\r\nD5+SvoBabAsagqv12hUmA4Lv9z4cm4749yVJluS17GnCOeiphm/YNovy/UNw\r\nwcT2k/nuxYequSCNTDqwO7Qs8RDfb0Xn0KT7qJrWkmwuw4fQguiM698tAGEp\r\nNOmJ7oH3gGlLFySa+WufXxPx8c+vkFjWPRI=\r\n=dBst\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"175022bc5b565d8aa303a412bd72d75302a53223","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.11-beta.3686","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.11-beta.3686_1645112501156_0.8419144258517695","host":"s3://npm-registry-packages"}},"0.14.11":{"name":"piral-jest-utils","version":"0.14.11","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.11","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bfaeb246b91a5dda3c426db86822ab3866bcf053","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.11.tgz","fileCount":45,"integrity":"sha512-zWqVSyVQMFvHzLTc6uvzOCbTyACwbHIMf5IkpBpYMEOgRQ15F6QFKzZS93O1sK4UCuFNgoOvMcUQDUeP/3sf7A==","signatures":[{"sig":"MEUCIQD41cklfZGP5gEE+tldbWim1I1ynrhxyO5T/A7bRyDWHwIgGl1UFUXRc4kj6+/BPj3CAk84pjkvYV95MHNdVnPmhsA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDnnfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoodQ//c6WeWkHSkTYaXH8F/rSFhwPvUR4NArtouHktJ4cPGfnZ8rHx\r\nFAVLtDJvC17tqM4yMTope4rg/edslhytNwNFiZ+v7+vfs4RZmDNDn+G9/MAy\r\nC67Dupv0zlisdWsfnYslEhsE/H7Ww+ipIB53HMkh1cokVFy7PWDrziFqs0+5\r\nACJRjCwnCjL/q07XPWPYGpkCw4rIc2p/oco4Pkz0cepNsjzLVc4asbSXgMHt\r\nuRVyNbx35pKilbMhgOsIPoA7t8s141Ko/jGUhXxyeBeIiD8e4oMilJGv/MXP\r\nZUZoldYKxzILUAyetuSH+Ih2G0dETfh7NGU3Bc3AWTsC5GzpA4DN2ZGkA9+c\r\nu9JK/SC3Tm7luvwJp2YGQk5rutnN8OYASZN5C/3m803/9HO43wl/2QSTeZqc\r\n1NKkqtYkU6atahxgvJNFsEcjYn5sAug0NHv/YAPZKgCUiEDkOotOrYyeZf8G\r\n0TjmTGDHb/4Ut9uq/HC7+EqpeI2WBmzDvOBRW3k+OZ2gYhNZsPGOBVI9CwO/\r\nluoEf+TS6a6GvKXUzj5dvQKLUvemil9wqa9l1x7fO5sRj5YAV8tDxDGXkiBp\r\n7tsSXpu20AcfaABqAmsSdliZzUL2jwljFf49ThrQlOi4e3OGRfSHyMgA0Tgc\r\nvNh5tfgPVhMpbQKxsTCCA6gGdNEOUVcSQjY=\r\n=5RN8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"487c320b01b51012dfbd1bbb519bae8bb0342042","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.11","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.11_1645115871354_0.612552255422742","host":"s3://npm-registry-packages"}},"0.14.12-beta.3701":{"name":"piral-jest-utils","version":"0.14.12-beta.3701","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.12-beta.3701","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e6841c51c998f0d8ad02cb1a5deb9013d28932ab","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.12-beta.3701.tgz","fileCount":45,"integrity":"sha512-SRxbiatQzBTynWmIM4+8Bo3iRyJ6uLB6bLw+umRriLWkT3jLTVJb9qTMfFNnbX+zS2IKlaUFw0u/oMdtbcXSgQ==","signatures":[{"sig":"MEUCIDwyMc7YGE3CI8MiK4uQejOE4RqDX+PIIEalT/0i+iiWAiEAkPZVu9tHLCYxubKwW+XWeStVmjcrn66pVFetnahqBw4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEnPwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnFQ/9HBWRf3cX66XEFVB635gsZiMCx8wsgrPOQ3GBn4OCeBKi+Wrf\r\n6SZPDccZ0A3rewaUHVV5lvcHIUfoyY6AB8zEgN0hXBzvSGJbKUFeCyyetg+N\r\noSz6xg//HAjF9K5YFYPy8/B7lZe9hDi3zikh/6QKdqeR9+fqhs9lhpiZwUAj\r\nl1RwlguOUfYRZd+yqIowpGO6VNUF/O7BI/e6qhzB55CtSRYQrX8CK+80GR5N\r\n1EtGLF0SbKRMW/zKYjOy/sv4q5BVqICwo32iZsB2sgTTQ0E7ShJDZM/z7vuA\r\n34xq70MIMAUrMHwq5hnwalsp0Oh7uR2vXm2/ckeVEKcGMZFXVvUOnBDIbTDq\r\n1jA/t/3ZsHTFJ5WkqzKug6/qkQQdXYazqWJCfOVCamHhVRREcVCGK2vlVhUK\r\nBIypMag7yp+YchoEp96jou3uyj3fz5OqguPee02xH17+pkhBft1NdEkHFHmR\r\nGCnbWIMjICghit6AQECeeQ+CSXMjjvhHglHQ8DdLp6ibsi6h/NxCMDuTIeBv\r\nXGrtLYFn3VH5mhkJrgZ8ZZh8jfj/iYQl6WFukZqTerBHZt+w3KdMhKmZNmSt\r\nsSapbWYFlwdnJre9xt8pSnJ4f/8HhTRRd7OSvg/gVziMz91JNEyiehQ8tWyN\r\nFZEpWQwFYx6tH9r88V7ejc8MD03WeLDi60Y=\r\n=E4r7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a8fae0f967b40858bb9467972e17f9a8d3bc0572","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.12-beta.3701","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.12-beta.3701_1645376495672_0.7186651483322142","host":"s3://npm-registry-packages"}},"0.14.12-beta.3703":{"name":"piral-jest-utils","version":"0.14.12-beta.3703","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.12-beta.3703","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e6cf4883ec6e26cb4a95c962314c5d141c29f86a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.12-beta.3703.tgz","fileCount":45,"integrity":"sha512-+klu1RYDXcRAU5V8GhTnSNi8FtJ2dhYKfgdiHY9AE6JCNa1XlaGvCbWYfoUN4k4/l7FBnbCVB3f16Sw/E2hsSw==","signatures":[{"sig":"MEQCIAm+8bNDAA2gos6iULUbS8FVB5pnGrTgQOBREGe1rVt6AiAoonWeuQ0aUE3UU2w9tETwwDQJcxm4Q7ZE82LhjxhWgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEpi4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr50Q/+IR51ey85gEiLSvlJDzHa4f/GkVriJBfalrti09V6v+8lyz6G\r\n27hlNB9vZujpBmjZm3/96jPYQ8TwLB/f4ND1oEivpqmoTMBkfxHG2YFySRL3\r\nlZrx/Np9OD+EEwxR9D8Cnc2IDAnv5HrRzICryigsNAAoIECrvRD0+YRsVS+V\r\n/uV5y3dYkqb5WDIx8FFyYNBq+r+2FrgcekY5CXM6oocB/lru8rLoeFYTRRN5\r\nVH9rxY4t80vI7gb7J/foE3ymgPNu9YeLCmcjYx4+gV2SWU7Lo5KrKMHOsXOH\r\nvZWU5aXwaSAc57GyRIffR1n85y/TGet4m/oFRTjFTlW8E5YhqzzF2C6Ji0Gi\r\nR1EjNcyhm9SupVsXHKZHahw6Mujs3p5D4ypfXQ7PGE6bnq4T0VUDJ3wnb87q\r\nJ+mtRAwKXBIOEPKllkCOAyaoeX24Edb0cZcx06HVFg03qYHH6CvO1MyxZxhw\r\nW41chphIviUg4x4Mq8OK29gi16O8qbZ7byIXyvBzpIYEDGe1M63EHznQpzZZ\r\nlJ9Y0/wxZoxPFzAynjt8CJZ/YLjxiVal9qB0u1B9kN0dk8Rc3Z0Skd4xrBtE\r\n9hoyS1Da7R6yYGlgJxo95y/LxNrWxAC+vuVTVxO/V1JDT603qFmayKK5kb0P\r\njezKCZ1s9VXESCwykINt4howgf659EYALSw=\r\n=rfWK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e834256214e1558a021e7ea26e29eac864614c90","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.12-beta.3703","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.12-beta.3703_1645385912514_0.24653563834936532","host":"s3://npm-registry-packages"}},"0.14.12-beta.3704":{"name":"piral-jest-utils","version":"0.14.12-beta.3704","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.12-beta.3704","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"dc823794508c9aaa120d95c8472c74bf3a698add","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.12-beta.3704.tgz","fileCount":45,"integrity":"sha512-zOGao/97VGE3AhOjHU74pZhRweqkM8ppnKKSwvkQa+vtYJuNS9+2B5DOpD4+lzE6Kzvt5BPusosbqroCWPIfhg==","signatures":[{"sig":"MEUCIQCQbD6c0N81opPd/YchSK3GzoUwZOhCmKuOyc2oL48NdAIgN4Jj+woTQCGTFLZSPy2o51U8YtKw8WzL36jynPDiPNE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiEswfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDjxAAg89WzOuL7ItNv1Lb8RRDcvvmR6iv+e+uSY9sK7VfxU3N20Xy\r\nBNg6A+f718cKnwonHUoM2LdNtxk/byuZS7kHP/a0i5GRaz8rLlonIuFzB5ih\r\nR2XQkQXsRmuwEmcD9azaGjgxPLbNrvaYfmDbH2+jGD3nF4XJ3Jz+yeqguq8L\r\n1ZNW+A9gOw9jRt5V6EcSDClZA9SSu1tRO6ROVUlG4lfL3CTorFilmnNxMT6F\r\n6bCOGIjIPNnw7NvjQdcMyc/qZdskEq2z/jE1jJ9grOA+YpsRzKKp444SCa25\r\n4fhYctxu3VClvmbcCqxFZ7Znm0J6JvtejUxPQZplUhlnJsyf2gjsn5VklSEs\r\nsMTtSq/5gUnio0zruidqkrOSI7/EfK8t7Tdw5HZ9NkM/nQFVgqmkgiuz4/Cu\r\n//ZJBtHU9UES9QKF8dsJsBZiYVOKx17b84AYlIwqkCB0eDHVeuJe5U0/3w8S\r\npGTYbLl4h9VDGLXfVUDCForEj1eqKZMZFyvyjNn0STTJ3E05gXAPk5BMUora\r\nNoaqLCVc8C32e0MewN9e91nzLO/WwOY0O7Ma67y/Tf9uvtFCBlOOU4F9QCWx\r\n661ZzBb24k0nW60PUgt6Nh7QjxG7y7WKYQOcVSf2fiYKShqJ4UnKOyGUqmFm\r\nVyE5w3cY5gTLLY9X/TwQZyjeWi3MXVxbVTE=\r\n=04tY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"9cef97e9f611750aabb1165a833346a621580d37","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.12-beta.3704","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.12-beta.3704_1645399071420_0.21259971458028137","host":"s3://npm-registry-packages"}},"0.14.12":{"name":"piral-jest-utils","version":"0.14.12","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.12","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c75f78f7b3f583402d54c7f4acd727a889a43f0a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.12.tgz","fileCount":45,"integrity":"sha512-tHyIWJtuaTYAzZN1VUdfecUI8fz7AwaHsJsiIeCAUayXoeVdF98/Cj9KysHO9KgqPu1kDQIbhGrim1Eef04g2g==","signatures":[{"sig":"MEQCIG8dGmfguLHgVdV2v8+DpZBtC04LfDzZNkHDANGUkAZAAiAYs7sVCzCVhvHO/ZjGOuzlifauLgbwpSVp/0EAlUwH/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE2WiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmro9w/6Ai9IuCnOJVsCaleij91SsRx3Lcokf1R9DCrNQAvI1J45VHVg\r\n+7aQI2Ayq25TpoMHG4FfupNkxge9izvNmeMD/jxlhy7aLmNNjvrJA3F4uxBQ\r\nwU7PiGrvlUxg/dG73Ms4NA4RK8WvW92MspMspN3HUbozhe/6M3H8Bnr2/bLM\r\nEmeH1mHC50JJZkI/AEgXthyZ9plwdzkmOvyypMCLRx1AOY/DMeixdoLKHXzu\r\n2qfGKluok1quPwVNYyY/THZZfP5BIxH6OhlDMw17MdHg0bDXFYrQSvwAD3eS\r\nyWUdl61cVoZJ1oREvYdPM/Ur6GDRflm6TkFruu6yOy1605t9ZcrppbGsjYiS\r\nS33T72YRdrjFUxib3Qyrgo6IC1gO3vAtFRpr21WoNyVH4i055zmYxp78jSZr\r\nM+erkm3NkWfZxqO8sjXm0rKjOtY1xdBiwlCIFJge9xVo9xe4eVPn1v4zXUho\r\nyhkISAPEN2jZl9qSucLfhLZuT3ZQXiEfNJ3eP/oYc8dsNwY1//tkEuQWZuZN\r\n5AG9M8vQph+cHcs186hscv3viczv449ikfWaZORGlZf4JQ2MBDLLM69cRwL8\r\n1WL5gBhRHU+6+VVm61VtqJNghVTeS/7/zFBpqELvbFirmh/xDArkxaxAYL9o\r\nhwf0WOlIe9dSDOX9I0Xli+EFICqaWh6aLYM=\r\n=kaMd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"a75b9e31d077eeb9e998b26b32bf331faecfaf19","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.12","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.12_1645438370624_0.3756832486211177","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3711":{"name":"piral-jest-utils","version":"0.15.0-alpha.3711","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3711","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4db7452d839745b656c8d6e10f9b701b64ab6b24","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3711.tgz","fileCount":52,"integrity":"sha512-JPUwId4SFYmXCj33UY1JNCWYWckcJUD7MSsq+2AaAtZ8DvyophsPcyAGJIRSLJmxXwensLeZsQd8+G7RDn9yLg==","signatures":[{"sig":"MEQCIAzGPevUN4lKADNihcnRa7EysRp5J57boZ/mN1K/fF6OAiB+/DWxF35HzAWOTyzH2Tqoi6STsfeV5uqieY1ienqW5A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFASrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpV9BAAhJymAQxqqDZFSCsSycsvC84kwmkYlleCI4utr0rAqZrORG27\r\nT930rdXRYbBIPiUFlLMrbjLSuCXJLuv+1cGMsNZwE27hy1bTxxxZv6Kme3cW\r\nPfS4VUaBnEbyxD8seHIobRnIekpwbfyYUuaejqx5Bb6iyxAd3IVHNNp/o//A\r\nuCU54FQpFiuk6YhTRLjYk7TAgtXGAy6SUglC6y/5ysqPvXdvFu7OgqSLftgX\r\nuvU+p//Eyrd/0vSK2R/XYxUTxjH+Zv8OgBKvmCWwVStZ/yIfepqG/qjDDdw4\r\nChwYXGWR9xaztSJMioBzjJXfJNXUCMwDszt753KtjHeLQh1mzKo+fWrRsmKK\r\nHL5Gi3OHifNk6HJ0+ezhsfdYdSZKHxDGl6sNOIvPyy5skm+DjjOQTBYq4toP\r\nhsyi+bonXhJueUORjHprqP6wKgc9SlEgqly25TgK8HuRA09A1zGZ0NEl4Tdj\r\n/H8x4wYy0nIdx7s7BoY0pLmkik0Ro/wpW6wxKNMOfnmPuPVD8DRuFt1Uptko\r\nwuBAQmxMj89jCtT2COS1AifgroBDV3G0Rv2GvjMt+ZSF9sT2bA+lxB8evJuO\r\ngvqnPTpF36ii4tm6XFM0dOF1JCLigBGKSyIeJr0GHaEa7PqTi42TDAiVv1v5\r\n6sFgJVOv0e+AKofzb+lbkv6larg9+47AyBQ=\r\n=pRCz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"2ef676e46e2fb402edeceeb3b4f1a1aa04c99970","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3711","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3711_1645479083042_0.30261584383200013","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3719":{"name":"piral-jest-utils","version":"0.15.0-alpha.3719","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3719","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"21c73b1dcfad386b531acf5f39fad40073fe28b0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3719.tgz","fileCount":52,"integrity":"sha512-U8DZFF4zVE+KyvQjSufPAA+lOfEgXsYyb/fbHBpFWQteO+0Rt94cFW8zew5SHrvwSneE5pYR4KS6uBT6VWvzRw==","signatures":[{"sig":"MEQCIHbNjaU8Ze1oaiz19UNQ9lfcHzOo2svxhxY2dNsWUE1QAiAIxXKOF1hHxCnVpyFx1lSvBrpe0bkkjfnYsbHMRP4e6A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFf2DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqGA/+Ich4nX7TCSJdGHoMMOXs11h2HjqAl5KN0yRxuanzn5MKEo8t\r\ncDf7SyE0BDJON1/9v+qeYzP8EPq5KDROTemwqSshZ7Vl51RwSM95EW4Cyrlb\r\n9sJJjXpLzzZgl8ctgDrhUgkzfpwZ5X0OYNfzjHfmr1L/n/6OuGhuEEB7BzL7\r\nUyRfM8qB0r05r5UKFrxEZpI23psYsgfXjniGVezZcgOftCOvlq/EYLPUBiJv\r\nKmlTAP3TqudS0RFBZdNQCDojiyCMntgPG5KmY3Vq4wvLqGND6IXjGOFhN6Td\r\nPM6OeWZebTvxrHwjtKOkNRfUBI+A5bl72+BOrvoVa0tUSe3UxAoLN4gS393p\r\n4j0wcVyt+rNigpgkLHp4cj4vpXtBqGJz6klHoOxezwbNO+Z+zJM1+gJK6t1l\r\nWWUWSPGOLU0hOfCOzqIks73XwAbUcDKWNG4qP+jI01RJx4bX052deD8k0/gr\r\nJ5axYrtD9UbQNgAo//utv9ZmD12koJXVrgxtyij5aTC5cRt4Tft4b2ABqVtx\r\nkpj0LYEdrKrIciD5XmgfwXxcE6UZKUYTtOCwFJOGEoMv5d8yQLQYPJP2ujXu\r\nHnyw47SrqTP7xTl4CUw/l20P77/It6dk3MH2GFrxG+Hwt4KD51/uv+M/LJ2Q\r\nbuLGi2aM2Fai7T0xMDpTiMWnXonuSp8IJag=\r\n=nsfR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f40561b82bfc877ef475493779c4378ed67ebaa2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3719","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3719_1645608323666_0.013640270997894222","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3724":{"name":"piral-jest-utils","version":"0.15.0-alpha.3724","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3724","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a4bfd6ee3ed8aa19043775e98465bdc4109b644b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3724.tgz","fileCount":52,"integrity":"sha512-hL0ZWcMfiyJe6erza1u9+pj1cCd2IrrL6EmRzPLmHyqUG+dcyqE8BhGnA8zABLStYkCk82yeyzb5WEJLh+3N/Q==","signatures":[{"sig":"MEUCIG1SoZfckiziZtTPo3nq9TXMKH6Hmsp4uUtNwyhT/Dk1AiEAgMFbGG5sFHkyJtilU+5bLgWbiWT3dqoW1xoW+Pt9vgg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFlpuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnFBAAg1pw5IWDaRj1lNNTZUolT63lw6hGlV/7COfblBIYtNd0djVj\r\ne9zod5F8nJ8hroAU+pIgpKfbE0lf7MaS5+hMJnp0Imb1uMZYspUF6WoDxpyz\r\neZPCQDKqOKN+YcMgx/TP8F4dwHmRhQrUwEIaNCeQE+cd7NuSp5P30Ia2NaAu\r\nMKqFFYwUOB37huA5TrMW0vdH/16Ptk+tWPNiZ+NZRV64hXmm8a99rQGI4uxr\r\nYZabUlQxsgqY+V88ijHzuEMDOic2ulS1GDa0/vex/Qsghs0pP8naNylD6Cu4\r\nN0iwHETaxGpuCVHghtdz6XTJCt8PbfTYYgbcwl3rYgYlWOX4ftN+/FXqWbqg\r\nbu6I1TKIPcJUiayLdTKuc9jkrS244Osr0B98w5b2UZeT4LLW1WTca4kYimOt\r\nshGVqaIeNrwbqKMyNcvZJoeQIQUOXLEeZChOGRRAOVjnOaPyElzWcr5LrmOn\r\nGzCz1tQP/njfUNcjOFlanhWTOZAzi1xdRY4d/zy25KuiVCy7JaGABO8N29Zk\r\nxRBadXWW9XTVFrk06ssOV81ugk3tPK9mERERT11UL6Fi/HqK3SRTw6MbhYza\r\nmKtlR3ehOpNig0ZIq0pXNr/uxj/VFvfGc8fpputVbnCxB/nrl40xoM+TkLgj\r\nYlbcIeWRh3iknrcFrufXlfg1bec4HyYrWGc=\r\n=+ZmP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"5e2da2254e6d06b72094cb172293b65fd83075ea","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3724","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3724_1645632110083_0.7551503069901921","host":"s3://npm-registry-packages"}},"0.14.13-beta.3733":{"name":"piral-jest-utils","version":"0.14.13-beta.3733","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.13-beta.3733","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c28e5428d618c588ca84fe40d085fd79a8b9977d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.13-beta.3733.tgz","fileCount":45,"integrity":"sha512-/dbxJY6NxsPFa9S4j7kfqQEoAGXD+fXpBL98QrW52xo/08wB2iObzzm6dbyKzS6FoN3MaUlByR0KOCukFNLORg==","signatures":[{"sig":"MEUCIDxxg7x7H0ITXG8HcHABXPF/hFE7finvWYSWQuUVtxKpAiEAg4b5/HMN3JBO/iknFgRmghDRhJp8QFAnFhg0jPCjtaM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGkktACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmos0Q//dDKPr4AOMfxIoamzrjs9lR7SIO/woe2maPCPJDytJMXdObHy\r\n9kvxCNqkUp0r89xAsFeA7f4DqBthpKYMcW3eePRzFii2xi6DSEXKMXflXbb4\r\nl+tj7HBh4E87ggMzSP0z47BOKLhX8zzUe3tAlf+W1xd3uuCBfDhR/ENnKPPz\r\nFfeNvoKzFrvcU/cJIToCp9M6OyrrdQ4hjOFWGIMyrzJ+6fevaeFyjzpKYorc\r\nF4SvtCm4VfoWY8PaHgiosKeCauNi8yEKit+aR1rPFllWHvvb7qzTqlkVfjxb\r\nIhxZwmtK3oGhZyyCahvNOm1coeUfkiA809ekcruIFklOjm37YvnZxkzc1+qI\r\nzdhe7Ja5uqVp6ObL0R3DRMhTzD3rU44JFSj/zdCyl0I/BVSZwt049hQKrYrd\r\nPmZZAdA6ylI3Cf000eXgQzzJArChZ4LtPcZm5mrez+yHtvtRW+pxyP9c2Iw4\r\nzQdstWLucz3uVe8ngjuHldDfFxkuqVtqTleuzsUYNuM+dfG8VDAtLhHnImll\r\nj1ZaLyGR9ZDCEomhk6qvUAW6ZUzhv3Vq7zXD2kQFWq8g9Vnwcq9pYv5shCEi\r\n54cV2InFYMPJTBxXY7A65+JJxKntXedXuC4eEjH/XtqCN4UEyThlZGXfFaz9\r\nXcv22cZLiTHFQYPnEXE4iJ/vkYEe7w4rOgM=\r\n=x/hZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a2d6fc488718841ca6c0069d84fda6c37768928f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.13-beta.3733","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.13-beta.3733_1645889837760_0.4015778187067005","host":"s3://npm-registry-packages"}},"0.14.13-beta.3734":{"name":"piral-jest-utils","version":"0.14.13-beta.3734","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.13-beta.3734","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"501e833110b873060e41cfec33556b13e06cb57e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.13-beta.3734.tgz","fileCount":45,"integrity":"sha512-Kk5KUrBnDMzgUFLzpJwV5Nl7OjYYpTNl/V09hVVljY6QARp5cnBoB9N2rxxgSitfAPXi7y+nnmx0go9+3Vi11A==","signatures":[{"sig":"MEQCIHer/qgTFMlCIp+4+PzaJmpg8A1mGeI6bhuy/xPKCBhZAiACyfHHKBNXONHVwhIL7d5vM46f8MOmlDJOg8rDFwZ1Og==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGrNfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQiw/7BAZgkmBm8eMPKyhiRO5DwMnLzUCWVnIUTxusZatEg1Effkno\r\nLY+TANRxuBcZKYPaoxUVI5J3uV6QLF1xjofunWnxyfEwNQpV8sG/VR7EGWcZ\r\nfY4ecmNoaKxDapHJFg9n3zpZhJX88MjmUjLehAoT4beJMuDCHZ41LTz/ZrAc\r\nvy87aZyEnbQXFMVPbuESczXczgdYI9pS9jCegtuVtixiu4ypa5TzeXjVlDBO\r\naCx0QisqQBgqKeA3f5JqktdPCqzoMJjGbOcYWcfBnETtWswVsxnwXBf7aKC9\r\nxni9RGhTWBeykROL9Q4+PnypPaYZ05CWC3+5/5+U0zcfH9ysN221L7riUd8F\r\nmLsSvWy1xd/ve3bHUWVUvRJXbmYKba2Iq2b31UhIVINJnKCx6wnSCvuOK3Bw\r\n2Z3rCevkc7qLdXdPcO0aerbrNCWP275LSYe5dd0e2GKBxpKW/hKWHzvO3B4J\r\nUyo29yFgpUSdDmldntNsJnq19s6TqOKEvUkqr0Lfj591X2uD0wLCa33SiZPz\r\njFXt8CMAQPPj5ey+aZWNeUD9UCoI6y7BU/2Xs9NooAUP0fjDBcUe9HWsgVCV\r\nGDGG/sHGlN05k2vny79fOIErnrAmdrXajW+I67BMQVTp3el6EdjOgW2853wu\r\niBOoXXUoQtlAohmSu773B1E7qprJuO0VjIs=\r\n=SqlU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"4dd8b55919791bcda74969e3de6c0ad04ac26e14","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.13-beta.3734","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.13-beta.3734_1645917022857_0.6855329850690468","host":"s3://npm-registry-packages"}},"0.14.13":{"name":"piral-jest-utils","version":"0.14.13","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.13","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"20cedcbaa4beef5b187d1c62d0b208c08c400f2f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.13.tgz","fileCount":45,"integrity":"sha512-WBwLmkOqOTULlV57bUejhWKgBiHasyUMOGyfNYXAek8c9NIkN528WT2jGlxxGLFoR4l+ef7ekH6FD7SYpc6vnw==","signatures":[{"sig":"MEQCIG5m3gBOrCSbalZGhIHLnDS3yu3sCfLILAwGfpv8EpjMAiAjwCYh6ZZ9XZ4Jo8Ld27zC13TXycDGKeopk8TtaL/+RA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiG0+EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoi0hAAnSaJKXRLu+Ocujh8fJypztGj4Ez6BMiEoebts7nl4d2IfjTE\r\nLWtutOgEWxtNMs3m8wwtuj6jaFdHy00cUGAQnDcX5gijHwN8ZRCu4MCRV4DK\r\nsLVgmO4/J9UPoDt7vXAXz0QFgwxcjau02sdz7uSCwvOskdk0leV4FahqXfWS\r\nS80SB1VIMBjMTeGjHGnwoijolI2HIu2QDhdsCm3aPjt84donaAdGgh20JO6j\r\nUxC2bqUllwK3yOgdmJxuEY+MWRWH7CwnZSo1Ia5zuBEhG1SRFTz4HGwAkh2p\r\n4V286cmi9VY+Ap0GfTO/NdSCc+6fzZhf0WepPPpOXg7SCCjhLShBGENoGmkV\r\n+QeKGuOv4YZdIxZnImPozA/Tnx/JRr5Ynbn88XAcUPhei0Q5C/fTt1kMK1S4\r\n01/W+f68pnXm3qXNpcQpLOUF5qfGqes6IMIXJ0USOLSxmaxCIPRPXuy5ANGw\r\nxQY+kgiNWIBchTSVJ4lRpurKTFcWgfVVK+e++YWl7CA1WGxjFZqxCoEOcsp1\r\neRKkDfONv1I26ih+Ciuvp4A3kINhT+xI8LSAlM0WyBwQXz6IOeRS1375qwj5\r\n1kle4WomtqPcmkzcc3y07EKTsywNV/gsaTB62dzJ83JGcDPWxwL26QCLoRED\r\nlKwrBYc3fwZQ8reysWpXvlt07qEXp5fIx+c=\r\n=epJF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"6.14.15","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.13","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.13_1645956996200_0.10534359825277129","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3740":{"name":"piral-jest-utils","version":"0.15.0-alpha.3740","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3740","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f1e9a0deda1bec3de2a791b0e9fd050ee4af2371","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3740.tgz","fileCount":52,"integrity":"sha512-+tVF2iEA1V/19746C6t2bD2+4FhR7WZWSTAc9I+Z83eNYS80XEw1ZhB+IYG1fIWSc7Owgv/qEBYg97r1s9efAg==","signatures":[{"sig":"MEQCIADKkvoLdr+8JrTEjYEfVkHZA9ZleD4qRU0siAtHG0s/AiBV5afB8NH3LmJu0AvaCmK/8n1TLlxeZhSnB7gbVGvoug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiG2vfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEIA/8Df3tS52BDdmOQS3G26/pCtc0R2QMAn5pObaVFeW9zh31UUVa\r\ntUEpJ3yb2toBDGAGn+za25TnWYsX6UWhKbmPWKFQo8HUOLq1Ob/mdXwZZBWb\r\nANoAIkLWXZH6j/l46Tmdtatvs/qDv3OKjrQpsTpEiYPDp67LUZnZD6G3vIv5\r\n3tFZxXRsTphswpub1YW598l77ytzyvieC6oNW5DIsnuxw30Zk5jvrebOnZSv\r\n3jS5/9szBsB3CUqipEz2Dbc5Y2RUCgcevJCt1glHSY9s0mDH0oJBrLDYNnSY\r\ne/QlvXME2xiGF01/gVcGEQwOfKVX0D1wZm0EWaykIgvcldU9gkjHoYFRAENG\r\napHFDyCRxSJ/KP5BbywIQc13feUtuU/7F2A0CGwTc8adLrDQHwTUwkX2DKqp\r\n+1EzSveqWagDotA9UMtlcdcIcyaaNPx5bFyNmBLQS1OqrXZ3/KAFBR0SkPNR\r\nklO0jklHAi+IIiZMMYS61bEfqXSKvM8wjfrJh47Z6wcJ0ypH54wt3g0McwFc\r\nuXFr3r5YdAK6fMXUiJ/RbDK3hrlDQLTVIn1vN0DihYbFH1Lt+ervTujEOgtb\r\neczRSywPSi6TL58en3eQ/ZLcMAUE0AiInfUBlReaLqY0/zpfXHsaABeNMwvY\r\nSUtoccPLJgi8eQwlOtWLA9+Fxi3p9fG9GOg=\r\n=Lmbr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e70f3043f4e6750dfab89dd5fd7c9da874cb2883","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3740","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3740_1645964255364_0.9940584901124216","host":"s3://npm-registry-packages"}},"0.14.14-beta.3748":{"name":"piral-jest-utils","version":"0.14.14-beta.3748","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.14-beta.3748","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"299457383f12a8ba359a024e57d7ea7b9b86ed5e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.14-beta.3748.tgz","fileCount":45,"integrity":"sha512-XYAfn8RnpNYiYQ5M1uJ8J2rYLqoBk7K2i3cuEK8qjQ40aITNsy1VNIzQfkZomUc6PpYHqlzHoqtVak7aie/s6A==","signatures":[{"sig":"MEYCIQDEC1bYTodwE9QBkr8F4purpaZL1Jq2GRC7+Waxm+HGggIhAMnDE120r7EkOGDgzBkRb+BP8pELc1qwSA/f8/jaG/Ir","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHftKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoshQ//ajIqTvL1ER9fr+5X+u/ykSDAE238C3sj4ppODLl6EabYk8ar\r\nz/QqP8E+FSYRbQcxJRa0Q8vmbE34i7aih/Qiwch7JJ6wH6Bg648mmFF7uXpw\r\nROsQZjRzCary9s+BWju9eEmoWrTvzOKgcptaFFv05DmkrddzEj6WjM3L4RDz\r\nVpkh9e1pJYJqhcDKszLBdk6hihhqhh2Abt2wPfHxeO8YHlRBkGHcBMwZYoj7\r\nYeZjE1yB5lqBHlVv/ghxjsOM1vLvkH4yY8seS8BcTRJpin1TyP2xngXSjeUv\r\njUFyGbkPgDg0/4R9jyLtp2CT39/Oz0hFm/INfronZYzCJ0W86m6a2o0Z0DgT\r\nRyMIFNKqib8NZgffH05FIhg5LgS7VSYd/DECxS4dHWJf0xBInBiTgPmZBTFl\r\nRFFyjkdcleMwsSACoReOtG1lfsh3LNr16OMrYn6JFI4y89nEExNBg56a07Cp\r\nTMUqyrzL9ZRfPvIGul3KrG6avGKhsakjBP4kRnRzd+33TqKrrE9iCHElWNXG\r\n3GMHrx8XAhiilkDYYXIJN05nJJwTQoHFJNkwa251J1j1gt+iGnk9r6qPu3F3\r\n39E56y0bL6B/oUtuh1vnNdBPj5ZNHuSPSRtDtDU+xax6RR6Xw4CKwOoOxww8\r\nbyWIyV4eeA1ynruEJeuJsJihSEx08C4rfUo=\r\n=aDnk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"d39cff6f08051897f87633123c601f723a83fd18","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.14-beta.3748","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.14-beta.3748_1646132042197_0.09670526368389565","host":"s3://npm-registry-packages"}},"0.14.14-beta.3753":{"name":"piral-jest-utils","version":"0.14.14-beta.3753","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.14-beta.3753","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1bc28dc7c30ce420600e45a18dc266114eec59d5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.14-beta.3753.tgz","fileCount":45,"integrity":"sha512-RWqE4l7cy/QdE02UAXJHUqkwhsBgtf1eoDo2ZA4CkYv1kBJ+XU6SI/rLkBY0qw0RuaLd0Zm7spHWuLdlcy/DZQ==","signatures":[{"sig":"MEUCIB7afN1TfRvRARadFXASCIvvh+Smgk4lLLsBnDiuO6BWAiEAyPwi+IXJfz4nmi1J7xsbYopLMq+eJRjMnzMV72CiDPc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHiZiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrzvw//eOpFHjPIh629T1NCvXMaJDjzq4ckoDlJDQ/tm4QohGzEVijN\r\nm9RjdYxmd/jkDLEJzHXk5H7GJIq5XU07DPIH1umW0eT7uJWt8VGYL+O4t2gO\r\nKvxUy99ymbuIPp1yo0dpowy2w6ITRnHDHXpB8FyJ6b0kPe3Okz+Klp+mOvbt\r\njfrbKBf6Pmm1UwM2qw0/beYTg9e4M17a6xi1KXXf3wR6AJ4yxVi7yMQWE/Fe\r\nQ05HS/46QVwSpIdRjzr+yJziOtsMolHNXpib0fvksPfR4txfgHAkn2pHls14\r\n7YoyB2oegF0udJSfulTjpmKTtrzGedSclAR7JJq9sAYrKzKSB+HYHepgSi5t\r\nkSIGZy4g0GPrnh1gF1kOQ66xizhsSk/1HFirY3gSyagwd7n1vKfPwlNuo3D8\r\na/abWezN8NNfNQ7XihEx7pbOty6PONqX6ithGz9izmfuoAOJpK29x4C2qxAq\r\nwXWxQnLwA7tMZHE1qOugs9E0wxLQgcKn2AjZBUNFfV2NxiwIRA4+HwaWpJbS\r\nOywwgoVxLJmjKDAD8EmVl2WSNWbysgyo9o2yb61iOJ/faF5evhXIdAECbkWg\r\n2AipCNeqF83lq984tdxGaaxIAqRNsBvWBMYO8zha00d/ymIS2AMNfEvEvm/d\r\nFxYuIMYh5GUWW7J1oCJMOXSMKC63wKrsSRM=\r\n=PE2M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"34acaee35dc0edc17e08871ceca641fc5812c504","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.14-beta.3753","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.14-beta.3753_1646143074235_0.350931743377618","host":"s3://npm-registry-packages"}},"0.14.14-beta.3765":{"name":"piral-jest-utils","version":"0.14.14-beta.3765","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.14-beta.3765","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"aa79ef128a3e693c746576f2cb0959a389387b1e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.14-beta.3765.tgz","fileCount":45,"integrity":"sha512-fNTOhPAVxBzWZMNVtdqw5LMSP7GHsNV9U/02NOp7PhjhbD4JDPR+gUW3i4aukSAQ1VHkJ9S49fZRSCtOM6TxAQ==","signatures":[{"sig":"MEYCIQDfLZLJv2rH0ngw/FBczXDV1oVfjf/bSlYtvazROTnopgIhAMkHyWezLveBEOkq8891Ecb15E2s3HiMOw/rbXfYUtBU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiH7A+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqFDw//YtlTYuMh+57NZDt8rX4KQKklNk9VmQuuDxQEnU4q5vcfwAOL\r\nCdpl6coFRHnr2K2yBkf9AdmvHYvnenMfU50nrclkZz9EVv0qgT+IxkyQMiyw\r\nFY6zUwlI8YUKy5AB7Ptl7Je8unEs4Lc9SVFte7O7K44dVMs/eb1+Meo+dk5G\r\nM0QsMHuOQ48SvhcMKMMYnHtQQM/coBWpGiRMWmA+CWdT9ar5h0vpgihBQh+i\r\nGa7kdzD6NP855BabpIb9iLRQ2LgYGp98r1MLu0seNMPdHOKqS5/iOJsgB7p0\r\n5SFztbmQqOrrRQvz4Kiwrb7ZF6bxZpxm3YbQQMO/ADY7gcqzzCyHAdl/2OqM\r\n8E1AG87qQymI1PbSf3SyBcpu1rA2Lr+PvzcLb30yd63hDdW1WWVqm9yDwo2e\r\nHWYVqgteR+RfFagopkDPg5Och31nvzvwkwk4zLZZWFQw60DSzdAVSFShzW5+\r\nf3GpdtjabyxXhyVJD5UT9TLCTqJxGXLkWYKB6lmvXgGfFHw1AcsVsxDorjAe\r\nDwzNKRAJzp1MfSBGeqDKqvbLFhn53M5mV3Zb9VSvHVfFJ6/SgJuC0RoGyxuH\r\nFplhtwWpYUEdWPBiDbksqoflvKSUTGN4fMrZQnlFR9GrzH3FPjJqWKKRL0L/\r\nJ/8ONhMxkbDZcl6BIYBo/eplh04RsFuyGPg=\r\n=JMic\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"f933f63d8d746f6f592e6d62a4f74921d8fbcc01","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.14-beta.3765","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.14-beta.3765_1646243902366_0.594380022866108","host":"s3://npm-registry-packages"}},"0.14.14-beta.3767":{"name":"piral-jest-utils","version":"0.14.14-beta.3767","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.14-beta.3767","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6cf0cc6a228f01e7acc5d76ae53273cd2ca75268","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.14-beta.3767.tgz","fileCount":45,"integrity":"sha512-U91rFrE0+muKLui3xibEDSswA5AmdIlHx493Rto9XHXeFdgBxw1EO6epqHbtoLI/Hv+rrPgnji8siAdvc5zz8A==","signatures":[{"sig":"MEQCICQaboQMNoXK4JU0CrflhmxiV117zE3inTDH76Sim18KAiB0wTa2T5WcE4KR6B70aily0d+0nMP6UhukQKIxABHX2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiH93NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo33g//Vg62Kzsqlvw5o1/jpguTLE1WDMy/qyLyWICEGECnmOtt3Meq\r\ny2bymEiJUBGs7W+R6bq6FWYfDFuSBdznbSCSx0qFx4TjYJD4ozCiOswOkM1Z\r\niYEbshshOSM8wItWHUEDW1/2R6DwjBnyBv/kiU6HFO6l7FvjZRHKbAD8n49s\r\nghF1rtTDjN0SjLWS9DS26a0+pskRrr0Ui4NUMGFA8y2Uk7qTHnd1SsHN/xns\r\nRU5y8Q7tXKE6DagyFfNqmecGhfkt/xJbA8x4aUxm2JTyQ1qAV1lptJQXZNv+\r\ndJ5sLbVwp//9T99efJuiyeIo0PRI6p2cVtW/eM0lytW7gL4HOOYiEcOLJ6+E\r\n1+2lGVBOhC3RCDZPVXsVwsTSLzlJ78nhQkst/xAso2Wf5gqNYxeSApt6QCJK\r\n4e2NAOdjJGDIPdCLcclhEHVZMl6lFEP+L5HZJgXwPigAmvdghrF7H76nmmQ2\r\ne7nC0+2Uffx9cA4xHf1T0zQF9LDQDKFBDqC87w9EyU7qivdEbiuD5TqXnV11\r\nWtsoyhvLgVgvu9tePKsfSPdgx40MSWHcQfeBe4NsShSGfIbvBT9FIQbH7eW6\r\nH1AEqOH11Shyu97OLYf6X8uOErdsve+UN7Ab2zpwmYJF8FzIwWsV+iUpkPFd\r\n7IqCDLic6okf2MXIisMevnI5TfACc8u8rM8=\r\n=6H8z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"dc6b4718c8d6c7b17bf3262cbdbf97bf0a4b779e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.14-beta.3767","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.14-beta.3767_1646255564993_0.6738691859687209","host":"s3://npm-registry-packages"}},"0.14.14":{"name":"piral-jest-utils","version":"0.14.14","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.14","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6b5088d2b3abe1e2cd3f36a1c2c4807bc7c64d72","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.14.tgz","fileCount":45,"integrity":"sha512-gPhGQ95xONtM3Y49A20mdmqALh0w7EyJHwC9SEwTTAhEb6YSKVm3DRxtlRpuNzqTtq6nL21BAJ1E4SNa5a0a0A==","signatures":[{"sig":"MEUCIQCxsnW/cVJTe20mocGS5ilwtG4p+S4T92LTugATjPo3PwIgAbABKoAZ+MiZEufORAlcfRfCUtxz9/JN1tyFp6glReg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIBltACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgpQ/9GrllwCqz+jVtC4s8FXWf3g3hO8d+PPhXRRWfYs/Zk7vyOuxX\r\nlqJRC28O0fKtz2X5Ca1EWmQFQJ+zF+FJBMkWh00PrWYLAuI4rXpAk0uH1auE\r\n/B9H1aXnIhJmr1SGnY/ii1GhBH+6dlH6D/f+LUnZuN6RBa5zsbb88awvgw9u\r\nEI0SRb0AyMRbFd/pU5RsscPwvHki0XxhAi6GCVA1nW2LBX7KKDXPcL9ybEBz\r\nzZdPAsfnMZoHTu3oiA+izBNuDPDjX5SvT59JyoliqEDZDSwFscQ53yI/cLoR\r\nLwZZj+Uxi74YpwrKt6n7QpO0f26pOaDzIhR9F7QcVhRYs8UFwCjn/pGQp/9Y\r\n3Wpv79SuBGqBKjIn+SvlIYutbQOJn7mKAdQWTKrdQh9wIIDv5Fi6KzONxXCt\r\nbyWR19tQ+HFbpKytP9ae1y71YASCKwGqTBuJBMV5X6XXaDVglCPMlNJ5L7p+\r\nvBYa3+uvUi1RStlbnUF5O7MjfHGtkHYIy2RmPhyKOzneRsg7mrpivtlpuZ8x\r\nQTswmY9OXPczQhGC7ZOVL1nGp++dNkCZbSv91OW0IkROuItqOZeVhdZ8U5Ca\r\nkIl/T4X8gBHCC42e9jSZ0JM2vG/AFRBwf+qfZCUamso8nDnHZm+qQ0MzZm1f\r\nmeTkiUqLULlM0SFY9CAkOa2bj4JoUQD2sXI=\r\n=dueV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"0562c909cc402eeeff4907c9db564f5265a12973","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.14","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.14_1646270828903_0.04821935949978129","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3784":{"name":"piral-jest-utils","version":"0.15.0-alpha.3784","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3784","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a0c496ae6e2cde7a5b6c9ab9d0812558aef911e1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3784.tgz","fileCount":52,"integrity":"sha512-0Z/ZtcFf4OkqkP92jW5mXid1juQu9N48yfZvKgItzBLpLkur54CUfjoT8KVacJy4FtSij0adPlIzY4T+IvnFcw==","signatures":[{"sig":"MEUCIQDpBcKJLrsapjKk1T9465peXF0KTRVgTTY3Ve1TYEct4QIgGJvfOxGo2wRAWwYpl3kGhViMEf8AEnNWd/KRJ+i7vgw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIT1XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqICg/9GfIOMYHAs8DMHf6/t3SSggBU6zFnxq3ZM7Pgg5O/Xc3eNsOS\r\n7WccIR1a+e1f9xvC60/fBPCnqoolUDo0CG1Cq1Oyitu0RQUaYTpgvKlzbgNL\r\nNiW/nMvkLyxVifuuJqsgUplVRPm10rJ6DE1t3ZZ6HOlySM4x5gMRxwry9Sl+\r\n2fXuiZpLZBbNso7zhBTpnvk2YrbCy+gNtCXMDl3Ez+iVeT+YHhtP2t9WyZ+r\r\n/FWPUYplpZZ/4zE6TebY3KWfXSkwNxcKICwE/j5/NSvhus00lN7nJBqdknrL\r\nFmCGDeErYHQQKNnLVQR8fb4I23689v7lRwjd/O61aatV6pVXTdBostZcES1w\r\nvSage02BZvknNxMosnBDygWwvkmGNiwfagU0B494dQ7knQbc69Pm4XdtZnsj\r\nBC2gpT3U12JVljIrQSCKX6lfZ6DiurgAhp9Opib4LX/wLgDI7rpKt2o4FM35\r\nSNnpyhaCH7sgil4xotJfY0P3s7cJGQ4IdWItd8C8Ju8CyBox28WIPv3Capoi\r\ncZmJjNQaHKJS6a6t8G/LbqKycme0usJ1PQyeAEBcewBt0c5EpG7R3fhK9Hi0\r\nQz+25ogS+4E+AnQz28n9+ojzlU1eKceBESra592csftomTJY64Ax29YgmwR5\r\nP+EI6rGXhdoVKhQHE8IQludwB2OU8E+jNUc=\r\n=JqmA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e2dc030bd7e656d349caf5353740e45329e471f1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3784","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3784_1646345559271_0.9719376579545262","host":"s3://npm-registry-packages"}},"0.14.15-beta.3790":{"name":"piral-jest-utils","version":"0.14.15-beta.3790","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.15-beta.3790","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"49466f7c2d45f851a3b1c3a6dd74a49e51421cc0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.15-beta.3790.tgz","fileCount":45,"integrity":"sha512-VxlJvXd9h5tsEP26g+t/Ta7YI3CvjhYNfs3KI+BegYgoECZNrrADXgdlAEpNBLv3onQs6sGUKuSDUcYPuDp3wQ==","signatures":[{"sig":"MEUCIEQaFw0WQnIDuHh+yztRvj07S6/AVRNpxzc9Rlc1Sl11AiEAg9gBNXs/RKu/b9d1diTpmhr5rz1w9ieyNtu1A3Q9iQI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIhlaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2ZQ/+PW3Z4Br3RM/Px6LvIbE/dSnj53FPeR43C06Dpt21PkAyoE4z\r\nHSJ7Axmxmre2HXMLYhI3glYcLvEKfspEDOKl/mQge+2mj1ZaKsGFB9RevSdk\r\n57pr1qTJ+RNx2EU7eP3af3GXiIIrAyjgcCXRV5L1hBaa3zZNJHMW4LMRgnxy\r\nk7vrB+ZFhQaWOaNRm8bSIN92ZD5RlxAsbZf+3YsprCOk8yXs/aYkmU4TrqYr\r\nqDGvmA10mozE0khcPPftymxENwXnx4MEiXlTDxh8o9iItYNC2ZMcqkNyrygO\r\n1l1+/GwdxLekezD3T0X9Ah2bUKPtjkqttTogGWhD7LDTllhLQ3Y+FC+5U8MZ\r\nOcdhCi+EemZVUQ6y4j4kvP10O7/sxuhNjmfm4n706I1EIJGPKvBQ+Mwf8/7H\r\ndbd0uuiFS8/sKmGnv4fjCRcD+5QUx8gnXxVMnFvyypUg3/r/DjmyJQceCU7t\r\nbyg0AKr4gPY4m20GsOTetJYTpXsJSkR2YHF6fowCHxKVFdRBE4xokoGvu3Ga\r\nw7CHL4NdWRWjM/8S0mok8l9avvdwjlLqKuZbDUtNBmWAX+XpJg0FldAKyIHS\r\ntIl9NDCBY8G50uvioNAgnqj8D3VcK85bzytjq8Q69TevRgXLnKZ7EPo4yHWp\r\nA9UQ9iqA1mbsA3ToxPoq5E+Hbabv0ZBtgHU=\r\n=8gII\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"ba8540869244912e82ee8f9d2ce06ee9c5152f80","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.15-beta.3790","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.15-beta.3790_1646401882416_0.1879263542466596","host":"s3://npm-registry-packages"}},"0.14.15-beta.3791":{"name":"piral-jest-utils","version":"0.14.15-beta.3791","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.15-beta.3791","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"15fd501ff0875ff2639d8afe7ea77d087cc99fa3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.15-beta.3791.tgz","fileCount":45,"integrity":"sha512-o1gKMBC4cH2X7szSLtzEqxlL3umKJ22EUUAoMVZ8zeYqf/TYW1F2UlwewXe5BQAbEmchhIAsg9WtWlS3mRQqNg==","signatures":[{"sig":"MEUCIQC4qq2pxBNNblkpUcqBNX/m8jhVJMkHKXA4k4N+Ic7trgIgIvdw4RzJyK3HX70MXz5NB6a26e2IsrlbLrmzouxFx0g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIjkJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo19Q/+JGAtbzuFDlUN2Zb0/kEcP6kPArzzpO2EXJBJjwKFGnqRPFfE\r\nYfu1TAfNdsSJdE+UKMH6s8yoXfFkDOH/zPiA2BHfgqG01c67Q1wJSCkUCbjg\r\nyZ0eD/+xtgDxlm6hRcOktjUgD2Yp5fJMb71qgxGRnPQkF3xehRXU7HUm6UsG\r\n7yTRjo8jCE2BafMSCKT8A5JZngAnvgkuKZhvmhDXeiLo4Mvt9dJJ7VN0Fab2\r\nQBL0RqXQuHgu3oV+qv9HVPNlInze+I75bK1oCG+v2Kl0GHv1vhZwIxvVS5YK\r\n4bdsrykFe3ccs9d2yv60ZlM477NB13YIxatCXdWahL7w4aVCnxIGcc6cpm+B\r\nElRxSbNsUbas0YvxxKFznVHlU02DlLrEkoPw9HqjLHh+Amva764KwDJwKXPM\r\nKkV8KqaP/BwtVnB072isprqjUNj14Reihv4IxDpTvmfSkqLbNlZfxU6duetW\r\n1PkT/bDuEQrrZkgeMnkl2AMdsSYD9KbpjgBxBeQ2cPBTAhOXNXlxjApHOQz5\r\nD7LuGLD830w5PDmuz+of7JhgH/ycMMjJeL4BkkVCjcg7Rgi8AwKGMyyJp/+b\r\nW53eo5QFGM3ayQ7l4SpHul9zkbav/2Jkf+W44q5qQWDA2E9Ac1cqJQyP4S5M\r\n5gy1D5g4K4VnXpXToa0ugzdrjdtHZU5/NsE=\r\n=Yb1B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b536bf76ceb574ce0ac8eee5117d73e97d7d8179","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.15-beta.3791","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.15-beta.3791_1646409993352_0.5668822151599027","host":"s3://npm-registry-packages"}},"0.14.15-beta.3795":{"name":"piral-jest-utils","version":"0.14.15-beta.3795","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.15-beta.3795","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1d3a9210046d6c104b6996bb4204f13091b8ccac","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.15-beta.3795.tgz","fileCount":45,"integrity":"sha512-3v7QFTe/2a4N6+MOJvDnTTEnkLK3JVQCvPLtTO4G7s6S4e/shKtB/Zlub9VAsI4zgl6DFPPptuOioXrJ55dXLA==","signatures":[{"sig":"MEUCIBeSvPJnGHi7u+3Ug7w/qDy9mWkVjwekjUfF8A0XPdEoAiEA0PXDCFW32B1R4GBGFkwQmxzAb59Uiz4tftkIJaJqn+E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIleaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqr4A/5ACYq7ED3zKkPEgqE1JEj8dEi0UqwC21XOccRd59NDo2vOKTk\r\npLBalbkfIR8WCj/LHrKnfcdzxR4VBdP9i/XD1ubJ6Y5P0YNHvQVp13I45Poe\r\nr57QbAksMsEDSUpyby3z1opfqfIBuoUYqbD7mywWN96FsPGsP7R4iy+bUD92\r\nGF6JmZT40qY4SxvuAO3yobCNf0740mGhWDJ7dWxAxR6K3nP0m75aeNyowc3X\r\nC3XQqsyhxSMoCYKULCrF3OnfH8gcDB8xJwq1Fzz1TnrlcoLwigFZi262hewM\r\nqvMr0lQh6CJBNwQ5ffrTbzk0aAcZAvU9t0dzLD1ZiNe7cA1JKZK85QeTQZyl\r\nXvfhuCnD9NTFzOVUIFF293449kP0UITp2biQA/VJl4LklNgTtaUjHnrKBEpZ\r\ni3KhXYspz3TQyl0ndyXBV31zmKhwEN/eTAdkb+TAOV6pKNUiFsaccP3vDatC\r\n2FD6hiZ6B5gUVgGpxV1/Z7Xe1qdV436kksIpDCxh9SbXiTZ+yaXFCSdiUaee\r\nJy6erP/WFUQ+wUEq/5GoQXZJBZai9IV9oGQw2Kf0aIcoY1L6D1n5AnmknLyh\r\nc3PLXxRM+OQ51ZL20AAyubMsrkiCayK+IyJ6rovym0oz1HbrlPOBh6wcDDBj\r\n8qkd4qAHGVeImzpGjNoIrK7aAxdiV+jAtw0=\r\n=aU5T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"aa87fe6e8ff473c009c7ad31bfe7e810196521ce","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.15-beta.3795","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.15-beta.3795_1646417818464_0.12299946728511602","host":"s3://npm-registry-packages"}},"0.14.15":{"name":"piral-jest-utils","version":"0.14.15","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.15","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6754cb0f6b6d60e5d07398047ba262416eb6384f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.15.tgz","fileCount":45,"integrity":"sha512-2fOothj5CJ7lOr9hIxZ0iBVw8Kjbp678gZVE+qvN1lyRBMW0NjQuaNB16xDtPdic7pz8b0LtoDYz4Ym08x9LaA==","signatures":[{"sig":"MEUCIACm75hYNxAYsnXp6tsElv2Rxem0NRl5TYEkl52Eb+GuAiEA2xS7T6RoutEiDIKseZjHVxCtQ7HlkdcJBHMEU1OkVZo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiIyiyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoe4A/8DP3hK8ZmdJFerTKuMvUyASJTL40uXX+L/QHuw7dUypM6LDs5\r\napMqZF40ugXOiwKfDr2fiPvrQMGneR9wyiUqOI5fi9HYMjd5lH2e+IsYGdd0\r\nKq1q+txU5Ql/t/s38DYKJh+cooUVhyjrBijXGYEAV7gZN0IE+mvoSWcKtjaF\r\nfex0fbzPDzn8DqcaemxcVye0MIFc/xyP9KIh7r9KqfR/xTngz+kLqlloNJjf\r\nOVGuBEsJjbSlY7P5MLYK+bEndH4W3ESdzjhirP3oML0NzwUVA69/5xMobA2A\r\nn8W3XZy0nD0j8s4rUhomlIjmXicjrzOnSptUWMCn1QB/xhBkHHq76+ZgzvQ3\r\nJY6hCvlbw2Q486ks6EIGeg+M66gLo/gzgSLC4Qcg6hgn+UbgNTfhXvCa88uS\r\nxgFFTeXSzJ0LSIFbLF7vTqdbjeJzrgdY+MYsScp4+otE/JlvEk5bm3pbFj1g\r\nuWsJVS6/4v7sT0+EmhVDgb+zHW651UHF1WsbuF+Jt9dzc2TwQCtfoLDmHvst\r\nlw5T49c6KJOww/tiluPGNTKyLGrLEH1WjXzgFVNT9tUZ1o8bzDOdaD0aIjfw\r\n8PF/Tp5RNQYALGy3iCvMn7F1zWC1niMSVYzyv4417Z1kTM8/6JD4uHhBCxDl\r\nwAmHjSZ/H+9hkqifrfkNKJKKBbbBOY8J48s=\r\n=SQQO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"8a2448cfaa82079200bca2a03ca42c0bf56c17b4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.15","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.15_1646471345938_0.4051846461026891","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3804":{"name":"piral-jest-utils","version":"0.15.0-alpha.3804","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3804","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"979d6df0132a23e913ffdc8099d4e4f07bbaa13b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3804.tgz","fileCount":52,"integrity":"sha512-9I9HQzwl37lJnh32K2vA+ZG7ittazvsAS4wWimbQXVG3vj++Aszmf8iAQty6QCfoS2DijL3hq2SKOvXFCq2L0A==","signatures":[{"sig":"MEUCIQD4Pm+5DzSwKcTmj/qMBva+gWbz64dQMTZStEoEfISmNQIgcm54IeQyEMPIxfBhetw+7O0QoiTPuEbnin7wQE2CXkI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI21/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqFQ/5AT4wQeqeQR05jFxbkgX1/BF1T6zR2aIqjLtPXF0Y/2/cIU0B\r\nDOp4IzsHLd6KkYwj58COXHgghZBafB1uf7iIs0PZ9TTcj1D7Qk6gW6OUTk6a\r\nSCJnA/gNZrI1cXljgAZZsaVzp1lpHdkOqDSKp6hZ8lQ+PkPpMOGaoMK5lzpv\r\nRvxtGwWbmMCjp4bhVBl98a0AYptXIMjPb+1uxo1M3cjPIEUvk04rnlhgz9/+\r\nO44tP2eRyfxY1+I/O0OTi5+CJ1rV5kA3DZWRSij3FeRvX3VEGe+m3uZNzMXm\r\nLyEL9/33J/z8zhKdRNgq6ZcGUk2g878JIf9mhXhQuSNjDcHCs8ULuzF8KEmA\r\nweoqUW2VmlnhcsJOCFSzC8NgWcZ63IoIWPhY8K6n31Acpjik2yZEb7GfwJpK\r\nEFShQXEzunEJBXUGYqPgA6fxDj8I6QnvxHwLrP01nrgqUc76oTvvoR3OP9DR\r\nRRfPvTvyf3vR7rG6ps2u67f7RTR3wf4KHKO5oaAs6536jXGxArljfzEk7cJ3\r\nnfrGZMefhUbXm5qVThEo7Vp7O2EfMLrN+eDp3NfX0EcLP0UON8Tori2rzJeX\r\nOzTWX+IGgdx5rTCIpADok111lCKW3+/PVlYYNmCGWXg69c4bCc2+O0bptrpZ\r\nu7m69ngicveCCsv1tvnZUac24n8CE+kxPBQ=\r\n=6w+f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a053a21f6195fe292edd35301ea19d5602129c79","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3804","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3804_1646488959232_0.8647011944636174","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3809":{"name":"piral-jest-utils","version":"0.15.0-alpha.3809","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3809","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"96ebbeaff2883fe732fd51560cfa879588bc1960","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3809.tgz","fileCount":52,"integrity":"sha512-ibaStMpKE1BPmlGgYO9JvXVKfxI/IOY+Sn3k2jRbZhxcCQXnqOlg+BQRfSgFM01gaRNrJSxDiMqhMd8xWTpQBw==","signatures":[{"sig":"MEQCIBXzFKC5kjW8qPb/6kYx3M9zmBimL0cIGcJoiZcY3BWSAiAgFgaj/I/kpDSDYCbv/tp034ruEifLmYwdZmIq12xrQg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJIUpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEHg/9GvKb+t8ExBCIgX2m8GVvAa9aLQaNMAlzkK0Q3KQpzo8vB2gb\r\nsjRCPa0tH7KtkQrbykoW4FAhFGIY3noJMgv3K2zkXXwhlOYlxfzjgE3bcMa4\r\nbTTMtbunrHL9RgNJIlYkHu3q4N2Ot8Nm99QUEnKgb16070SBTE4j9yRf/G7E\r\nA9Pj0AwPOecm72+JEFhccmp/Go2/8yUQPaAI6HzTrPC8nhWw3dZ0dUTRMFox\r\nFYizXJhe3xJZsbRHW4CUSQZXuKlfiVgdGTjxP43Ss3gelswv8OCU4Ck2wj9G\r\nHIb+Ky31XyfSCb15a/Mh5z9qm0C0C5iRBVCm/ab+kAavjB86fKtqqR9X0vtO\r\nIM1FO054itYuTHK3XH/WS7KqsWYzbSLw+Y2aenHHPG9JpNDzHVQO+03RT8vr\r\nmKeKblCMf4C5WHNjM9II5sOSVhXUg44qQG/Zt0CpkSgp7cO3cB/Ohw/BfbZP\r\nvW4u99p8T2jMOBcdZWGGomlnPi4ksDvvoeYwGfpHsk5rB4wSTwYuGme4FU2K\r\nPbMQEMC2Voh/vsa0jnA+/6mtYkcBL2G1BpV0aJZ4vXcJIa/u5EAlNe2dKguj\r\nak+W++ye8IZ7xUSlegUCl6f+3guUTNNvYu8DAwxVvYqKw8XcK2Ojwc6utZ62\r\nr+42PKSIlVGO8F528xsG8C91cKDTKI2O3I8=\r\n=5LKn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"e26067cdcbbe90ff72d1d0815929655c05126e3a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3809","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3809_1646560553283_0.8119601067240081","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3816":{"name":"piral-jest-utils","version":"0.15.0-alpha.3816","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3816","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"043775e6f35da2e918bb4d4ac441f2cffc1a959d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3816.tgz","fileCount":52,"integrity":"sha512-HYdTlaRE9R8CCWai0KmSkXij0/c2XcqealuxIZ/NKswEkTiXqud/IVMVbnYYc66Sd8+oTpGkIvpC5SC6SuOXTg==","signatures":[{"sig":"MEUCIQCIFcfiiPmPfIut4H7oI8mf5WgW7jTFBU+Y//hs8VGj3QIgRWuzHmAkULSOM9DibLU6yqw65pZNILNyA2etiaMf5mE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJx20ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocPBAAoFnUUxT5sIDEGgubLJv/72D1WdS7kp/iCLL7hWyJKYN6RW3v\r\ntK1jGG5Istclu4WU9/BYFaAuVgsVX+K+d9pafTvnqeqrWI1uBdnDBhefFtUe\r\nAaP+sQ95hsLBmMcOlcxlDhBT34AhRq9feNSxwu2EHCk7f5J2/4Y7TY+JSfEW\r\no+CJ2OhSYL19PcsBZ+gbOOXWXqdyy9d2bTzsonLKz7bLq2FcICX3VV2VZPQs\r\n+/4dAVB5NZtkmKfv7EJkjpnLzQDY4/DKcoyc4TxGyg+IkBekondFsk6H0lH3\r\nbQZk1Mh/f46O9qNv2WoUnvo0JBnGPhktBpKuM/nwHHcgWNuEVQ4CesRolryr\r\n0BEdz+zEpENsFiOmIxqk5j/oYbo2D1Q+sQPTY+869XKAe3DU7GOwJrL0LJtp\r\nKVliuPfFOioXk7ddsRnD/LFf2ACZpZdtQymPNVXSmhGIkO/WGlXyBWwpGduG\r\nayaR/il3BQmnJcuA7Ap2XZjmhIA2pxVT2FhOQMyxmgwGygOHaTlqXymkWfQB\r\n3N2wZ+3gTOfD57apMNI96tpNnplAUOAHsc3N6bERo2lm0q5pQ4LSLsTVUMHE\r\nINk3i52Q5xq1Is+yjrA3suzwm6TyneOfCIZI4sJdSzHJQkg5rBR2/ztYGZzL\r\nVxGjurH7Ea/5b53cqRVR55lgCitHEcxPUFg=\r\n=0w2+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cfd7ed44c6b73655be56587aeaf774692e0c94ad","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^25.0.0","enzyme":"^3.11.0","ts-jest":"^25.0.0","jest-cli":"^25.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3816","@types/jest":"^25.0.0","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3816_1646730676301_0.8672477721587328","host":"s3://npm-registry-packages"}},"0.14.16-beta.3830":{"name":"piral-jest-utils","version":"0.14.16-beta.3830","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3830","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f6f0e67099b3272e9e4301f73c290144ebca106d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3830.tgz","fileCount":45,"integrity":"sha512-F3T3aQ1EX/84EKOqtzinSSugppqi+Gs5B1PzEGWIsIu/5yr4kWCt/RMpKjNl0CPpHl8bBZUlRYSxJDuGOd+5TQ==","signatures":[{"sig":"MEUCIGD08LitZIAR1iN/HN+tnbHis+rxeP4wVtkNfiypexxXAiEAvTEonI2jlg16bGbbXZcEgkL+kTTUn8Y/6zo7ws45ZF8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKNaqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvHg/+J41XtTYjU4SpUnVGLkzakKVc2SakK5TQPWs3MZWsw1V/aRsX\r\nrgNSgXko6Di8Kg+zWDY1sDH3aSMHLzTUkmor9iSRiwxFzsmUw+Rxs9y1qPvC\r\nVZkTyY/O/U7zQPOW5uVZ3HDlT/qMftlaA3BsN6+19eO6GNQxFfb+TJdW8dCE\r\nQv1X77JHOmZZ+CLztK/p5X54IYqiXGlqeTTgNHp1UndPYwWsY7+7GjoXn8AR\r\nlCrDXDGQDfoBemxdgR4hNSblhz56SktlL32buRQCe2AKLrijAebsSrKLyzYW\r\nEqFb17gln1VnbOTMkoQuTOp+/BgQxZ7BPaCQEmqvz0VMiKOpvRoFzbFfPi+i\r\nrtsPHgaoXjow2iCGEW8+qOe31o6W6QTBcFjH3lDB63u1mmc77QNB6L9z8pDJ\r\nFotQrNBflsjtFmq13VsSVvqPP7BN3A4unu2WulLqIbjL63+ao0ArhXu0mfcR\r\n8O9h9O4iWmjfT3En7BXtebJm/bZj75k0084JVqhKvX83Rit4xozZfBLel2qB\r\nww9Zt1M1BDdQKSYpyGhnakenqu6SaikLCCjy0Zg+gGTm8WoweUIu+1toOZuJ\r\ngnawK99QonUTGZmjsFf1gJmBQVTTFgbcE4JNKMJMpfVUi/69XYrT89CtTIHS\r\ni3jo+aiK6m0YpRXwXgpQolgicrfcJoCFvUc=\r\n=jBpR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"93fea0946fbd6fe225116631770667613ba5acd3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3830","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3830_1646843561885_0.5635584303331527","host":"s3://npm-registry-packages"}},"0.14.16-beta.3834":{"name":"piral-jest-utils","version":"0.14.16-beta.3834","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3834","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0b701dd724537e3d55ca30eed2346c9a60099948","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3834.tgz","fileCount":45,"integrity":"sha512-fB+61ZyXWwKPseUEfQUN4t44CQTDDgUB1E/SGX4HU/A6riYyn868dG5iBdtCuilGN7VjoLT9WeQkH7ZKVhWLRw==","signatures":[{"sig":"MEYCIQC3JPBCcrMXTHjhx3Uj3GpvzTa/2fghIR1Z2R50ydYIGQIhAJFW1urfLG5vOR1YuFps0A7kd+6Qw3ulIvXgZBkS5rZp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKc7qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphuhAAi2XA7bbLu+xMMyk6XKl/SdU84a0/Zf+tNE6STmutLLiRaXBg\r\nY2bZsj6w5VtYAHNna/5D0kbXbt/O1pVhq2z7ZfjqvTGFxOTTiBy3M/UJRDpU\r\n79x0RtuG0G+nFcXIxxpMAVNquQ2WjrL16qQG/RZfyPK/sQspSldY9PTg6Q6E\r\nk1r0y/w9heJkU9veUJbm/BFuxQBEIoKFUQwTw8t2I4fCOOOIR5bcQkh9fi9m\r\nD/ZGHwxFpMWuvKTRVjlTjRMPI040BQCnqSysHXp1OsVQWG+t1eq6ca2bgejg\r\n0rRbyA6TE0a7U9kcE/+COgT7YzPbjJusThbq8zkHVA0RHICEzJhgi+KAMNqy\r\noxlHXGzmMp31bZ0NjyjVFF965UTn0yqol/HJ1NEnCO8g1sygzyLngwl6ytjv\r\nZbDSKpzPDRO/41wfyZAfPVj5U0xfdKl38eSo/lyZguNp8G/RIUnRVt1/SVc5\r\npQETHv0yp6wrrbtXuHVhLg1KA0QXOvgTYtoizerQ3ZI9C3weQzwcy5ya1TBD\r\nMTeNQIy+/UdxHP5sVF3xlJpHJO8h5MCiO5Mivqzb61tchGUY6fCcH/1QTdxS\r\n/QRYZS4CzpHazMxTL6CuETx2TLY5nYXmC0hCGbMm43pHFI92xgqLlwFS8Rxk\r\najvcOHZUEEo2dldoi5ZgUw2EODUISKnnOeo=\r\n=obAx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"dc5add5acf100adea76a88895ed80ab6f5a03c97","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3834","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3834_1646907114062_0.9804166455552543","host":"s3://npm-registry-packages"}},"0.14.16-beta.3841":{"name":"piral-jest-utils","version":"0.14.16-beta.3841","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3841","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d8088c09708b0433e90700727840932fc449844d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3841.tgz","fileCount":45,"integrity":"sha512-NUZ3hc/Zvd1TWkdMN7AcCKc4+OGNAVd7clrmndPfut3NDJuN9vPAgUJ3QJF5nnMaf3lJPrEzdjmetw4LTNVslA==","signatures":[{"sig":"MEUCIQCiOagkj3th06SJMWqYfGl1Jxl2QdCeUHM/8Slfkw2jRQIgMHENqG7Yh+pNwvxkn8YYX9yEKj3aB/LMiPO1sriYWFc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKffWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2zRAAgEq6Hew+xw2IixD3Mu55SjRIkeXHnUyI/KWoK4uWM4ZcIMpY\r\nhBPgXPpU55zC2DthIvzF44B/YcMR81jgy2dn+Vv33MXBtdzszJ1TZquZTvDo\r\niTvEXSx155F9DUCC//zv+oFM7tFySk+Om/6pGhkrC6pMM9v1KeSIymHIaKWN\r\nTnVdRCQMMMM2uR8Rvaf5XD31uss4pAePNII4hjCBK2yBOC2Iw+iMP2qwR1gc\r\nfe6NTQP95AwDILdPjKj9tu5M73Vhg9vADglZgSF5TGkjwMpO9cDQzUfn4pOt\r\nGqHMdWH1BU6gZ3dZKoRT6WXkwBdnhGZPOV2c0HD2XE9CUQDP2gyyxiyrl0md\r\nn1eW3OUdr+zwDqeoa+1CFuLBGbA3Sy4JZn+cibLM+JBRiYJKZgpi5Eozpcdc\r\n1VYIlMOJZR7vXFv+4lt+b9NHGM5QQNa4Ouly6sv9wNmCfdUig3ekmYzLpJX8\r\nO9DOeLui31lUifX2aE+UA0WT/jKgv5EDlSwZ4t+X/8eJN7VOiuN/0SxyVLIa\r\nlakqWYl64T/WjPgK7lu1BL2F3iF3MDMfCqYx/tj2C30ijzz16YK1XIcT6B8E\r\nZCsgPhzpVHqm2bM8KK5dE4FYYTm4AwZHTyD1PLeiiwa35XROaNAVSn7io04u\r\nBh7plwnlFyULO1ayUkV3uG0Y9KR3T5uWBTo=\r\n=HhSU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3841","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3841_1646917590019_0.08215534619370324","host":"s3://npm-registry-packages"}},"0.14.16-beta.3852":{"name":"piral-jest-utils","version":"0.14.16-beta.3852","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3852","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fccf3fcf40930c3159af4be814a26c4c9ed3a92e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3852.tgz","fileCount":45,"integrity":"sha512-O3JJbipNcjMZ7LS49l+Ds/SwKouXkroFWoGCLBr8FaZZWU0OsJhvgox3zcziLXz+R7SoPcT3WLYcMpEciIvpng==","signatures":[{"sig":"MEUCIQCjyUv2Cm/WNSLgfzMJsrD8h8WC7YwLMN5sNX/BwYaxagIgXKgWE6UlmsmfFYKV66QekE8Pl7bFF5DH6Xp9cJRZWMM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKfsZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMNA//dmsAkvNo9rNxDPqRUSh9lQNXvSWZCaQuQWh0iY+xebz92tpG\r\n42frL3CGh6ZZwxLs8HrLdoQNvKBNdp0Xi8TuMpuZAplokfxJRzpdE9bvyjja\r\nOSXiF/gkuWGR41y97ACUWR+jqv6kg3veNluStZ99+T1ksap7/I5pt9UjvSYk\r\nezFxuSvLRUvhuvRIBrA7VoN87H19xN0t1m1waMhphgz62Ffsqer+h9GpkSmG\r\nxe6PERlELrPPYdVyJ8B1OYQXMhk07cni5yo6C+DhP8okAriZLtyrKe69xRRM\r\nxGtoB2G6/sVYu3IgEUGOVrT6jQ4lVOfaOhonYXyqZ5KhdbTNC+6Tki8XiP2N\r\ndzkrMWcdK8BwuPcQ6dd3G1lCkmH2J0KzvD4vgC9ZSifVdeSWAGVi3UuqqFxn\r\nA/Qsilw8UPA3HtxeqH3dHymHLcaBdGfuHcNpfwZNJ7/S///pKZGY3tMLoHvB\r\np6pKV2aJwf6DtHJOzpjd06WLVc+cWeSa0mnWjaNvK3WrqF/jk6UgPjqp8h36\r\nXFXZQd2CWg7DQeq1CBo7J9JxDsmt3+fjQPpJ9+9EF88+Bogm2vHVJC/WYkI9\r\nE0iw1f6yZEIx/dL5xaoUzapUdbWeJeC+Yij98aBhowLTLPHMWeClVuFSTPk7\r\n0T/gVgSZV1T38VA1MepXdQl9uR54NUoMvxM=\r\n=qTJq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3852","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3852_1646918425713_0.7810993294842539","host":"s3://npm-registry-packages"}},"0.14.16-beta.3861":{"name":"piral-jest-utils","version":"0.14.16-beta.3861","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3861","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"eb59352ac3501b9d70c05ad7222dc91d7df933ba","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3861.tgz","fileCount":45,"integrity":"sha512-6jKHiTav2agf+ZjQT17Y3zLiIH1FEeuoqT1ieCAoAv8QiFwETs/PRj6NznpFhFCw+rWj4ggAOrAIhpfDod1e/A==","signatures":[{"sig":"MEYCIQDwsxInzns9wanvU6yTiswHpzDjYzC+3kYyYGpZJ4EIEQIhANq5a5osnbQU+N1EirJ7Tv1NylIf7sUyqyryV/2k5RNw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKfwHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpqdQ/+IBxFns0vgtCA+/ByCMenLnk9v7tfmgHUuqW+i1+E0Wpyjgrt\r\nkQkJqD+xbcxzA8zKqEJJYcmQyVOZDm0H+kcYZhjXGEG+hNsR5fMydadcO2eJ\r\nJHN7qQY08EDLbggAScdGgPGCRCZjKSlY2dEBOu0Ks5vP3sleAnFtTKC4kPsr\r\n8GteyiiZY8FPqsw8QIpZzLJdNgwSu1nuP+8d8KNvzdoJtfwzLqx2mvNozqcn\r\nl57qWmTWrqNpcB60rbeTkczU6vvVqu8d6iSirsmOjILu+MrkqA3hZVDoFJvp\r\n7/+PIHHibkxCsXWhGh+fEoEP1V/rIDwkeWo6msBeZ2Wxl81dvAW/pRlfZ6kR\r\n1qkcPAgWTCeJhYJmNEw/BPaCgKHmeoNuoq7kFYPINpq7wRQtGqNF9sehlokr\r\ny27eXfQscyH4dn48Aq0KOe/4sQjEXw803c1uBP0V+qGuT+jHpXnjTfG/Oxtj\r\netkqUer4h4y0X4wW7LgSK3TgoWqquZNqF5NFRC5Q4opFGsu4L0GgMtHFadWe\r\n5rkJhng0PjrfEOEVaMv3bxicx9VuAmdSX8O8TeksfA+4UmdoXAAqhG2ogwVI\r\ndT6HH7Onpc4svKAIb0ESPiZa/hcCd7xKJaM8qwoLU5Sjjym9PGAXpH5QRMyZ\r\nR9+sZdS5znU/vDknUpioUVrnPkvVx+ry2YA=\r\n=3yU2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3861","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3861_1646918663715_0.33112981114379636","host":"s3://npm-registry-packages"}},"0.14.16-beta.3846":{"name":"piral-jest-utils","version":"0.14.16-beta.3846","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3846","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7f0766a6563e4be844c7db807f788958334351f8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3846.tgz","fileCount":45,"integrity":"sha512-kL6EU1VI05LSEwYmpnhRwWDxgsouM6EmkKnK+dJazpo59el10CpNEz0dru+EiAX8QeUWywQDHguT8JxPAo4eJg==","signatures":[{"sig":"MEUCIQCfUP3+NPx+p68fyvf1JP7SWvbr7Zfq1FALDz3MOaqD+AIgNDu8mrGZ8uKUC6/ts8egJE141ejdofo+V1hbD4rUZiU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKf3vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUug/+KXMXpHVp39lsXMcROBi24Ec8+w7QQCk9etdVYL5gkaAere5V\r\n1BQrtDvs423re78+tQ46Co3RPpYz+BpJgfX03XuKVkQSuCzzgDbchRgMg80r\r\n5HFzD3+AQAhU2ZgSUtkuVyMo99uOkmHL2ZuP99orYKIKIYLhz/4RuOfgmGuY\r\n5u4jW+cLrUKEn5CGWAr09ZmwHimzOJPounDsBXdeADY+/bhbdzuj0+0mcVKt\r\nNaoi0O22pr8cSwS9aDJjaNT7lx2Opn58Uunqq9AsTEhRyB3pYtUUhXymNawy\r\nYlaUoGrZFaIfpqHfWYEVk6DbJJnMNVs9ET3lJQspn0JQscha6OnDtVVWVUb6\r\njT4vHcmlq5R6SmQh7J9fhXMIbu0F2m71nBmtMp4Oa3vJGjrnzToL6mkbjyJW\r\nxYrRSfuBAHYq9F431IkE7IeuH0oQK9wcKa8wjqwWkuqSEqPvH6bAmi1XbNT/\r\nrW5pPjj9bP5piA7DXY1E6M97VMZvDrvVF6ta9Gze4XR8p8u+M60oMT+Rmrfm\r\n01QGj7a6pYE7RnFGetem/bBDUscEmn8kouNrN0S6Mw6mKN+mmmKrXqQdZHwR\r\nU+AMT5zc2FDJTqkFVN/xyCfiVcyXXRR5DrzcsuVmJv5Ib5b/v4ZndqH+eHjw\r\nuiJ0X+SEmdBnr41HFdp2HeGhuZAkY7f4ljM=\r\n=hDmv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3846","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3846_1646919150949_0.83796242420179","host":"s3://npm-registry-packages"}},"0.14.16-beta.3856":{"name":"piral-jest-utils","version":"0.14.16-beta.3856","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3856","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1baa278f013bf3ce776d02dd76220ba2bfc7bf9f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3856.tgz","fileCount":45,"integrity":"sha512-ksp0RG9BthnhHUCLzngWTwY7QAwY2+jdyDngl1S5f27PIVLhFkzfRzXJpoPnChghvPBSED7oHIJF2uH57kmIoQ==","signatures":[{"sig":"MEUCIHzfyrb3XyM6f8+r5cv+wCP1vlQl08kqtPudko8BxGmNAiEAm4dzDigN4+Oea5WtO6mQJ6pa3ajfaSf3izx0oYP/V0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKf8oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohFA/+I5eMUlCZL1q6pEOaQ7wG2cDXbpV3sV3cNgIeoMKp9xPkMR4O\r\nWeBUlsYMzoVD7nfzD0m/E3226C+bEalXN+eC3us9BYzGfd6lBBCn+JbZOxqP\r\nh/wC+U5pRN2ecf29rDQMYRMrA4c0Tentt5mzBrO6F3ZPgVSO7FQ+wepF1AX2\r\n8Ei+E3gbwWhNh5XERWpZA+2TFZky59dwLCrUVraUB6kOWI2ZrorZSZbQ7UiJ\r\nqjFavw3oUEnU86efGWpMnyIPadqFtupq/2GVCfhzOA24QFSSd71sI1YgMtZL\r\ng0Ca9/Alzxeciti+eH72SyfgRiO3K1skrup+tTMGoUFrDEpLoIA3wuO/QpZ/\r\n80d30hmHdWzBI7I7HHwHtiuxBW9as3jxLGUZrrQa/USY4VS8Ssm7TXW3Qn+8\r\nhz8xZsTkO3wcemS0RsXm7vzC61DrC+zHqqlGVj5d9xEd9WlTG+sRSUo9RfSX\r\ncSdShL1ppD7PAP7Se5vHB1Vhx0kH9lSMvo18UzzaNULLjaLkWXxVtXk1prgV\r\niel4y+4KtzxYLzrQRbCFDebzeU2IImCYEm1Q+hF6CKeCzU7N4RMcbkj17JxZ\r\nxyuJqAu33M9rpC492kBNp3vNFjruWh8B3/9E/IBTfxVOyl/s6kX+aQkVm+Ts\r\nl68XC9ERvkMhecskNpQ2SLfBCFhoBQAJ4GY=\r\n=FrsU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3856","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3856_1646919464601_0.4162342077399337","host":"s3://npm-registry-packages"}},"0.14.16-beta.3843":{"name":"piral-jest-utils","version":"0.14.16-beta.3843","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3843","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"150a6e8e01b69ce3a13fd4a6717d73913546feaf","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3843.tgz","fileCount":45,"integrity":"sha512-qErW7ozsxUa9AcktTRzYCowFDCJ60li5rL0+6f249vf33Heqx/oxbxG61U+RnQP8Q5XYCesVS/rbj3DLulkAQQ==","signatures":[{"sig":"MEUCIQD55ABLc16bUs9lNg+K+kw1IiijgfzRkkVl45ybv57cVAIgNZ56yCsudDjyWkQMynl4JN7TsQ2lTRMSevKRUJZm6z4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKgArACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3yA//QlHZsNdYU/tkZl705UULkuCwbTOqqCNcppGxFck0aZYp+VT4\r\nTB3FTqfbslBpenpX+HjNVQsN0T0ifZ+74Yc1fKqQ3jGB+bq4+CuxSGdzIe6d\r\nSmHOunUdBB0iVY2zp5gezA39oYCuqdRGiKZQaPPbz/yTCHF3diRxAPkkp1ng\r\nblY/xPQFt35Ss+TQ5hwPZWSqvJwVbP9diLNI/yGBK1nzJg05zCr1c/sqTZOh\r\njkVRHsB+rw6WHqKlUxd3g+oxFYJdneM4eD5gLh+WOua28mFMFboGO3xPftYR\r\nwMQYh/60PVuvJFiSXnCBPT1nro6m6Gz9Em6d8HXkW5UjEPr8hZ560qxQahD7\r\nVal9q/sa4XF9yZ5PfIiohzwHjZPXviCr4+mD9NzVQi0nopk/XIX6yOMEFT48\r\n8/1Dq+fZFmRUyWUT5aAvc0t7qfEVr6CFgXyVvi3VGWXcnhGzajr6n6/tYN5u\r\nFlSdK4s7E8r/TmxU5z3BC93tz8k/vT0zKURT3z+4Jfd8yW5YWsT/QX/tSVvV\r\nWcg/HtbHiEPNKC9uVlBjQmrXWNqfcfnsz+ZDXyQnzlOYsKiFkfVqPgHZlq3V\r\nUsN5S7rMo8SAcshmAN9Sj0RPreuKka4JLVDdM6HOV0dsQWNdXWoElWntiVIE\r\ntfLbgvO1oBpSw8GHuUx0e5mlq5yfBTpPvRI=\r\n=sVay\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3843","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3843_1646919723805_0.1754125073753463","host":"s3://npm-registry-packages"}},"0.14.16-beta.3850":{"name":"piral-jest-utils","version":"0.14.16-beta.3850","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3850","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c6a812b52c64094fb10c00c14b1518a47cee83b7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3850.tgz","fileCount":45,"integrity":"sha512-gsBDy2WEv7w8NHJcsAKfspKa8kz5B67af9aLZgaFtV7a7EXcWM0hsh7bTZ2RFo1uBWYwh7JwFh7TpG5c/OzmDg==","signatures":[{"sig":"MEYCIQCJmOD8IxPC8oBYZIaEyHoQ2gQrkcq1T1L5AWWFZLqT+wIhAIdWNmrgdbKpykaYt+yMNKjT//tECUhQdyVipnY+wm5u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKgKBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo0DQ/7BTEkA8EIRTJhan/P6ZhDyBh38HazSSOst6eg4EWmKoWolWf3\r\nyL78wOV3Yc1OlfzNDsvwrDJ2aaED7oLeDiPUseOljDGmmHQkqj/ZFtnKLiPi\r\nA6H6VvtxQvzbWycZpMvvgSMYjwqbydwFZLLGZSQq0UNTijJtp+Wyou4smpax\r\nVvVWG73Axpit/5P8AspPa1vmuV+yT9m6oLew6FfaEFBGhzXp4NJlz6u2Ut71\r\nCCQ0ukP1swAd21oRf0kDvh5OV8X0x3iimU8IEFNAdSFjeX4ir0l/8Qa41aHJ\r\n4XLM7GWyXv57Kt5NjJJ3HxBuV0Zg4Y4+Xskl9oSW52bRiBrEc6cNayx3n6oM\r\naV6gr4VqioYLu4PhP8EXLaKcBcHzdqSUxqgk/GquTE9BY4Qn7MqHDE3DS+jl\r\n5yyFbiDm2DlmORM44B3QYk5PKJt8kyM6m/xs9CczsJ8Ubn0hbYMTRM1d++E0\r\n7fxVYElZ5nXmgFHToBnGYvair+et/68sKd3+z2viA4jNmHjgpcqNdLEZHc/y\r\nCBWDe6vDTTp10eDJgnTzN/C8lTax8azi6RIl6ilge5vqvvy6DrcZwkkjQ9aD\r\nZxB+j6m6PEXzNnBaRbagGZ4H+p4qNO3hAMDRPSpgiPvdvKDmFZ8tCzQR40GZ\r\nQB1Okh71xeGyavtlJHNZ9w2Fv1+zTaWipnE=\r\n=CvXa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3850","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3850_1646920321270_0.45340240720773917","host":"s3://npm-registry-packages"}},"0.14.16-beta.3860":{"name":"piral-jest-utils","version":"0.14.16-beta.3860","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3860","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7efbeff98540ceab662290333e4e17f7c4fd5fa6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3860.tgz","fileCount":45,"integrity":"sha512-pMmqNAWrnLtOPVa23WLMu8p54XFGWNU03eu8fI4HmARMTb0PCZmrc9sRSjC+aQ1/530X2qI5sRBVnvyfkZbacA==","signatures":[{"sig":"MEUCIFwscKVAAe1I89PV81B2amQgpnVIPNMJNGy88ZSnVRp8AiEAsLRYHm3WPkHT0spvCyGkmTCO9bbDuHTTEJLHaln5gGM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKgPCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjYg/8CGWUdB9zzogxWovCtrHuyKhgOJMi0MhH3Z22GtAoTQB1QIof\r\nYxlG2zhwq87YL/z3bB8guq50jGmw863Hjxfq3BtdaipnokLK454Ou/hcGfZ4\r\n8QAy02wYNfVUx1DtHXkoBgy3WW0T5yq7bede+2wakl/vLHWwbmuTy1ixxdyu\r\ntkfldT3TVeB5d69DgMo4OxFPo2YwiQicXcp7VGSR9ie+Y6BqJCBx0m7xQXD5\r\nwMUJDNM9+QXVrF0V5ThjfjVwNxwb8ASXVvJf/NXDglv27c3r1G9oLFLGJbl4\r\nJiaPYyWS1wb+4u+lmS82bEDaTIUl4qJjRwosF8RgBA4D+E+HdnsFzDJi7I1k\r\nEVR19R3hIxYzDnlp2cVNm9PwRPaht1HDO3C2eerDA8u3+pB9mF4Hufi78gmj\r\nr8Ytmc6rAakTedXkzucCEWtQYCzB/iNJHfY+Qp8QNyBLSYK5wzVJJ086+MHl\r\n7cbAk6NGswRQ5T7UDWer8wHISClbPE//MVjn8EHthKxa6qXBltvOYG5rafjR\r\nm+weyfVDfPM1vlAKY5hPFKnTm2PsIHcwuXJR9soxvq0jfq1wfsFF7tnQvyXU\r\nSPwiakUVltSeRLGBb673htmlEPRwedX/4Hh/j8QPenM8OS8XMCsm1F/6TMDI\r\np+IkLK1YKJM6RMXy4noO9fNgv2OmxPwWKyk=\r\n=N4at\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3860","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3860_1646920642022_0.18871588149636875","host":"s3://npm-registry-packages"}},"0.14.16-beta.3863":{"name":"piral-jest-utils","version":"0.14.16-beta.3863","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3863","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b9147c6c183e0abfe6d90efc664fb3ff3bfc9fab","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3863.tgz","fileCount":45,"integrity":"sha512-l26+6IQ0rDyePUxcYCTyyDfD34XRtvS596jy3xKo9fvooowVchw8Hz8MhJZjfTaSxBCMeoAljQGeso+gqud5Kw==","signatures":[{"sig":"MEUCIQCMJyykm3NnhwQbZUbwL+GWSovPnLkjMWlMbzXW1apU/gIgSKUu39RpFHRotYBHTRuY4dF3JtDRounZT/hd+rH57cA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKgTYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMAQ/+P4jqToitU5Pg/Gsm6FqnFlGGjyUx+IvBW+/XYcBW8hMpFcwX\r\n+iZZzYbV5ZSrgxawPncf098lV/7dro2DPbqul9J3pN7PrsPyFh34UW7ZuAxD\r\njitXH+gVV75lqYvYQav2i4wZDbAcK8P6jgvvCOECc0LO2+oRpCsg+UPNmbpF\r\nZNk0LzbGWHfXxWAuTXTKU+FgR34w+CFrAjzNqinC+5tRasqg62195tUQ9J1k\r\nStwCBrzi7dbyN9Xk+A0gxyjy9o74CcUIxXc4LRZBcIwC0uR3/uY0pWCUfeNz\r\nUd60qM6SUrwRxt/bfyuVw9jBJrJSLlUiObOtrEC1Vw4JV4LdDb2GHE1BpjWR\r\nM0MzXP9MxRafit7edQhS2ARfFVBuhuPGVcdpyGh/zWXW/Va8DLkgxFp6DLX7\r\nJg5Dv+lCFWhBa7DttsxXKsmkOYmdPXw/wslUKrkwJLZZDdosfI9dQ5u4I0gZ\r\no9PzYEIEfPNoJWRgNdHEd44lXR2vrvnsZft9hwtFaAGtkvqL5Sr1sdzzjmjB\r\n2e+Ntp6NpBlFPrNqSQZWnkZ3MQ0FnhiGihhuxB/6SQUa+LMXvA7tPzxADRv1\r\nI7pWitk45Jk7iRX/Qi1MT96myovW1/WCHqHwYa5sx50e3w/lhPfKxBYFbO7I\r\nKt3wAVh+YZp8W16t9aM/PDeEOb9wcTp2ZZI=\r\n=FSFy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3863","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3863_1646920920755_0.15686865108136194","host":"s3://npm-registry-packages"}},"0.14.16-beta.3855":{"name":"piral-jest-utils","version":"0.14.16-beta.3855","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16-beta.3855","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"80c3c89b2647030b7740644c251509127e2e91fe","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16-beta.3855.tgz","fileCount":45,"integrity":"sha512-EFWpvGAzdDBShL8FM9cBiUA0IRM6R/SGqzXcGb7yBlKoXHd9pH7vJCufmHnVpT2inVjYRAzsMr3XNk8EeCUUtw==","signatures":[{"sig":"MEUCIQC/6+9HKW4X+hvkRczwKy9lwSmXdva6ygsVetu7Ldl+swIgdBuXySmHHquPifpD20/C5SfPc5beBJKGssYUeTOwn5s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKgUdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmonsg//QZ/j4usACvjwjI646/x8NKIVX8Oh1CKUans8HohnJX2zYAEy\r\n1QUP9dsLUgg+Rt86/rybqqM2qrBYMpgIr4ng5ueSlcvvk78+tXDH5OYmX0iB\r\nlxTaHorr63iBR/tjjTHn0Po8j00sgWVcOegQNfYLv8LLn1qT9pf5T+JlH9BF\r\nb1xFVe00YtVbBOVnIg9DBKxjSU+sYd5ID8idZPiWSDHS7OnhN16Ez0YpWqek\r\nOJwPRuDaT6yt4Xo3+Kem10HjrWohg/C9n+1QGizFj6JnG2FLjGMRk3IRjI35\r\nkOnAjUZP7ROMbVZftg4PS4ZzDW372Zs5HeojdAzfrJOMfCKdzv2v3nBG+UUB\r\nWDJ3wYKPmxZlzEvVPVZAmYVSNwNTDNL3SfZhaTHRi+x7qXYP8VJBhBYAfJ6S\r\nKpGM/umqm7JHL9LICYvmiJhlERHqXfmrxl7HT1hOrXe6ejOdZeJMdCSEbH/f\r\nsYfiBrOFmfFKnZITtQXKZ0xNwQzz+tusEbzjfewCwS3MSgRIIEpMKM4SumnD\r\nnOSl27UFr38VeQdbzAtlyGDbKX/yq0hlEly+6j2P+uWScQdBOmwbn2YYuqev\r\nYPENf76NPbarpvxDbNjlTABLd4dbT4fH4/t5NPNya0fU9L7wG+9xpmz9RxoX\r\nVgeM7UQ7kk8aq3smFm2d6AAZCZJ7FA2+AbA=\r\n=NbE+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cf50d08d609be8b025664f4e6ba45850b675aca1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.16-beta.3855","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16-beta.3855_1646920989130_0.4857135533779944","host":"s3://npm-registry-packages"}},"0.14.16":{"name":"piral-jest-utils","version":"0.14.16","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.16","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1954fb97539b106c7f6fbb3ca320b5bd313a0264","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.16.tgz","fileCount":45,"integrity":"sha512-iSDxJKmdxWQWdtKR+73sBhOf9HCh1RgOVNutOoXfZjTNc18hFB2Apy77/311FSHDc3mqNXTmlga1a/kbxusm7w==","signatures":[{"sig":"MEQCICMvVtALq68Ylj9b65HVdGECktejD3tLL5u/aYBQ0qHpAiAU8SVyWYSzguIuowZdYPrsXmabVfQiF3S8rSRrGSyBVA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKhjTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqE+A/+J8Hg2we2PZTTjSk2xj4N6YqxW2w9kN1cZNehmjlr2Gap81N0\r\nF279OsUi5PSe11CTrur8RDjx6d7jDAliRYZwBBhcmdIevGBpY1Ns+0EJa4mo\r\nbnfgFvyMEwmTgAO5swWJJhO1R2KDMNe8bqNyKvAq6nj88/40o5C2qFvq6+D1\r\n3glzjjGfgqcSEBVbeF6g7yrtz8dqYM0+MPEU8WK/aL6Vp+VAcqMHH96Fuc+d\r\ncIMrydTlbhODNSFY4xKdg0jybPysDieD0e25BctNBwSJJzujfVlpX/TGkpEN\r\nOAUFxru7HAejfurpkp6//9H4Mv70oQewzhE4789aRgdck51my5mgsIVU8yCz\r\nPQdtrr61KieusuPmrG0dyqimQdgSTpfxq8u67gEJ576OukHMg8RV89DOYELu\r\n++fweG9/8Vq1nKiEl6NAu0x7KBz+6klcpGlh379Qmsxl7qQI0IYQIhP2NE0a\r\n945KO+/17Pj9Ben88YgVXzmY1A0PjZd3BVtQbsGg01ucnY+d+Xwl/777b7ef\r\nS/TngOtjEH1cnEW/EZn4ho8A5oN9e03Ae1/QzNwpCMB9H+OLFttZLvVzJhP2\r\nuTt8I4OtdY+C0P3sN54gT/MCvg5SRpHVTEgvPUXzAv3oP1jiv+PHPTPl+vU8\r\nrbFm9M8gf41faYrWIoJpHiDtVE7NTyIMMzQ=\r\n=hIWX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"39ec6f4eb7b46a14530cb845371bf9e294be0171","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.16","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.16_1646926035100_0.1668198937539227","host":"s3://npm-registry-packages"}},"0.14.17-beta.3882":{"name":"piral-jest-utils","version":"0.14.17-beta.3882","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.17-beta.3882","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3d3bb218f50baea4733a5777d81bf97e2e9e9e0e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.17-beta.3882.tgz","fileCount":45,"integrity":"sha512-L4E4+xC16mFwJC4CMadO3b+lOJ0mdDtX+adG6saRKZpqAxXbSlHtVo18zuzrxNfY02+3jMmXVqbHcW3L+RWMqw==","signatures":[{"sig":"MEUCIQCsXetqKm+Cshg1cYzsZY+vFnRkc5OdArpgwwbyQkj0FwIgOKc5we+0fb5PtOKmUB6Y2dcQiwA+eUFuHBvqxKfZaMs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiK3AMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqqjw/6AqFfwUbwQPnnXW2JKCxHKY9+NBLviVhgDVWV/xV0h+XzENoR\r\nb6sARxXNmjlsmozR+XieagzVrRExXbDRZIi4WJ7+ynBSqctQMJesA8A3R7OF\r\nouqlafQj/stcPMpyWAudJbH/D6xdyXEKuLTogjwpmTCfdvJHvPZ0YGs4H4AU\r\nnS2sipo30maaRiPVHONaiAuyNUbJzXT3T6yAAMZmK1KA/yPMZubgA7TORVW8\r\ndHxOJrz0eIbMX9hyZxWjetMh53DG0EklHOklAYc6HkGwCYDnfFT9uWo1j945\r\nbSKgE7TP/g5CJg8Yw7BzSZi2xUmFG5GPIB53nmAPYB2GvSvegpo6qJYBsEcO\r\n6XxVrqsohz2IeBq6lr8oWXXmh8VmIkyGK/CtbpAIiKQE2hdD0BZ4CD5nyIux\r\nYYgUoLtXl2Vmg7eyDyu/dD5YqAmG0NmDsmSxqfSynpeIsSt7Alx3pjgSvyo6\r\nGX5Pw0vt+fp0WYhepF2DDS8TK6YaQMRHgbmHOCKwA3kZs9gNld+XZzddeZK5\r\nunGkgsi0KEIhNyQo24fb18RLHlvck8M5EmqHHx5plAB+zZ39DaOmS1XukPjC\r\ndn7OLpL2ELQeqaSQQqU2HrhZLom72ZkkI/wJxSD8JPvj/AxpOZ/vFiIyeH6g\r\nGZOgI7hVMbLfVfkJyxvOVJUEzHsY2o30Awc=\r\n=DCQ3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"baa86e46163bdf6ea51d84414a6fe64a913517c7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.17-beta.3882","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.17-beta.3882_1647013900787_0.7030423102617305","host":"s3://npm-registry-packages"}},"0.14.17":{"name":"piral-jest-utils","version":"0.14.17","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.17","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fadc4afec59f850ec4b9e9e82e53d417c1630cc2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.17.tgz","fileCount":45,"integrity":"sha512-Bau8Xs7LQUEMTZFiQxxxLA4Dr5brPvBNILsZhU5+KAhiFdu9zAquN7E0gFiU4dWyMe1iAMdw47fji2S9ccf+Qg==","signatures":[{"sig":"MEYCIQDq4PMa16VlaUVpbA4YZZxVBcYInAlEhsejbX/mLFKz7AIhAOOSuJ8XZ4ExmOLazWEnxmIIrqNtxN+uY7DE8rRcmvYd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLhlyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmruTA//bOZ0LPsHHbAhjCZDqh1PC8k4Q4M2+2ZYAvi+rlLDasxK9hEB\r\n9g4eycolSpsclVaaPrW9BgWOXMAAo2YcZiEi/i74ca3LTodcOGOn37uWk5ZP\r\nasaeHQo5GWpnTaeC1r96MTcJK8x/udD1tkDvI+IDBAsKSqDqiY5ZmZPgoJi+\r\ngnh6lYgOz1CD9JUMqEbNtg1l7sX5RRqdK8w1ZFZEzLNfv3+X0KFRi1hmSvVO\r\nQxvMWsAq9im7MkO60+LsSyGuamVeyppGlKX/GRlhEr++806yyJhUKmTuZH1S\r\nuBbMTshgnzc5Z/VkyJpKmpyYU1x3Ngi9mACTyzPHU6BDXGPb9rVengUaSXwC\r\ntJQirsfVKdyZsKEWuPP06/3ygxyqxaU4d8RMxyrIMxM3tcdK3e0yjnJrO1ak\r\nCZwqGOwyjL8sjfbo35afv3C+nhaxe+8nm580NFkM7Nm2jRHgShD03Fdk8pQ8\r\nxFz+Mr2+gN/LZ0+T4PAgKCXm1oW5FFGjn0VbkbuHeJJk1BGw3b0MQT5xYUb8\r\nyKe+QZuUh9P7EegD4PuiPAW18EvfiIR25Am+NGLZlJtLgY4ioGM6cEOZuFWN\r\nFQUs8xrSJNBowd+12chDRX0lDfHtKKtu9MKPG1JC/3B0fI9eiSHlDtsR2v3p\r\nzDR5QCY+UVNcVFqUJvNKb0L9mHFNAACDKBk=\r\n=6Ewy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"8038b8c79e38dea9a1e0bbed713803e2c776bcb0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.17","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.17_1647188338685_0.8743117560162998","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3905":{"name":"piral-jest-utils","version":"0.15.0-alpha.3905","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3905","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bf92d7bb2f5f29863dc16fbaf72cfe69e5fbca9f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3905.tgz","fileCount":52,"integrity":"sha512-QlFhVC4meSczGr4rZ+TO4GHTdXFUJujl3z5QWF3gjyiOqIDb9uh6RhHxj9fQLftFbmU52qRXPS9QZq7V0sU/qg==","signatures":[{"sig":"MEUCIC0+1eW6hSwd/95fZ5cwHdatREQSQhvx/69mfhhQZ2UTAiEAx60TUAmRlgg/L3ADPGb4pcYjn4o7M7BSBpHPiEyPcqc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLpyoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLQA//R+ZUJynXEyiH3yyig/y+meBPrJ3+fy+z8qYdER/4VOzOGxo9\r\nR4K4JulmBOkgtOv9xc2Lj4pxCChWlJIKkBm61+j8pnAgy7LiPJla3hjgyG3o\r\nfnbJ9surOnoMq5A/4UVgWx+F925+FnDTG1y7PWI5u/hMlVd4a6i8IgVYEUwb\r\nBifQe9FuHk9g77kPRcSYGehwQP8YjThwhWABJMzUhZeguovXXpg739Po4aS/\r\nuW3Qm+pKUehVy7d6nZK206RBnoDpQldl7ZxHuZI5X99LOxGuMrnvRZsNL0TU\r\nsPG5l2VqpqqZuNPQ2QuBImwsRczKtYtkclewFEA5x/2dpJHL1wJiJA2yaj+b\r\nVDN0M/I0uUAAh8qNkDAH7vCMv4JKSO5SF5jenK0uZjy+LafYeaoknpcCIOZi\r\nEhXj7668lDAh/PmpABiEmWc7PcTGbUkrsoU8Ae2HFBxqXkgYumMbfbrTY/wP\r\nnI5AM5ZXJfuYTkTT6LwCTDNop3zdPUueTQAokvKvhBAKdAhZpynaU805qrW1\r\nFIhfP2HyGEtEIGF8r9f1qKshCiE7Ox+AYts/fK6BEw7IKjbO3Uf8h8U7mcV4\r\nF8CiKm3i/AuKAb56aFBtVGCgDvulk7XWOBq1m/g/Nx1YxS5CWy52WREqMnRg\r\nJi9qPELRtfzlPlYlZe42aqA6DBtNd9Eu4gQ=\r\n=qPUS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"533d09963cfd8c901df797958ca386dbae0286e1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3905","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3905_1647221928649_0.4238817518030267","host":"s3://npm-registry-packages"}},"0.14.18-beta.3923":{"name":"piral-jest-utils","version":"0.14.18-beta.3923","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.18-beta.3923","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"60698fae6aa20ecb49cf2bb31018258e519caabc","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.18-beta.3923.tgz","fileCount":45,"integrity":"sha512-AU9je/fzlYVjYGWgoIQ7QSQDG3TRBFG9mxTcY13oqXeiOCNGJ0FcaAA0PlIZPu7Z3ORX8/jUvaDlFHM0po9jwA==","signatures":[{"sig":"MEUCIHl4259F0hy6U9PF6uGZdYGdlD/FLOjCCCcZ28+TV/HnAiEAl+RjLxHSzLEH03+Z4f5ikks0nizp8VpUFMyvaY0WCZ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiL+McACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIng//eKlJsrgOHf9OTVEbdYdK1Pw3H31KeIiUNFlQFAqfI4ZeJCFs\r\nIImJ5A0X1iwH87aVPwoqxH4CphEHzT/BhhJuCQ+qidskF95b7B7U/Uc7o5om\r\nSTlbj+mhBG3t0g4lVW98KzhOITMr/2SHY6R1LdpkCbYoAi1HciPNRYp97sNE\r\nWn5m0fHBwdFQNvqzyicS/AQ60IrgxhoXOSGrCfb7U13lB4clrvcowyLxpNdU\r\nG6SupC3mIzdjUo1dmCt4fmwDF7yyKyEbCgWAHt2yUrkht8udoLVemF0hcV3e\r\n37GPjc1DwuC0vVBmCMrBx0vpifdXhdO9+Cd6NR1cMlo+Vdttvo0UJRk2Gi/+\r\n8uLRTXxy9sG8nnlAuG6nQpgUrN6tjgXancVMeE6vEYCDy8IcdE9uB6JQl6+r\r\nsmmJIAWh1JxTe7Ipn+JPGxffaVcOPxqf7WGi1uaOHjMfRB6pgfpYJNFCzkn9\r\nZiC2NyVZ0viwk1sHpfsm1UKZsjt/8YFnoVS7S+bidNwIxKZJ/dSHtjY0bUZ/\r\nwW5ISG5a7Oz5WS1a8Z2XtpI1gru14n09gh1a2Se76FCjVsUdHynofpKlyWx2\r\nCT1En2LI1M4g7GSbxDij+mIvyI+r8fun9BJDddOOMNpBIth4iUgNkKsL2YyC\r\nkemUo0tEiCi4BYvk88lfGE9fJNViCzXtAUI=\r\n=1QHq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"036cb83c1f1797a833edbcc9a7fd698a926aedd2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.18-beta.3923","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.18-beta.3923_1647305500053_0.6012194068062191","host":"s3://npm-registry-packages"}},"0.14.18":{"name":"piral-jest-utils","version":"0.14.18","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.18","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"573ef0c07b4f01b42bc58643885d2fcfdf42a6a9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.18.tgz","fileCount":45,"integrity":"sha512-mMU2EDIWIV0uPj3krbM5L3grNtHkGqJKimLocREEhhtNOOZMY+PiqcLA8O3HH/4+YpRK8XltsfKggH/AxVMUUA==","signatures":[{"sig":"MEQCIACsMRpdiYJLwhWBTQDGGyOBi4uwFzINT58ZPDhz/eXHAiBVXaVl0z7VyWWoPtjqYO3MxRT92lJq4FFNzx2ZZWEo+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMFORACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvBA//ZEr+WxjkstQOq5FFtnRzmHbSqestY7WC2XNFL8UW9rTSrdet\r\nuL6fJD662mzdDMr/uVEpYFyMFaXRlzm89cVirA3fH0r2zkw5RvLTjjxirunS\r\nD52jkH422XvwmmPbtYQGi+tROcetzHjM0IK5U1NltEqZA5gudtzJVB736Pb5\r\n01GlrKA0Buv543Exg15IRKin2054ws4mmTrA/mjfDPvONwNP/Y8+EilnIm1b\r\niBcAjkYQh+YFL3LTzky5EVIANV86pzuX3RkJwghxoJuzo6psFUOletdk44sq\r\nev49BXmj0sRB1gfbuvsnfWQ67kRR92dwvMVMfdhsImaLhzIu6Nv9T2bn0GKD\r\n+3sCmYyBa373hVIk2HqySJwTX7TOhLCLei+oJz2RN6cGNOOyEwU03v6AQyyQ\r\nu2oUrQJB4UVCKMPyhir6pUvVsNgIM6n6BFWZhK/ijGLSmFUE6a/d3/1wiK2s\r\nHAT8dOP9L70cYvdSGvATHXv8AHiRWnt/GC1d/JczZKtTQCpYKAO2wBROY7oq\r\n2vtjYiaISg3dYXm1q+bX+Dm6QmOSw1XRyY1QO8AGtsLTW4t6e2+RPZRAjlgR\r\nk4g7+DgpKen8yENWtIq3Q2ZXTxsc8t9fD+LR/HkXUkNFCuuKsNxEOR1bq3as\r\nMZhd++mz2ykHslN1JJlXS7ftbQYNa0Vd23g=\r\n=LsRZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"ba8e17c27b8854890fda9499e1107587e641e9b5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.18","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.18_1647334289261_0.3261787053481513","host":"s3://npm-registry-packages"}},"0.14.19-beta.3927":{"name":"piral-jest-utils","version":"0.14.19-beta.3927","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.19-beta.3927","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"45c26615e3d281c4b6c6cac7c71fc78b8893aea3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.19-beta.3927.tgz","fileCount":45,"integrity":"sha512-jycLOFW95rnLTwKroGlF1eFjAC6/88CJOwEYxvQ13qOYeazq5oty0d9qoa+4Gi+oqgN+M6/65lLn1IXJAwuz9A==","signatures":[{"sig":"MEUCIQCT1zQjCjne0vOFaQwIrbhklbnzYIDg9ETrYr7P941l2AIgVV6Yw3VbnqHh8g4HXHKx8HSiFSHxONOz7snu7GGg2xM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMNMEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpvgRAAgsDV7iEpY2Y4u51NVYj8Q8GX1bm6VvSXt7B/OXfWC0nMa/+N\r\n3SF18Iuupu96wlS86BYlcffZJP6BSOCddStszGBGXjK2O1M+B347cUSmi8Ia\r\nFflGFoc2HDK3/fhESZ3MqMzxtVv9YzXbSk+P/v/4H7PaStOTbhwZHCv/qf5o\r\n8FpnDjUGveBmsqWutJyT0yNxsmYAOj4u5FsmjAntI/MdXFw8LdOGPF7zZJd0\r\nTNp1jyAIvs84N7VFqWyiZLbY/ZyI5AY93SBBijGi/nrL5ku0UK6mqCPUxJwm\r\nyfDNsDOVu5KA35IXDtjP7uolK97DPguNAcAfos3emQ8XdmcYsHMKsAeAXnyc\r\nBmEkcuzw+Jc6JNeTQ9tGsYiEX5AVitmUdf6RUTqWgMZJIG04mbkUv0fQo2C9\r\nZdfldvikfgREnCPfHRx5gYifAWN+JFRtbgfhSwdPI78vEFyebxW5QcMvt4yp\r\nRAw7IKthjGBxGB4TKy+dZ+yZOB0pDxfZ97/7boWqOl+GMtZSKOZEBRgCf2rv\r\nQ3ZPsK9uAI/jdgYN6MN53Ei3e695KFnPx4n5SSJSTAHIk6MSLKiFj9u/WSwE\r\nySRuxd4Hmfxt70Y/5B0zeQcABOkuNmjM1oDF8I+37OflYyNWUdlcEROg8m+P\r\nuCEUqnFWwtPhMNrCutZT4/G/uvRKf/Tg6L8=\r\n=nn6k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"32fdd3a819e4397c2fa853d9c9e637153a7c44ea","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.19-beta.3927","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.19-beta.3927_1647366916576_0.8652868305612766","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3933":{"name":"piral-jest-utils","version":"0.15.0-alpha.3933","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3933","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fcea37ad7d155cbae7fb435cf705dd0c93276532","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3933.tgz","fileCount":52,"integrity":"sha512-bgISlkawWJbA6/ksMlOGYhyQJAQYFz+h6v2qsiI/rgZdYm7cupy4vB9KS7GJGfj4XCmuWVNxwny8DQ96hVghNg==","signatures":[{"sig":"MEUCIAYwvhWzrwsVEd4wfjKLP/k33Y2wg1eJnA51ZsRAZORwAiEAgWzeZjb8ULfBcQT1ZaUilvqtU2GRKoSD92SB5NC3Kf4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMbmiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQ+BAAotLUn06hzF2Aaurwo3jdf48rB1ZSrcw6EMcPQPFwXYwuM4X0\r\noSf/I50FHKuUbGwliDAhOJIQAU34/SSM+oj3etz7/2tj4qD39SnI4JBfNHOP\r\nCPI3uF1Wa/rz9x7N2eAAMlJn1ivamRNFCqDNGs3sj1TgfeVPFgCNP6+G5wwB\r\nArIlZllEK/+3kj9SmyXy/BQOuJhGHiOm5DT7ZCrym2isQqPQgSAC9npsbOSv\r\n1+gJrp4hPlmBQOky1rTSHwBJyL390FpvgK4LtpJJ4pJvbJLSevW05/D3jMKE\r\nuX95VeGHeAy/S1Ld7ExLuFOeCpkq7HO7zq81ypc6sBj8768YHl+VxO60x5XJ\r\nh5/WxIsYELoekmShp8CMFPXt7o1mIEeVgrwgYnhP9g0DiAv+esYnpyRVw8c0\r\nJyZ/gE9i3jNt7yvUqCvuqwZgWH9Ipng0T+VCnXDVeIzEBLcaF72aGTraiPx2\r\n9OrNhI6Qu7ed/TTiZO6e2aE274eb3JU4xX8JwFDI9TFL3KROF79RnHc6ktDC\r\nTnJCrUXOCjVGXwbVZ8stK+7h04zIiYvncAls3Ev0F9KcA8dBUxicrZxzh9pW\r\nITznYPfLt1sBQK1Bouzv/u99RBQ5eKkoSRNsmJGtaRwmnpEehImpA82FWu3F\r\nB6L49wtSl0ZAMgwSZ0ku7RRqjXhR26YXCak=\r\n=1kTv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"520a272d09f02543153f1d8b2ae23a3ae10acd6f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3933","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3933_1647425954510_0.19467699321578813","host":"s3://npm-registry-packages"}},"0.14.19-beta.3953":{"name":"piral-jest-utils","version":"0.14.19-beta.3953","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.19-beta.3953","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d98cb5c74b0d312bf4ce5e04f5e84d55fda00fe8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.19-beta.3953.tgz","fileCount":45,"integrity":"sha512-JZf2lXn37hwl+7EXmgeT+tYyBnUMeXMrog8T2CCIAnAOTLE5eveNsEqkW/4gsKTG5mpenCzquGEPT1OpzTYCPQ==","signatures":[{"sig":"MEQCIE5OLFql7TN90BJjwmpbsRcU2Uc8or9c20mWfjBb75XRAiBtnE2MbwJjtPfKlLjd2Jxa4fc3tVMNyrCpcX+87PEbpg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiM/TZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/Kg/+NZCio1cxFNUmDODCNYfWqTIuq3znqcA75fO1mgWGFNCKR+Ew\r\nlwnTGaMyYCan26ynnmwWMmVhbFfdRMAaHX9j6JTbm5A4hxV73fcE30XPW2Gf\r\ndNpfFVwrgpOmmlhTSYbftbiuTAgotXPEUSbVrRONzqRuo+OR/YesWBjR5Gq4\r\nJTo+7nyx5tu0prr8INDM//wa8KYPg3WoZ7HKq40eSFl3+0JwS/U7MVpDU1KF\r\nQHeYIPecNLsevbHK4rSbq7sbEL/LSNbpwn7hFqrDxlD9pOn/jcWlWeg0XRxi\r\nWCW3pMC02Sh0IowIkcvwXb6kvvZbRnk7MYOyn7FkKgSquWt/Vqb8EkDnDLRL\r\ngojBeJWWdLqm9MsmEQXf1dOMbOeZiNIASJ4+BdE+AJYe6EB6+TK3t5wzeGCP\r\nuDWUnhg0foLOZ8ZMA1QprKA2/TGOYriEW8hYUZoKua736Q8Hc2khxcwhtlN6\r\nDsRAiusvhTSV6pqt7p3KNXle+kbNy3j7KoZ4ogWyUYy5MWTRhZqZHMohQ/j0\r\nbIE5Ezrg7imq8mOCeH6fHZL7Df+CX1qy4WMmea69lL0i1s84tjgt7mlwzm5Y\r\np3PXA7ftGtbJZtBpQdYRJOCHRmfav5WzkE0XBPGCJnK125S7vSUOErSDoIpS\r\nWogLoyx1oC4itj3WykmI5gM90YptT2rqNEo=\r\n=0ATl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"b36081fbb08175c6f2a88f5e076fbef69779c1f2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.19-beta.3953","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.19-beta.3953_1647572185008_0.850577568351699","host":"s3://npm-registry-packages"}},"0.14.19-beta.3964":{"name":"piral-jest-utils","version":"0.14.19-beta.3964","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.19-beta.3964","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"237896f79908ab64c899f12585390cf2748397fa","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.19-beta.3964.tgz","fileCount":45,"integrity":"sha512-zK1oDJTM0rNKAvsMcQYlXZUS04ffHZ9nVrD3jmik4QIBBYVaRIACxHNsn4R/JBM63AEXiES0EFeCPRpo3/0X9Q==","signatures":[{"sig":"MEQCICAyRGpkgaG0rlaWibo4L6wBx7HpkvevNYomoyJWfZ/0AiBzHwIWz7e+ZfaHensrq+ntBF+HrzWVOc0i4fCqMOjk3A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNMzTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1RA/+MQ4suxmQW0Zl/LFBFQU6xnYKzslZcZWDwVN10v06/K1052HY\r\n5B+puQOZvP+eon36DgNCKoaTnQ1GbxXdMXk6isxkFZJqnHywFNVtxBmJMYcH\r\nQPp+3D/n8/r8qSns66zbbemTgAIbzm3/CzTJ5ULfxaTI2l4zLZYtGqQBhrYs\r\nhV2WfYiK2y6y64K50YWWhe8J/NyBrK7EBxuWHOo2NsSA1qzKiK0PtWLjZnFR\r\nNDfwgw2uyubKe+z3XNjoA2v2ugX4cfMj/opJ86uWL6F/rIDm17I3vmFgocys\r\nuGO2ffOcobEqPoIp2YJ6exfQYjXz2ogyhBXSqrvJLJNQgGHSYmkHQDgvP4mC\r\nNqwgsQ+LDkyCw21sYDpeFUYLZTsSE69n86p+L1aFJxHSRub0p3HaD6mjFc5f\r\nJeOoaMajgFcOxyiO8j5a9Y1+pLoxu1zGWF+JzRoGu9/L6Dz6AVQ2A2BJD3Wp\r\nbT+MldVALcaSuFZl2UEMSbQCzj5mGrw2DrsEvDFjFEjnJHHXkPz/wSiL7V0W\r\n2g4FJXx5szbZ2eFLrvEurU7yi63QNQASdBT4Yh0hYkRMUbbHVTEmmVjrQQ88\r\n8fWghSH/2JYgQG4l9gQAUGTUk1D/iQY1Doa4fXx2o4FRs4GVkkhyCi5Wc+oe\r\nONweq3QtbEc+Gs2HKaCcsOVmzZowIuQ6CwQ=\r\n=8iE0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"64e72e3a638df49105fe8fce5f89547657cb015a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.19-beta.3964","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.19-beta.3964_1647627475592_0.6777928465889003","host":"s3://npm-registry-packages"}},"0.14.19-beta.3968":{"name":"piral-jest-utils","version":"0.14.19-beta.3968","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.19-beta.3968","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ff860207dc92fe53170226f9ecdf5a722a8e18ab","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.19-beta.3968.tgz","fileCount":45,"integrity":"sha512-LJ5399tA7hOW3a29Udd4WOMMlIDQBZ2/PHmjFfLN1ylhe3udqU+hVRYEJQnB60uUWROhoY5K5OWssQ9k42FqUg==","signatures":[{"sig":"MEYCIQDN88YYLKSwzfTdtse9Pr+3beoSsCE+oHaVi7j+jaMb8AIhAOi2/apvZDvqInhu/W1YDcmCY4SpmDamg88DQ4Vs56Y3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNe5UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvGg/9GwoGG0Kc59vGl1Mu85U03OWQZWPcKnLv6IY6XSGYeDa7Nbfg\r\ng0hyU0qE2QjU3I0SU9d+wIcha5V3DHOxe13fnnBQituEtmUcynw9m2ZQltVN\r\nCz0dQyKEEWMomkXRFZnyhd0fQRXFqkU9DLCjrRjP3Vty0otD1yHDaiJOeyfC\r\nlNAAyVKsTvI2Vtn4tlxktga+mGQccjVyrkNFcWNaSwDHFYSHO5h2pHzyco9K\r\n+IjRvV+vJWr/o3HTUJM4+0FfuiVBNRgaJ3bdRC/B0GCt2WLZ2OquVZxv7v4D\r\nUAbObSaroLi+d5//5vGv8uTo2AQvLgcY+ldYzMjqIjhqW7IEPDVHAtQZvP17\r\nHubuyOvD3Y0fLx0XA+vZRwq61grO9XOfEAEWQkcpQdCg3Vm2s3d6VdCbNLjB\r\nTGhPXZOqt7l2yQ4wYh+dd8zSU9aGwoIsGLmh8fBXBWB0qkqJ182oWrg64Lw3\r\n2KbeeN4zT0reDkEG//DjoVPWbQ9L1u4yKR4+UmNsRtS2LDW7+hf7jjqwnYNn\r\nlF49sxqMxBNbCI2PKwk7NCUK+YvSL/+Q04iIk9GMwG6tnBYeV96poIH5acCB\r\nYaHxUt6OLYTR9FDFu777ujIzqLdGbVuAYVytMe0mxpwZmD5nhc1XDynznp18\r\nlMLXWGgF/S953fWK49VFbifowFuhHiSIsKU=\r\n=HV60\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3065473b4bbbb26675c8973e5a53669a458ca796","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.19-beta.3968","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.19-beta.3968_1647701587894_0.04192674295287513","host":"s3://npm-registry-packages"}},"0.14.19-beta.3970":{"name":"piral-jest-utils","version":"0.14.19-beta.3970","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.19-beta.3970","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"dc9dba6b7fc461e8cc9484566d6cd9eadcdde287","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.19-beta.3970.tgz","fileCount":45,"integrity":"sha512-7OVvCLBkr+C6bYB2O0EoaQKR4hmAykxX4R0ZQRtmt+QOYJucmUTRK/LLMexooVSOP/5J1XIgpXiIeDHvOdHvJA==","signatures":[{"sig":"MEUCIHInRBTBCDr3UU9PK661FBxkuTPFyVnC8gardU4N6YS6AiEA6DaCQ/5+wcyTT3QjzedZgPA+xYElUOvTzPkzo0FFuOk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNpugACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyQBAAgg2UzBznwBiEaFlTTIGGs8TR4RJF0jQZtCZMGny35ZclhhqW\r\nALcGs1198ZcywvFOt6W4abwLxBHe76LKh/0tXVYGojSXUITEerzAENY23awK\r\ncc4tNihwl8Mu9CvII6gFsuDzoAX+lN3ME0rn/WURVcRGiEPCndePKrTfbPIS\r\nxqUZeIFlZwdOYMQ9GdmhLWuz8aBSOgwNK5Ssa9QyI5B5MM31qAjE5hV8Wn2U\r\nkFAQ6Tw583feQVSxsVCLh4a4nnabLqYQnDYXHSiqdNnRfHlwGiDEIPRQJYNx\r\nJdw0XD7TeqprfUWTElfM3AXbgFFK9GcEPCZXo7HmR88iLqs1c6ifwm4KxVeN\r\nZaKOxZBU0GrdySINsTj/QXarlPUa8+kp5UmSyS/X6hJ3dk/OFsvtUeTaOtJx\r\nMYagHOVmhHub+6xSGkJC9Oy/nRTc1MwDvnXP8XAOF3VMryALiMuqCc5/xrzw\r\n/RX9QOpdhosPp8TEmpayfTJyxnh2qGH+Tk+WL4mlnqIowRhv6aalqngTZxUz\r\ndiqbAAt/Ej3tppbFm/IUS0DyzMlvRq+w1US/choKz0OeFu5hyUgXbIK5J5BV\r\nZlsWTrD8ySAFhC4a3QClCYjlOIjLJUuhnQDu2szdqM4wmYdFdUMBE26YE2c2\r\nYznueOXyByZT6Z1ucgDKdJDbz2BZ5hvab1Y=\r\n=Gbkr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"8b31fbf437de7f335b748aeed3e0b06b78ea37b9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.19-beta.3970","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.19-beta.3970_1647745951982_0.7562843589945241","host":"s3://npm-registry-packages"}},"0.14.19":{"name":"piral-jest-utils","version":"0.14.19","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.19","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bb04bdfd297ab3ff337a6ba9d8058fe2e2293a54","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.19.tgz","fileCount":45,"integrity":"sha512-2Q5cJWLqxx7nFuNydeVJB/We87oNr67xINBSa4foFjwqbAl7dy5YA3mpP5YjRstZg4bHFkfCtLsXUEsK9vfPrQ==","signatures":[{"sig":"MEYCIQCY2yMrpMkcWJn/tMP/0ey0letFpI0x+HosaTd8pPKCmQIhANvvAGGsPbYq1TZ2r2xmvw2NlooZ4lDdsstoXlo8p+RS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNvoYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqrkQ/9ECvDikxb8FIFWPfGy1H2au32gb2VRHQSahuRrCq/ce9iKxZT\r\n505oeIBJPwios2rdzNPDWOhk4WzsAdynZlFkCjYnfh0wt0py736++AtTjsAI\r\nO28ulUm0jIZYYDDWKSBvoDKdFFipWR52A4kIOecKIG4FfrPqi2DINKRaqZ7y\r\n/A9xcAIVU/TEcHnZFLlOdISdXegpg4CYn9I6ssIr30fNU2Pa6d1XwtsYUpni\r\n14np4dfMvU6XLJ0VSxYX51SNbmvlWv22DPA+XCIgVCYgXA2lNFPaB2xC4c5T\r\n2nNQbwp1bUxaCGHPDY876xLKvuBnJLH9rumF7bZNAVXETYqE1gG1mkBCLdZE\r\nfyBzMWQEmv1Tnqe3xE6Nwt94WjR/V87c27iBFGNMTqT9Ivep92o7f28+4ToV\r\nygHX60gHpyQ1jrjP+hB9/b6SQh3ByjqTK5gBavyGZSx32UCFgEVqRCJji8kN\r\nvd/ARUdHbjeYamBRwoJRdjNPyPi5/4gSismlafa+u20D/drr0u1uUhcAPFy5\r\n41eQn3s2pvhXfTZ1txMpy+nCj50u4OWEBWOivB+IsDmXdJnfjqZJ2tjVEGhR\r\nqBY4wY55q+Rk85OXVpQGutePg+PO8rnF1D91bMAOHSl0KUIE0K2gQPWSF5oW\r\nvWhPcKdt+wpXybyeVMQPAf3qZv4EhNlZWWo=\r\n=MhH7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"71ca4a75ba4138eb5f4176e45882802f338ce3e6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.19","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.19_1647770136415_0.03503570866541783","host":"s3://npm-registry-packages"}},"0.15.0-alpha.3975":{"name":"piral-jest-utils","version":"0.15.0-alpha.3975","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.3975","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"734c77bc3324fd247abe4d75e6e435ab14abe73d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.3975.tgz","fileCount":52,"integrity":"sha512-iEPYZuZ1KlLHGU0mrV0KTv+1PO6/oZTJWe9Yf4VAVC4oaIjjqW0Wj+y4jImdDAQM+FBXBAQGE5vPHWZkU7Rz4w==","signatures":[{"sig":"MEUCIAfipjmCbE22reuqK5M7IrRRH3pLwcP2AuOnyxLFeELZAiEAvIkXQ6uuX7yh5+XBwcTnpVHdQFeORqkA4EJu5BlZMks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOCloACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq28hAAkjZ9OF1a13y7rUlouJr+Hw1hoscxGn21GvK5WnjZTEttLFRA\r\njVn/crB6GFQgRCmI5NFBpKrBFhdIt+Ju1ht8QnrY+RaLSBPcE/iNI7Chfh8P\r\nTWeft9ocCNnwxvJ/D2NlJJWRTUTrIMAn3Aa/VToRY1/A9FHQ93ENl8QonkAg\r\nzInPgmCgaU2gOiYkkMoJQAM79ipexvwHXZppBi9DEpNTjk6AIpUAzGebQq+O\r\nAKFKpikGuX/s1o+YB8bWp5HEKHkyZ+WFENRcQlwWNSCCpqKcEcrTsE/GGUB0\r\n+wLwf+SIpHJS/uCK+VMS6m9vVbd01wsGjuxt3Xfy9/L6t8/GjcVBcRscBMLe\r\nA9ARYhScd/7YBRVwPyYRF+JNcBbNrfQ4knsp0vJDldoTzsUVqdu7ele80UFi\r\nq4eC+6E7j4Ldsy7kmOQ+SvMHGOI/qrZBYkQ2ddrZPfGLGJ75pGyh7fVh6Xvo\r\nYRo1Ciuq+mP/FgpT8GbGvt86TFramtQqNDYP9H56sGzX+fMApDLLv+YZdcjN\r\ngX3p540opzoZDbfEoZW0aj21t9b5ghWRQoHrOcTbJe/tKehEDrC4Qs4S8hyf\r\n7S14m7QrLY6/cgXwlykuSNvD4TyPlXcusQaR1EAS8MfM+L9saoq4MtMcWgBY\r\nQEDPd0A8TG3Hqpm5O4+SE137g1oqefjagY0=\r\n=HNyr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"461d63cd1957359472018b32a56778da716d3406","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.3975","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.3975_1647847784032_0.596188232854264","host":"s3://npm-registry-packages"}},"0.14.20-beta.3989":{"name":"piral-jest-utils","version":"0.14.20-beta.3989","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.20-beta.3989","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"45585e7da3083b49470801ecddbb3040dd12f512","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.20-beta.3989.tgz","fileCount":45,"integrity":"sha512-KmSTsaSIatMmEJ1YMHVIR0jRkGJkOzAPu+jW9NHx+Gq42USJmW99XnwD4H9OFqRp5fB4c62iRcnvBF2/rhebHA==","signatures":[{"sig":"MEYCIQCdz6qEmPcV6ZnJFHvtjLJHlQMakdemtQUe74shTtXB+gIhAJipLeXOwI07sVmowOkhZNN1IEJaFjyaSv9mGesR/iXg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiO+uzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkmQ//Sr63xWCdaOuw08CzpfoQlbN0bkyHf5vg1SLHCCnJuODAkHnc\r\nsqvJ7AhB/rAzGajQYVfGNInYzjql+E0L6Txg8NQKwjlvsqMjvmSiRHsJP73k\r\nw1eS/gWhHlor24wfytlLP7m+eUyfomOMAsZWHtspwrJM+Xay6YWX40SO3b0W\r\nfmdW/zrne7SF5xPqoTCkCVNC+1P4NHwN5Hr0GHcn7l+xovWzDL+Fv75Sa0/S\r\n4FBWshPJLdai67rUvj1ycJAK+FZ8BFRRIDsLCv3RGkijFngA6Al8PBMANhJC\r\nq5C2+FeK5ykKbNKMGU1km1QK/2hVcXYAO7n9plFmYZMGF4YcLBw5SL+yJRcA\r\nvjb+BnxVTzH7lIP26idWCjaoYJxeGFD2SBX6nOHthaskPM587uVy3sUOYhSW\r\nGXqt8WiP57/A2b7T5l1SEf+CBS1rdPg3Z9gKUdB7RcfbhrHo4LMFyLag8Gkt\r\n5EVGxALLJbcXKr9Y3O9ynWIQ6e0wbJFFJSD3B6Kyx4pK1WJLCO24uYcc7K0R\r\nrJHMPORTk4JMuHtwMNWXHuKVDuG/1VypbAcsR7y0OXsGgC5LljuIU7Dpa5UB\r\nY3786GS4ZL1zbCqePtGjTiBo/J7xU94Sz7pldYzvEoemHKEgX+hjNfEVeqLU\r\nUY1PsOvDJplg3jth9XCSt/bgxC3nPk0gu4U=\r\n=oCFz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"50391554f3524d4490f9689a7efcb027725adc9e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.20-beta.3989","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.20-beta.3989_1648094131347_0.018753232695715827","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4005":{"name":"piral-jest-utils","version":"0.15.0-alpha.4005","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4005","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fdd0f9a29595da09b7839572f32e564028eb4ea0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4005.tgz","fileCount":52,"integrity":"sha512-48PNUSVDl40jF7U6Whouf47BlEREa3lbBLlCM/T8BvTl+jZ+iewLZfzHHsgWa6oe4zheU40vG4L4vWO9v8IGLQ==","signatures":[{"sig":"MEYCIQDKjD87pFQv0N6wbctIS3GOx3Fx1HDOtSc3ZDolaweQ3QIhAPkv9oyvzXFcP80hcdg3OlqDd3ZZa7C2aUq2GR/uilyO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPhagACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqV0A/+K9VmNXbhHpVUjys8/o7trxXHoO+zd7vR7snY7rC8SHLL8CPl\r\nriiWq26op1ru5UnP03RyEnNVl4lO9QMqNHJQxwx7C4YGUOdeFKVKMr2gKdNf\r\neICXTfsm8RM6ZpK4EPi/B/M2gwh8EyEa/ExfPmAvmDbWEE9exSpl+hC/4T1S\r\nZO/YIHjtNkU6J1nQSdLCN71lYk6xg7BgnGNXZMmyYqGQJWPNf8fIM2xPrMkr\r\n4yYfdWz9eal3Mcm9Jn2IuyyJc9WY/vnYAjEpHe1y85WOOFChwJSk6RaHiMA+\r\no24Q7YBeaOEV7aseIE5+boP1Pl480krTbgcJ0+fy5MHvCfy5TnKIEtyjm9hC\r\nS3e6z+oTySxFn5oksUh6jgzJBALAi/L/3PuPUuKRFDiitXj1EUXMglyXDojh\r\nIpjdkQXXKCyXmQ+6aoaDzYICVVd4hKg2Yv1hfhWaCTi0Vj8PjPAMeNzTftRT\r\n6sbkJswU9jL6F1BEhlic8pOywxFSU7pMM1hcbSGr5yudAXHxeMekBC0mWVRI\r\naLfek6yz9TFAZrTV1Wg1CuQ8fM/g5sWpOqM+I673aJ51ndAtRReQFNmtVltj\r\nC7IR5T7G92/Yf+94wmdLFJfRb5JHCXrgMo6otEnoDG5+nn+7JFu0UmCmP60C\r\nREVmbu7yFJAl24lk/WIKnfrVZiM0ZkfACDU=\r\n=DNQB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"612f2072dea6b5d02e3672be3972e850ae95d446","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4005","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4005_1648236192016_0.37111967797474854","host":"s3://npm-registry-packages"}},"0.14.20-beta.4013":{"name":"piral-jest-utils","version":"0.14.20-beta.4013","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.20-beta.4013","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"dac9ff1ef3aec90eb528f2929271d7fbcbfa62cd","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.20-beta.4013.tgz","fileCount":45,"integrity":"sha512-+ztqfV6efgrNsA0VtuVIDQgS+HEHb+HjBwJtUh+NiogMmvdn0ZQS01L1dPoAMPDLOvQVCdrJlz1wCKIflcWcKw==","signatures":[{"sig":"MEYCIQCTyx29t0HxmOX6XmnGjOSSWiGMcZ7reaa5ZHn+wFygEQIhAL4kp41RyQopiQtJ7EEUyFEK4aqOQjYgZZITboo9KiYd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRMdhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHDg//ffb4/z2hLIHgwVAMOvgZZgXVSLhWNAOExPlcbzGA9H5nb4Eu\r\n2VKVfRJ7ESchxqbcZiVY7JoqWei9EDt29YlyK2Nzt3QHmMGNdI2puFkHEnA4\r\noznvORnuWZm8BUC8obxCpLNQ72b9x3XAFo9FFM70n6Ln8IbcWGaXkNfchSmH\r\nbXoAkca8ZmedyEe8GQuQFHkikCfO9SG0+FqjJJwS2yBKlLZ2bsT5flg8AOOF\r\nE3wCi9+GtJ+yDe+xAv3e/WJNIYRkafm7oBs2rSsIe5gEA6s4Rhi1wn8rZ+c6\r\nOy4s10lSnbL32qUATMnk0W+wCoaa0Fa313ABKzDmwIr+vIMDGcImY/D9QszG\r\nr1gMe9YHeEyJ+s0lxfpQf3t2pR/8ptVkKRn1nMoYEvDMiZfDzzKJr0UqJyV+\r\nvCsRhzYHIV07lCTuh7py9BIJCmIIkbopa9PtZp6LatZDKMVBzKLm3LJQrNxp\r\nIBR1JrWx6jxZ8kK9KmEJYb2/Wr7zrgAgg65UezEv5cfUxSjr9iXLbLdfFsq9\r\n8wARYScMcpz4xVU+xDWToJO/DcPoKedD0VodkSImrBYZEPbaxOKhk0h9hBRn\r\nyc2mePUDBEOtaITrvdvgOqaPYAKoQpmCf/0JOoybDGBOw5jAkdINJz2VWS8O\r\nR1n2M4gB9x6b2vIS+xlDM5qcAOfx4QNMJm0=\r\n=KpLC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"a3fbe2ef8cfba60b090224c262b79d5af5bb321f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.20-beta.4013","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.20-beta.4013_1648674656858_0.15177241353942672","host":"s3://npm-registry-packages"}},"0.14.20-beta.4017":{"name":"piral-jest-utils","version":"0.14.20-beta.4017","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.20-beta.4017","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e7bc4dc2c9856595e29f734eb960c2b9fe7c6a40","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.20-beta.4017.tgz","fileCount":45,"integrity":"sha512-3MLgd3CTZ1fQYp6jfWEc27ahNVmmul9crCpWob8D0YAiT5nQnu9+9Lo1Q+5qsVHKetEU6TaYEy38SZJc2QXV/Q==","signatures":[{"sig":"MEUCIFoqVkWa2pIrXcXvLoTGKztUnKrSSD4A4B9V3wTFYQI5AiEA9ZHPP/p77hZrvUt3gnL2q6qXTbdryd9VB+8w9E6KSRU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRVhxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPZA/+IjqTkVSTrP8wya6jaIgygrPFULflvKzxH8p/8mx4o0rRk+vZ\r\ng/tUR0m3r4ygy1/CVQPJIPkvO5SftAgviPARChGdjbnE12ujhCUjS3mcz2tN\r\nO11rH38xN9d4FupTr34xcpZ2MF2/6pgYTyRYXQ4iIdnRDOplExCNUsfGIvmr\r\nRKrd7U6cm5zfjJFNQ4RmtJePyAvzp3e93ocRWbRtE8fTWqTTgiJtbBrBgN7G\r\nmjk+Jon2lfr5KiUh9C5nF66GqUwaYx+KN5SjZ20nl5xcXwyWHtKqFGkRQ0Ty\r\ntMihGaWOgY4pOUTuJ9SYw5dZYU40WyB4O0OK6QuT/ylD2OADBdrHkqN+WoAC\r\nn5lItVh9VVz7FIU1Ws5QXO5qm19QLbRSPIk+bf5gsR4s5av5lSvqx4QwTL9J\r\nyZlNy/4mgKJRqh6EDnL/2DG1LcLam/70fU3YUFe5lUbYa8Kq1jCwJj+YYuXc\r\n4lm1gbJ5YJqWfSlqAbrZUXK8pczEYZBNg4/eHvrkRJ36lX4UhyK6KBmGN7Fi\r\nE9NwLK/8O5o30rYpLLr/he9Y2koF2jlzWixWLwFh4O0Sm4OvhySuEq0fi/rX\r\nURryK4ILsgv0H3RC3210mgzuWDg0pl0F/MBz+fGMY68+nBv/2W+Fi1PD+93K\r\n5U9dYdiUqVYzoLKHJD36QNq2E1ODvkI9WaU=\r\n=78qc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"cc5c00f21b8ed4e09a8bb65b8aed04f0deeffb9c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.20-beta.4017","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.20-beta.4017_1648711793102_0.8333832140135713","host":"s3://npm-registry-packages"}},"0.14.20":{"name":"piral-jest-utils","version":"0.14.20","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.20","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"87842554cca0425356dc4a31d2d2b682e17c3547","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.20.tgz","fileCount":45,"integrity":"sha512-tARV3CcLau7Pv1c0vkl6M7JIWq6rDtdTV86gi/4r9yqRGsXzY9OiYpOQxiB+VXhKLsf7JcLXSXNlNeWzCPlBuQ==","signatures":[{"sig":"MEYCIQDFbwD25xHXFbSVKd85R0UkKy8pLxiryry+qnX5dnlISwIhAPPXOfhXwgXgTqVFu9/f34tUP/5aIB3zUDW6jmgTSuqG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRrd7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptPBAAhj5b3M53x9htdBAapgkU3KBrP4vUCKKyJmtVj4Gnppz7Hvjb\r\nYY/5p/2ks4SUbieicfQeKy4a/DtYsnt5YQRXN6VsgzLrdteELGJs1ZCRGxxQ\r\nzy8tdJJry6NhtOzXmzApAxIeiH8tiKbGRLFVVgD4YlIyMay9IR91QAmyn82d\r\n2bJ7naovVWjGVy7O1m71vUoF1x07OUWPUaeXp1TZNtuQbog8jsLsMgXeZ8Pe\r\n3/CjTAqbMW0LebYyXmyLnunbJYB87962Ss0xZwB/pk6NIE319lPul6LXVxX9\r\nZ1qPQoXcG049TQicbOBU0USXdcmu7ZwJZezq3XT4YtARKbRdsIlTLgR4smM9\r\n+/htiPnEjK62Uz2Jf2Pj4EvFKGKZ2V3ksjtLtIxmy2JC7axnE9i8u8QLmfQd\r\nAj2vlRKCWzhJT08meG3cQKWzgfPltBYa++FppmoN0ihMeRQoDABPvnEfP1Ix\r\n+nkSh9cV745oEHe6Iv0i6YiE7Q683G3vyDEi4sIp9hJXIRaWZifizbB0PH3P\r\n86fyYX4FQXbDqvWtj+QiEobMHc/t4cT0xa6BOhc5hTcZXmCx9a23AALzJi64\r\n0vMSUkWsg2RkzLvMt7Pu5WZ9JawBD/Vhf7eC/iWReU+86PEQioojADudSKgV\r\nN8VIGbP5pt3f5OCY2B5aHidFnDALuMjF+4s=\r\n=VwUB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"9a7775dbe470e2b10d31d40cfa9f286309b43ff9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.20","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.20_1648801659047_0.5065096194081935","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4027":{"name":"piral-jest-utils","version":"0.15.0-alpha.4027","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4027","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"98da7ef43dde45980f609b0fd8f4c9387e14b1fa","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4027.tgz","fileCount":52,"integrity":"sha512-CDr/oMXt4Z8wTHPFJaLpP945htpfs0ybUwqJ2nnyaHJhkv3M+ggCO7znfnHU8G1ByFZu7qMxkSbShqkm84kewQ==","signatures":[{"sig":"MEQCIETfUHGCx+k4f1xnPzOO+oT5p2lTD7poDDFtEPEHtFRdAiB34N7ldD22xXrNfheXIGpeb+TPcj4Hu2j/zrdnm7Xetg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSGnmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZ0g//VhK+MADmIBel+nA90+NQVAYmhA9uEDquX23qbIcc9KEv6VI5\r\n2YBWR/XOgAo1MjYyN+WaNQ4EiU98fQ6pFo2Zdlgm0lSfdJuUEJw7ZomFxx5P\r\n7Yb2DLAUYx5lW5bxb/3zqvDAmS6zDmwHwPPrvqvWp5vKMRCQnG6yEC6tvxd6\r\npoL1rttGITnX6IiyYMwxMXNhXa1dgwNNxf1sJMpWw9/n1EFLKM96jH7ejDQK\r\nGwla8TSFvKtLBrs3ddzVVrwhANq1U4FfhZYWLreqH+9BhaPAbixfLuP0ljFr\r\nitqeyIYzXcrmxzs3PDpmQXcn8f4Nycn+X7tCbnso/1F4+ArlqXLBqUpr9BQK\r\nEnNiCgy8X9jZYHyIUKDHMytz2KqHlH0OeGyxPdbdglcYjZ981WTceZRaEzm/\r\nHnjIt0c54hz/kyASDTCmM2Ikjq6Q9cp4uWFAqgQv9jEKCYoq83756WQlRqf9\r\nggHwZKe8WBncZlKlBY1cyr5VgXi+LBcLvnIrTHHZ/hnxqqHeBwlTpo2fHIHF\r\n85QcshyNKFBe6LWUv1RLXJRVDgHd2/RqPLk6LE0mo1+zCqocyrMqCzNcdq0D\r\n8Sy4L+I//HbR996Ak5jKPVAxrMsBlIqZdIozWrjdynfWVpc5NDXWQUli65i8\r\ngiidfyVm2VMlDK5WzIrlQfu0tchHaNZv/Z0=\r\n=WZnD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"324ff88850415188d0015efc509346705224a4dc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4027","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4027_1648912869612_0.4512512435754983","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4028":{"name":"piral-jest-utils","version":"0.15.0-alpha.4028","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4028","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e22c48b3ad6429d78c0d77ddd173c4acdbd54f32","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4028.tgz","fileCount":52,"integrity":"sha512-4pxLLdxLl5dFbYC6Bm9K3gen56mcNYX271ueWZAPoVqAr+VFAZaEZ8RAHQGzhzgiiDpMunPEpot8rOqLubCkxQ==","signatures":[{"sig":"MEYCIQDCrKcjDNYAhtsXBALQlb3NDPSjJi9+cYTih6YInx0EyQIhAJU2X+4DXgsb3Ii9Qa/USjVg3PT4udibxcXSqlGjkon1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSXgmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoiFA/+OufFvMKlSRsTZN+rKgl9AZ58/k38h0vJpdmvyM8Dxzc417TW\r\nNkhpf/Rs8PeZ2j1LSCidZ6PMfIFGCoawTWgLGLUcCNWKLSkXOaz6ZSayi3f8\r\nI7zuxDVXNERENO++HvNzhNt7Up/ZmSXufT/G/vGn5OvYCFEttw1zsvzt0dxW\r\nX7ZZw3E3PBuTCo8uJdWstL0R7o/Njc4T62tudw2XyuvCxI2JuZXVS8V0MhIP\r\no7wzwf66pVMFx9jjjAVoWUMRtFhRvZRW4kxbGNg5QKljpWJ3NBfbzq+TqHVc\r\nSvK3e3UIm8dEH0M+aX1WWdoFkY1oWy5pdWHRajn7lKyE88y6QgvFXEJeMe09\r\neN+6d49JJu+jjHGeDhB4b7VIOwEvRcoqnroA3jPzbHCryAszCxmt48rh+V3I\r\nPtszDaOblWPQ/HQikN+1exN1j92xxGFwode+QdHSmx3GNj02P7aB9IOEIRk2\r\n/zLs75zqqHGwisMTmK+/A82Yw4S7pXroffzSmcDpam60wGk8ubhO9gR9Ewxp\r\nqH2dW2AJKfgp58cJK1c9th8LDccN4oV8Fuc9UwnfC6CqTUnoFx7d2PQK9MAy\r\nwf9KxBJCiCZybYERz2CrZZhNmPH5qgSToG3CIQHkcvyfXY2LzB77WOJogVXE\r\nTxEvsXFhIjJG8BWTae7KVrWSBA9u1QtWRtk=\r\n=aT7M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"1ba5128a17c1ed2276cf6eccaf53f59339888336","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4028","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4028_1648982054389_0.5605663976041917","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4029":{"name":"piral-jest-utils","version":"0.15.0-alpha.4029","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4029","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8808af7302d5c972186cbdddc1fba124fc38043e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4029.tgz","fileCount":52,"integrity":"sha512-Fg9fsi0rnxjqFMacvRtVzsG9v+J4wS/zTWsWNO2DxoAilc0DyHLbnS7+/3/PxBRHd4v2kp+INQ38BIrbo14sMA==","signatures":[{"sig":"MEUCIQDvmJcPCDZOT9dDz/lkKBRuvYFDGaKrLI0KxaVVpyZEKAIgXm1kt+/6zXgU87SME+DOzxPCMiJb5vcPK0uRSLlb2F4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSkCxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpW7xAAgE35y79OWqfdm2+wDfmyzxZv4MlTPIyBXvXvvT0z5OpbAwnZ\r\nQ4c9Nz9Q4uZtCYLQ67he5oRYdjjXhMrm+9kSg0J9nazFdjraxD5W2RdjdbIe\r\n2IaDjs+CQKWmAaxSdCC3pjdM1dEWrSHML/AEAGAWm/ZHkPEeON3awy+xUwJU\r\niT8BO8z05jjBD1QtB6GiKrtDrqlt59l/+KLwtwPQK566oGtXUag1zsCZyE6Z\r\nPsPw5WZlj5XZI+EjAu5OPTTVEVLUuUSDV5w7uVcr3UoisRN0vCj0xT92D5gR\r\n+nmpNFBVAWa0t9AE4arUZrgVrFlrLdsoufBLrAyTinmn42VBXw+hBzbeMV0u\r\nUyx10L/JRqRg5ltsciQODWSNY0k8Nln0TOQ3iep+J8GfB1O81QHbKn+usDBu\r\n044VDUx0bvC+2OWUidD3lbrCgl5JYl7ZwUMqJ1VQgzgnVxTPoLVTjW8Gf4Re\r\nxVnIYMM0wWzzSHebLifF+369TdpyEO/0dLQS0SGKFXi4xjdptzIE6vYSqoiT\r\nqvgi7AJwoQDwTrJYqK+pQqHDXwNDNmxlKmbfFvWVgMNsIkArFvZOpyigpFTJ\r\neAxM7FJ1bISJNfVpPVeEfnpIkoDJqjogpk8uEbszstNe4Pa6K2cAd8THrO6W\r\nwUOGEbgHp8c7FTilreVzUYJD6gUQnGTrCZM=\r\n=HFEF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3015b782967998dbfd41ebb7367c9b4d7836ba7a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4029","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4029_1649033393481_0.4016821807404749","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4034":{"name":"piral-jest-utils","version":"0.15.0-alpha.4034","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4034","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c4e898728cdd32cf5c2d65a1605fcaff76bf31af","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4034.tgz","fileCount":52,"integrity":"sha512-hMFborOb/7l3XH2aZDLYgVeJpFmWz8EPRPy6STwnsMIrTEHmCfcADOhDXE0uSNCSjHvhZX9SRShpvTHNBR13ug==","signatures":[{"sig":"MEUCIGVNkzZHWcWuxF8ctWty3LtxcTP3E1DxRVgaJuwkR8KpAiEAmeGoIKaYlCQAgE9z91HYfc+YX4ztBsaZy3JhPges9B8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSrP0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMSRAAg1+0xffFuLacoabxCJS25QPGCP3y1SxKiBj7XyBPPjtxf5iE\r\nxeikQ7EinI+z/OhRP/naXT6fQm3Spw0mcOOY5d4vm5H0Wn+rbcApTyrOmj8i\r\nY22mC/MwePPjVbBV7RQbiGZcU/m48L8NSckdjjl9Wlvn6I/jB+/KUnZ7wjfN\r\nDzBvU8C8qnJMt7fEfBI2Nyv3IqYQWBSX9OUdLcBYY+xHQB7roHVv5m8VCW+5\r\nOQV1+y8F2sHiB8TKrg8OXyMGBDOqwKwtDK/36QDlBE5T6YHtrEOvRddsHUw5\r\nqNdeRNWyiiRewaZBjF6B2Z1MwHSv18c4OCPuzliGgVzdXYIg/dWJBrJA28tX\r\nRsWiXiON+37pvQShBiTomigxeCJrHRhi6NRJnae3EFbwocGgAcBETtiNTw/1\r\nfu12gIugpkw2mD0F5wUYvNaX0cNXskCDHG0Kp25jGBAlP4clBsnXLJarOmw5\r\nUCZ/35N6djqPPp065cDQzcE2sFgiCmO+JwQ3ZuN+Umk2RGdDfd1icoKLKJ3o\r\nU1iLR/an54CqXEFjywCteLUR2qrnfzyUfXZrceZ/L6ZlOOXHhmWz3xZtipxd\r\noLwCPNrrrvPCqhtM49jR4LlJcBBfgquDS+GwGh9CeQ4O8Ga08Yd0ZXe8OPXZ\r\nNqF1TB5k+jMa/dFIuqD4IzS9i4NpVCkYkUc=\r\n=YjlH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"7f9158d7fd10d640ba9c092564275e4cc426dff9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4034","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4034_1649062900359_0.09085567001736883","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4036":{"name":"piral-jest-utils","version":"0.15.0-alpha.4036","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4036","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6763633f01b06969fe996e4b835fe2ed79ba52a3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4036.tgz","fileCount":52,"integrity":"sha512-/IpyPliOs4Lk19ooVKgBfiXGA0hEVWsErYAXtSluW3Tfapo3T6FpBRi8kkuqYELcUMI/3rT+xT+OPsGWTOlv6w==","signatures":[{"sig":"MEQCIEPKFfZZuuhF/HkloQ9Ymnf9Rfa75Yj+O7ozdNHESdgSAiAtMDiTPT/Vj7RWhhzQuHARixCmSBgBnWt8yASmdCiY+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTFqLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoi0Q//Vh64vBTkA1ktxuYvQnF5w/POayKGyEOrLiAMTO3nP4PRYmAI\r\nlx1soUTa8cSpPolpsFpmvLDymJYYHkVrlCj72aVJJ6txZMK3GnKBYHrYCFwL\r\nexmt3CdRwsFYqyy3TY8HcMhya+D4G9nYXIwYR+yBP5sAPqyxBS+R7K9V7Rgl\r\nhCYUxMh7F7WDFj98BuiQAvCgb2dTIFMJ91yNjxkJgNJYH0OhowNHQ89hYB3K\r\n4b/UNvjT3N7u3nScOKxX8ENS75HDCBMJbrQadqpFV02yuGWo7ooRX7q7VmhY\r\nSY7KvF5EPlyL36L4nTzTpc6c6CZ/1kc+aZ8mW+FWQ4THs0bouw2twjlG/zBt\r\n2D+PpLBOsMsj+IXyamVMslT/ZBWvoEWqvS13nLbZkUIOxLn9YZ2lWqctzolg\r\ncjO9gMy+0fJGVwOVdA/f8K7CDpile4z2fHlH+vrrdpBlZrORUMJNp2MXLnty\r\ncMboVL2uUKY0Fjv6SjMjhoIOowGmpphWs8k1lsDTfomppHgUz8e8ZNO5fv7k\r\nOdRqB/0LAdiiqx96PRKI3f4LeYOyrfsaNVqoNan54SoQP0McUuG5eTftmtl6\r\nAlPKRMKNWWR/Pzx/MD9DKw7fwWI7/ClFEYNMQba677KV5G8oSakSi9RcX94Q\r\nrtd0fDbjyiNknq8H3QbfabsLq4oFxPlWiJs=\r\n=QiN6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"5bd5efc3af82380f20e25d821a0de8a88c16a670","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4036","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4036_1649171083559_0.9249148664271936","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4041":{"name":"piral-jest-utils","version":"0.15.0-alpha.4041","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4041","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f7de0e35035c75361ee6007393bf6870afc32ade","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4041.tgz","fileCount":52,"integrity":"sha512-KIRBCXOVU/8132Mp9uw5sCVWR4XfuRar51feDfoSHY8TDk5V85hm3syloxcXUh1pch3adadjd7XrTlPRul9jdQ==","signatures":[{"sig":"MEUCIEoCiVVsG+5LrFppkVi6Y2KnWRtRJj8p/6A5E0Ajw2p6AiEA0G4J5227AYpOMdugq4Frz64J0rMG9XOv6M73KPIS30o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTuRsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrA8w//YUeGgRKXRxbiBWFaGOpQppyzNsjvSpJGMpkwK8knDl/dK+Ed\r\nMbL8qbYrCF+JxgnETO3AbLpsFOrfmcSNneohPahrouZb0wuwEGXf9lpgjHXG\r\nOVKv7VVDZzhIDSoCuN5Iqsd1pgVPzm+nkSYrWBqDHG2fZMW/eUOg8C0sHhJE\r\nZBiJvzdJ9JQ17kQcjVh2jEh+EKcu9Xe7Tm6R5UbpS5tLtj/jQzXRiH+gxt6B\r\n282JamRfDtk4FRa5OgGSSr6FZpJguYzF10ncl5DcVLRpci1wHWyLdNMdElCx\r\n+lAq/I4vUDf49G9cbMcWFn40OEmj4ppXNGp732bW8BNTU8GJcReeGBVDE4ql\r\nQcr4xaZyNoquPMR2QDLPlZ9hkb3LGoW5Jpb7JxCfFNGrVcI4JadH3e0/stRE\r\niR5lknkreizZtSd0/56p18EkWX0u43xgUWteLJoVcl9gDS3/Oq4pelyhpm/u\r\nNmjMSqlj7ioVGgjsFeycACWVdKXiA2qwyrMVrhrfdQBCz4TlrS5HXHeS8WUA\r\nnDb+8GqdfcDdxZgnNPIZnWuq/THuQrcBD42hlazmxQzlM1U/JLuD3/fl4gu+\r\ntrwq/pLOhcj3i/Bnkq5zgsR6P2m/G4pjtSHfGT9yk1QOg8zqKIyDcKABbugt\r\n1kmi58rdfL4tvunr4bm2QwP448vOxUBPCIc=\r\n=NLzr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"3d305d88c72e3e05a44acbf240a38f6ad7b03959","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4041","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4041_1649337452379_0.367282143654331","host":"s3://npm-registry-packages"}},"0.14.20-beta.4064":{"name":"piral-jest-utils","version":"0.14.20-beta.4064","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.20-beta.4064","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"272f1c73d0be1744ed6d7b719617a5a95027f98b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.20-beta.4064.tgz","fileCount":45,"integrity":"sha512-JUaPQ4y07T1xF5qasGeZ/23brX4jodt5ifPuFQY+c65obw7e9Nhs4SA38dI/Er3alRtFQN4gI2qYHmmHODK8vg==","signatures":[{"sig":"MEUCIBnhoQEJK8XmNfVH43qD8Bq4RvnzR7aJQnSLF+aE/8MBAiEA3ABT6oS+zwK/UxIIhg2RrjfgAccxIIF2XDsI2uknFDI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiUrx2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqzqw/+PD6LfNW4XWohXDO+EwtddLEq2UR7NeBTmNrBdiEM2oRQ/kNx\r\ndMztj1uou4BckbziqMpXLt/SNwzu7eAxTyQtF8L+lJcvnMufDOIbwXIgJK+R\r\nmXsZxDTQbf5RmjfmTHRc2yGa8FDV7M0iX0Lnf0AmjTu/P4jfaTd5sohIf+80\r\nOMsXlPplS7Jry/9wianatFqjIAYOV5KQccpbj1PVAUP7FdsAER5et+qUWqaN\r\nC0SRypcQ/tKog03GhpvQkMdjN4tWIkyfkA23dlYWZY6dbmaSQsSsvM14wO1g\r\n1zqmxJYjhKm4s0+A6Nae8Nw4u9+O+L8hdCiPpweduYtp/DyEVznaYEsM5yy2\r\nf52+UlXJeImWdqkHLBbLy8+WLaimRWG4IQThCJGU7Bm4RHelkaR4tF1IURoF\r\nfG0GX48pQxuTFjMsjjIBNibAbXYNEmAzdU06Dm3SazuFSJxFzjp+LvQxdAg+\r\nL3X3YnCbqw+NigvqNEu4StLc3+30Ay3Lm7RXhohwRgn6uTa6r1Bb9dYGpYXF\r\nU3DkCBKBlbUR3V/SttgQWKQvI/Tcwfkk21OEl4W1elrHioawYIXLbwyei/wn\r\nza50UAXt6t/Hl0dFZq7E3/1SA0KKLKhksN15opXM09ZBMYddSt9wykCJ6bFt\r\nhMCMVU7tjwFtG1Ho9PV9On6r9qa7vLNF1s4=\r\n=rS9a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"bc570a7fe7c77065c4afc481953d711e32c84858","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.20-beta.4064","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.20-beta.4064_1649589366692_0.1810684547770045","host":"s3://npm-registry-packages"}},"0.14.20-beta.4067":{"name":"piral-jest-utils","version":"0.14.20-beta.4067","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.20-beta.4067","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"14e4ac75882a24f0111445689737a4b0cfae25f4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.20-beta.4067.tgz","fileCount":45,"integrity":"sha512-25kKLTQKbuInRTcHFA48DxQebtusEHv8HIQmApT+ovff4yqewIxqqqoDQAxaJsv4N0zeZXiqrkAr+ueOMHdeSw==","signatures":[{"sig":"MEUCIAZPPMVYgr49A6Zb3j0WSCpsakwCfinRNfuQ7+jkFao0AiEA++/rn7r9I+Psuj2FlcHzcfs6MrerBbdt1dmJw60X92Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiUu7tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrtKQ/+IUYgBFES3HZRLLrfY7OlAzcClC9jmTI2k4lkQXLrGVXU9ZLU\r\nJxth/9QFWGi0MmwUjLqRCGN/scnEhereUOJ77914v1cQeJhnPBxwIF8X5tHx\r\n98wIvhCIgyNdlLjt3uzqRvODjBTDGEaKPs1R+RGcHUhb0sZBhxhlgs+htR91\r\nlESXnxEOKLQDsWl+gXClakSTjY3FMrKA6s5ld84k0S81WXNYg/XAcCK9wcfB\r\n0E0Sug3cA8ImL4f7lB8fyFjvL14x8U3sVWfe9Z2T25EZ46h/zVSvJZkhdZwW\r\n4jJJuAS4aZiykpTyySvkBHYVZ6z3IfLbJImaTSVR+D4rle5+f9PbkHBcyXLE\r\ngPz58Yn7MLHiwYSA4vkIE/a25mmv2+hBLiuCEl47ICj5t6q3iILwQIlRMBrW\r\ntCE0PQZXvyxhrwabhpjMOqaZFQ3nKv4Wtjaw1EpWuzLYgwx+zRrPN5x/cngs\r\nSObNAqsbNPKQw57ScIGQGNjRSlvX1KA4nFS9XB12S7qDQT/wn8QY8/pIgugi\r\nAY1CWcxgwb/I1V3DcaXQVQne02SCVOrovWiHSul23mCFalInk3cClyRcgygx\r\nLuYyajJ+rKRewN8bQDIJAGKUaz/sCcMHJnUFQt1YhdHkfRVI/qeOEyknnTSa\r\nQUlx2J8zAq0GMoWS4/eo74Xkx4r5jI6pkbI=\r\n=bH7u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"5b43da5b2d6fab54ddc757fc76e34a603e3d6b0d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.20-beta.4067","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.20-beta.4067_1649602285775_0.045244207491134336","host":"s3://npm-registry-packages"}},"0.14.21-beta.4074":{"name":"piral-jest-utils","version":"0.14.21-beta.4074","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.21-beta.4074","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"84725a65cd1ca48cde2ba85f40b86ad60d5f9272","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.21-beta.4074.tgz","fileCount":45,"integrity":"sha512-BJQgu1A3YTNIHo+Ml2Wu5FdGxDh3IDz+KheOBbfZvtCHp3VnWvP4YGe/qWED0eYI+Z95tzWRXSPK/9zY1DlDdw==","signatures":[{"sig":"MEYCIQDAYH8ITlYieXWcET7hpXErg7lMM+KbQfxuiqdTNbjO2gIhAONFxczbmI/52KqqWUCkTrpxO7JDRDmEFRqnPkA5frGe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVASVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmorBw//Tkmec5Fe4BZjUJIcVdmfTXHok1rB/aJggVzzLY6dKko5EDoo\r\nl2baGL4GMkV8V6iiPDO9lWGyqqnmgGC/ULJTjZymXzwBMpF+/E3NsDokGNgL\r\newhvbBlutLv/ufN19mYeKEItkipSo7f8Frqx8HTi6KFYo5jtDIKtDfsDPfQA\r\namvIZeHwbvD3lTI0sIL6w3x+S7yFlpygge3wcVoipWOYPQE/CORjJKwjUL2r\r\nxJ3fz8UN0Hts9hHXBwAU5IU9+DbWLWC+z4Li5V6sWFaLVwWZeBlEcTZQ5t+4\r\nsLK5iDRaBGF9sW+aZRvxC7YKPVAelrpx+VyPFHRwjjG6dfT3aM9Y9ugGFRWj\r\nCmU6q/BG/qKMKDawUfwEoEcKi/0wzlGhFZmI7047EVgmvPuGRai/YMMVPsfa\r\n6aOPIg8NqWd/FAHWQbu8v6GwEWOr0lsWy77yMuyWZLsGb6a22Hz5ZITYMinI\r\nEGFLMPvrc+3FYcH57iVsYwWw2qHChLF2QuyQmmf2O9mOyr7RoqcknTMgXLiI\r\nIHnTPD7PVUyVtEpW/gCcHo1ElWsSUtPPet2hgsIGU1HNj8LgaibcXFgDiVqi\r\nrFzKUpHMJ9MESKwYZ/+/qdDEMN5ihWYDhPdnM1aqFBJmdxpFYschf93r8Va1\r\nnWPkrN5Pa9H2xyK4lYzN+VRBAOc4Ph9Ddd8=\r\n=LrMX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"dcc8d22f7d2b122da4cd1038cc57771089694c1a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.21-beta.4074","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.21-beta.4074_1649673365203_0.681438345238986","host":"s3://npm-registry-packages"}},"0.14.21-beta.4078":{"name":"piral-jest-utils","version":"0.14.21-beta.4078","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.21-beta.4078","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ff627d66af26370e7cca5d70c638452157a62556","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.21-beta.4078.tgz","fileCount":45,"integrity":"sha512-Dn+Vhcw5ZKslQwj378zTtust0GSjd7yD3VCq4WPwq+4fZwLKyBdwNFRmKZNit9kGpH8fwb7K4qBAHPkmNAYlSQ==","signatures":[{"sig":"MEQCIGzHBfVG7QyboGhqESyQ/EqzpoR6eS0NkliQUeTVvTgtAiADybDa0cRjsIU4dgmy+nA6NXk/iUcCx/Kk7JLv2IK32w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVGA1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTzxAAiBkBy36eY3qelhn4B/J2/8Mq6bK12+abPsdtxxJu20BswdbU\r\n1yj5BHmpQQ1h8MHwzuZED1noTE8Nq0fkM2MaDItWCQWPeHizX2lsw57D/GjC\r\nNJliwJcn9Nc6x/1YdiueR2iePWP1wjpntJ2i4cTwFFkOB4G0XH6/sOJ6pbhc\r\nyh8NntuZL/Hqb5DGjTip3qPP7ZaP58AARkSSW7JrFyPTh2u2aaXNmvAzLIDb\r\n+qRsqd42gQOusI3E3+/Ga+xERYvn+3/Xbq7406B5lCJcbIizvcmST7yhOnQz\r\np/l+HWebsI1i/JxWyYWJVZfp0vPHW/rWpGObkcQ1mx2LxQpdAJPfiqlNTvz6\r\nCMf0qATeGmP5ZN84nbiMWl7BfULJLGMnd0JeEXrTHY1/8rXfQrYEhQnBWPN1\r\nFBk6S5PoRWhmZ37hRYlmiv5xbQWQuWt67m6avff9PQYqQLreXGfRntKkh099\r\n1T7diMOXb4woxZNsimxAuTtBdXQ3akFUWHrWjN3JghAepxmfwSnwJG2Bhg4g\r\nGHKFrNI1CYieQ/uw/c2JOpgABCSE9x6cn6z+uTIRJIfVbs2s8kFYsVhWNzvZ\r\n26j0wglSi5+nPHqiDVOd1y+nskoOfL60NLHskArjQwK+xWw7cVn6EhBpnBYh\r\nQc4X7K5xDX7CiY4wjHVFmsyAkdPrg1UsoEQ=\r\n=FFqG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"d749c0bccec08ba46738559a398f276d4adff221","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.21-beta.4078","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.21-beta.4078_1649696821232_0.25128641647540095","host":"s3://npm-registry-packages"}},"0.14.21":{"name":"piral-jest-utils","version":"0.14.21","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.21","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"257ac0d005fc5a00853a1e7ff17b49a21c765f8e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.21.tgz","fileCount":45,"integrity":"sha512-4duOawrJSRdmkhPXyE8fdodvzX/pe1E9DADqRhis6l7VJlF1/qq1uxo/MTFjQEB52gg0dtlvtmmA3gNeJ8lX8A==","signatures":[{"sig":"MEUCIQD0ishtojiMlMUnQ8NkHX03TJ+Bv+nTzCaArmYtQDLRgwIgCdHQBrmxY4brwUTL9fXDy5ol9391agkYxGj8UVKGQfo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVa9IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVoQ/8DYG8Mx//8N6YcS0YAP4WTtSpe9sORO2lZxJuj6/DhyAYLDbw\r\nHNcj+otWkuDFUC/5FlvzQMOCv5nhEj1qz5pM6N2Qcd3SDHbHsOLWj1QWKz4N\r\n58JMhYq+zdKuMQaC+kTxOCjwjWlh5O9jZ/olSlzO+DKS0WsgXxQ5qHPltkvk\r\n4fm6J4B2eMxEiEIod25DxeRcR8R8MhLsthL/dyfbsauDLQvla+dXZlwgXxiB\r\ndDSYpRbUaWzvhL6yR8F7BsI10uNnfDRrCrL/Pe1+A9GfThwvtcQBJQVZM/YD\r\no/IW4h39NDbbPudH7Mhw1IWdNx8Ml1Yaq7+8d4QkiI/G5Lc1jKnple01eWbX\r\n6yfUHVf80vGKnwlbWq+YFni15J3mugru4JHhrMKri1erdwK/briCdPSmUKo2\r\n6i63mw1oKS+w7V3Itt7+lpryPAs1gBVeLyXaBb09YIXMBD3JhJ3NoNH07tM3\r\nASpC9KMCctpQo7af6FilqrFYw5ccKGjwANpmDlBqablRYBS3KZREJOqGeLSA\r\nNAicKqaX0dlIMncjBYHIBG/H5o1n2xryc3/v67d9NYvRjrZEdCZM7rQzWjzm\r\nZOaf5L5OML8bprL+S57R19qB8+fcxoOjkjZCotDEasyf+4XmQAHEUqn2Ur88\r\n8Kh9m2/JgU+YM3EwF6YiDtU9GDgpBuxFQb4=\r\n=9Sxx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","gitHead":"28d12711859b01c425da9242f08b6a7270cc3686","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.21","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.21_1649782599848_0.16635739618246848","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4098":{"name":"piral-jest-utils","version":"0.15.0-alpha.4098","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4098","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"52a385acf97d32b249039fcd31aee06f721d913f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4098.tgz","fileCount":52,"integrity":"sha512-bt+1FDT+x7NEXzmjnEWJeFg3gEcmSWCbXLObv4JZ/yPdEv2QmwwwKLc84NnFgcnN2ATmkl/IFTW8BPZB8+qytg==","signatures":[{"sig":"MEYCIQCHVJTyfsR5mvF0N2be4Tx0demzsRJKMN7szq1aJVUwNAIhAIhFoMSS7ER7TFpAeat87eHRP48AvteBSbM1WSw7KxuR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVuqNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPmg//Y3cyFNx817W9b3s1kD+g+oXIchKGVBKWSODR2Up4lnuqUSTI\r\n4qi7KjgM2ElN7nfQn8YyxJ3smuoWPAmU/Z6hV2LGG7tEAzM82DuvC3ClDBVV\r\npyWOIyzeyw93xUgTthLS/8WglJDkhFj5ZeLLNQRhlr2whXBj01LrggCBaup/\r\nKjX+FSH/75ezbNnysV/N5JWrrsFfn/quqce1nKqmtMXa2BP5C6JanhXwxi+Z\r\n9zkUemyF/c65OGerdxTqoDVua6rSQ0KMaSx7mWtSUTjEZepZVkkfytR9n3YS\r\nG+wSc+ac9DqQUheSlrAV2mGf1Awuku6IpEXt9gbSSJoThUVXVoqjeHog5/i0\r\n+y4elJjv9+gnyWQAkIk00mAM3dbSt742LquMCP6aA4C2yRKFRODt8xT5ToSm\r\nwFaw7ZMiaJvZn42pVmCmrlcXKAKOaFa6xtK6NTgoi8zdIrhrI4XwmtDwdETk\r\ng0XZS52L6QRsuAmMMDtsTTOBGWC7LP8BPItHC0po8GZwwjCa2eMRlBZlbHDD\r\nO5kn/c6Dlkj79Bx45E/BGFa/G6iwfmHa07n/zSU2oSnsK7cCDanu1uVty2rh\r\nFN1ZoC61By4+OO/5kvINqqTPqcsV4y3d58lExhxtCL22eS8K7v+XSdMTyifu\r\nFUxML5GO9VNsHHr63yz1HbxFtTxce9Bjayc=\r\n=JjFw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"02ef35574b29cc5dd93c515bfdf27dd523893b28","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4098","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4098_1649863308795_0.17902534383505908","host":"s3://npm-registry-packages"}},"0.14.22-beta.4103":{"name":"piral-jest-utils","version":"0.14.22-beta.4103","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.22-beta.4103","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7605b71dc280fd1fb2553d17d10a9790fb86d7d3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.22-beta.4103.tgz","fileCount":45,"integrity":"sha512-8Xnz+nkf94Uz+GuCBwc2TXif9ovJ6vrruQw3L019RvY/QyX5q3BdHq8chAzcrod9mczgqsA485oCiMRQxveQRA==","signatures":[{"sig":"MEYCIQDskQSRVdspWvELQ3yUC28rWsHwM/O6EA963gZ8J/etowIhANy1tuljW1TaWnZgCGpo0ecdAan5rqtdGo7NGf3aYagG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXdqmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr1Cg/5Affz7umBZcXmTrA7YAiZJul72bwQKscCXXI4A5hfhNbeHQW8\r\nEUIfYC00R3baUbXVlNaubqvf59p0BHxABNRfnuLzzmQxJYTcPqlR1f/kOc5+\r\nVvU6SB5xB5uNOcYsHEcV/LC2pcSrJ1r54rZzgpy4XryXrpjjTAhXBaO83CzV\r\nqD55Z2vlqqZ+CRgO1E4hmBCRSSZy93T9sYHpHiFS9LVZaQB++UPEzffHXdFm\r\np3u7dG4pM6fv7pIHJe7eA0vN5MhssdZHrvyNG946WhDhTmX1SbrgLSvlM8jQ\r\n1e+O+MkATbl196qqB2kZW5isCvOXLa2clUCgG+vX5yNG7fGCpSgw/uLZEe5A\r\nY/dO9b0YWaESUozzuHIcMlBKFOrGjG4MuWVJxO0TW/0wz+wqY0pxeD8VMUzp\r\nqih1EMTSsPNFhHUa51gMjeaWPM7sSP2Do4w18n/2RAWrb43pnXrnA0AYoluU\r\nV8tb+5stx7GT8qYMoIQEiX2FE3rTQiW8YmF4qZJ8dC/pRCzv129OlE+ii6y2\r\nzgwKI68+iT+2vS1u3RR3JlYD65RkXl0ghXe56JSQIOeYeyb6aLW2mquRrYRY\r\nAvc0wgD5qzSpiMmzfs7m0xgnVkW+bLr2eBL+eCG5hmTmukx5jX3SQYcB1Y/t\r\np59WeWKjHsAkmnIXPptv0sKFS0Do4uhPxMY=\r\n=GZDm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","gitHead":"0c44955d9c1d88a3b081bd779a2d60537ead1abc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.22-beta.4103","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.22-beta.4103_1650317990226_0.4197855735448752","host":"s3://npm-registry-packages"}},"0.14.22-beta.4113":{"name":"piral-jest-utils","version":"0.14.22-beta.4113","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.22-beta.4113","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3de20810864f2b2ea8b7af641d7ed75bbd7e3901","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.22-beta.4113.tgz","fileCount":45,"integrity":"sha512-Mh1P/4lPe/OrmpUI3l2O5uWsZ1LSbjU9jodZvQoZQ41SJnJPr5wjdB8xXtT9z2pN61tw00QPBrGZ88AUeipG+Q==","signatures":[{"sig":"MEYCIQDYCOptENQ1xlQTMpmQU8VG02S6MMqJgudMUz5IrU9uRAIhAJpdNHVM2N4Wdt1eLItqbIUrtySfs9WZv71IvZ2tLXp0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZpuyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoysw//fIIJAmAx+Ve9P7ashi21UDLYUr1k3IbUtZF+i0OTePbRxzRW\r\n977ZEwv4gAtbL2gz2UbXXsSQPEuTCoCVWrbwI3QZb5UJRkTEjtWSBN/LMYcA\r\nCB7jJ5Krn+XIX/rsRTmod1ZYoux3woGKnXm1/iqasvsr6RrkjShrlaRR9+jS\r\nfe91VY3D0kzjPSjFsgPR7s1UciVaWXnQkWHZIbznrHdYpJijUfjl8MW4zfiv\r\n4v3Q5eEgcqE2MfmXC77k3LsGVuCWITUuaKW+koP5zYQMc2XpuyNc4duwyUXh\r\nV8R+VSuoUYbC69ma1z3Yn1sLzrCCUtedZCInm7Ty/XHnG3Wv37I+3uHZaflD\r\ncHoBN8TZY7XJn0dto61D7vknS9rIOmTKBq1iaODCboGVN1EE3GZRmcPXHKqX\r\nHbe5MnWy2BDP2eMKNEieFXbftKyoe5wsWTP6nRQUxXX1BEWl5vH7Y4yDlUDI\r\nOPeAS3OR7UowEuveJ4XKyIa3/RZq19tvdCAJeUDy0sRwpE8n7X7bXOJ91Xmg\r\nBFUVWDb9E3coXa/wvO7Bra1VY6hsKdn6txb4dbYfRa1DS3jIwR8XrozKl2IG\r\nMG/sbOOwW5WhNZj/TT0iKFcizQ5cwriw8R0mvY3uQralp6otI3FucriTHwpB\r\nIVwdKT7Oe/DUOmVfIXSubYFzJPCVtLj+iCw=\r\n=5vyi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/":{"import":"./esm/"},"./lib/":{"require":"./lib/"},"./package.json":"./package.json"},"gitHead":"3997f0175dd1e48b0fb0258468d094a7f97d7f81","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.22-beta.4113","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.22-beta.4113_1650891697910_0.125722682965423","host":"s3://npm-registry-packages"}},"0.14.22":{"name":"piral-jest-utils","version":"0.14.22","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.22","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3d0da3a8084860b8a62146025cb18e2ae704658e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.22.tgz","fileCount":45,"integrity":"sha512-omrTN/43eUzqbep16nZ1VOpnmRXJfEVofQCZJRX7KKCSHp5Sy1fVcxOgUi72azO8P/mi9j/LV1B7hb8XxRw9mA==","signatures":[{"sig":"MEUCIQDYLgQMOBgEK6mY1xdU0w7zCwm7fXVEcylohPzwQOOn5QIgG1EC7x6xmtdNMamNBCEP7GhQnjvZ8AfuNxnrYkXAfrk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZsipACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWSRAAnTs4Wgx3b9nNSxfXnCWewo3lgc6Ou6/8c0xiLOuldwkXwuv2\r\n16VJ38B2i3MjnRhtf2sVFCtcoCF8WS0uOaG8G6Gq7ggB5CP1nQhFMAZv+YZR\r\nxaGSq/FzCCaceNhGiOJvjr5MyDFtOPw+IqQ/IOcb9DY0yFynXq+PCICe9mYk\r\nKeqc1YeMnGDCzg1VSYOD2W/oia0kf1Qo1ueVhh7isZCzB8LhBHtasUzBqtcc\r\nIXBjv7dD/mpvia6b9TpTF0yEZjkTNj57QcVE5Z9ICtwt/dwcrKaHRedtyoM2\r\ncE4KnU821Htu93S+mt2OyfqT9w+TNLJI1GGzXua271Z4ZoL9Ds7bVd7h53/G\r\nne+xvUuqFMb0Sy6A7bYW4g31j6EKJ/XlacZu0NSO7J/TrR8uBUVuYo5myP+8\r\nM6RKPEw1RI16WR3TAjiPlrH2fI6XKdiEJ8k+lCriK9CBypVkYS7BF73cNtYE\r\nOWMtjyZQpqKjhPks+10PcOakTsCqRE2kRgWc//hI/r0SjlcQHXAUwPH/cYvs\r\nBqSq8nWMazvd/CZZBnwW7f0u2wzru0ek5nPmTB6QZValp9GCVj7NbDvgDyb3\r\nfMiutUnT5qcTiNPIfcCCs/ZcQCC/w0P3dkbWN7+8Ws7av/Aqa0NUQDYGdkP7\r\nwTVDklfcA+o7g8c/fBhGndm7QO3B1zbrbaw=\r\n=kfa/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/":{"import":"./esm/"},"./lib/":{"require":"./lib/"},"./package.json":"./package.json"},"gitHead":"5b6e4ac5e478900d398c71adb6a4af9fd35bd1d7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.22","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.22_1650903208899_0.9242465143948242","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4122":{"name":"piral-jest-utils","version":"0.15.0-alpha.4122","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4122","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f11b9d2f93f2b080c43f54947a8e77f2d3fe5c43","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4122.tgz","fileCount":52,"integrity":"sha512-q6sMrOq/T47cwcoMBwpdPtfqXNGnjsnv/8adRJ4syQUaAncFuJVTyA6pW3OdMHe/siLCBotp9AOZ3BMcf3cu8Q==","signatures":[{"sig":"MEUCIC2Coz2XOriRmTl3CsBCR8NI8nWwRwkUA56zbZeSyb01AiEAjMIWdGVHltnVp9uVqb22Sfx3FzFlw9Th8sboY90Ncj4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZ/U9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEhhAAn/baAw07iRN+xdIYr6RuYuHnJSjpV9ue3C+m+zeqYodWYVs8\r\noQfJzjhtNL4Liz8yX+zUl7pEGk+xKx8jDWrld01f3Z0v/ExJVbZLRHwZggV5\r\nehhQyMon3HckmVEjmD+U/eT9aTHBNUe05Wnrf7sJ/PH1kdLgGpp3PVISgYuV\r\nDO03L6GRspeXo+ubEe9C2Eb1XB99cIKsPEAAlrM235Z4YkvCi+eAoYYPPKGn\r\n05aSlRsJLawkMWciBt77XJBrcMcHZapsCzN0fX96mjjEs0AbI41/I8GetO1G\r\nE5BR1XfUl4fpNsxT/gm3aWwp3UgpWn2/2KjC9zeNhNzbcdG2fCMzb4agsoBG\r\nMeQ2WjfXiyLyF5pzCvy09ms4zZo9hIGSKnagRCU5O9Rxm8Qlgr9Djia5JdyB\r\nTckuu2aduqk1QFhaGi5IqvxyONNQBFargy9JAEX8MhvZn7bgz6DDeBt9BAuW\r\nGWoXP87L3Yw4yWGOB1ZCaeo7GzdaREpOPGRDiflhN3Vzi4EakI3YO76zheA3\r\n5gty4UTwmUIbk6IngAWni8RGVNVvygzkxRwN0obqioNIIdjCn9y8GJK4J0W+\r\nqhpNKNhlN7BsJEKXfildQbWFSq6hM+Jh6Ocx4YUtGNQBoDqIskIQke7ec0CI\r\nFQlYYVXJQzMTqz2Gv5liNj4VNjuNf08luGg=\r\n=7EGu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/":{"import":"./esm/"},"./lib/":{"require":"./lib/"},"./package.json":"./package.json"},"gitHead":"fa0957fe7dedebbbd97a530e518c1a2b7754d475","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4122","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4122_1650980157158_0.2641174289710182","host":"s3://npm-registry-packages"}},"0.14.23-beta.4124":{"name":"piral-jest-utils","version":"0.14.23-beta.4124","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.23-beta.4124","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"336a49d611aaa522ff50b46c20973835cef012d9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.23-beta.4124.tgz","fileCount":45,"integrity":"sha512-I7iM5OGWMdsInuZqN0N03zHzkzGE9/4C7ChzD6v5iNbByqcC76wfnrJCCaD1bZb/PV/JZUljj40O1nEDx7p0Qw==","signatures":[{"sig":"MEYCIQDl8QQSj+Q0tEfSnfBX1sagqRdrefFPsZ9QVHkKFB3ehQIhAIWggJ5bOTTnbw3VFkVIt2OiWFODWkmzauWWbOUAaZ3T","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaV08ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSHRAAkqO/V75ibtZjpAC3VSp+BGLHix6qDbBN8j4uHSlmydb2kFaD\r\n+VMQ5eIwrEsVkjSO9fC2WPz2Ps0qZ4DujKevk4Vi429sHcDkb/Ysmw8cAc6C\r\nb+fRWPKySFtRAhAAECqa6KuPL+NtAAhV7GOvsR7RYhNDiow8NPmVZGwRZQ/T\r\nUaOj2XQGHzbwlFUUzAT4xlbEXmL3rL6BumUTZ0cj3jUSHKvnJZbG4luVsYbv\r\ncevtVzRMa1nsQFz6haEQru9PmKn/W2FpJJzic1EFmB5eMMMyCsmJrt+o9OS7\r\nzIzogBFSDy2KhgFvFjhOXpt+ZYaZpxp7Ua/ntwhi718lPmdLzadyoMEHL6As\r\ndlObCaIjgWxMCZLh/atPAVPF6gr8lUG+bO47Vmz0Qb/nY0FyGvYCqUy6mwKf\r\nCTr/+ln32OLxGfjc1hmTIrAzZnfrG/TiCKbXjS4hhxXzltUcM/0Qt29vU0uK\r\nlLY681WMtmJbgD5xoFImswzK65i3sVzg2AiO1w1BuQdz0RPv7BMvykNa0Co1\r\nAb0Le0b3+EyxxyrLDf+qoqkRCUse0bBLKYmFFKg3Nu09Jz5gsk7cUcsAPpSZ\r\nW+ifW655K4o/Myx354iS7sF72pOBSh0eDKWUfPIkSUZp/mjMpAd0jFOZWhiX\r\nG7xsGVumk6VAwGqYFnILmRXP2egg9rJnOyI=\r\n=YxxL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/":{"import":"./esm/"},"./lib/":{"require":"./lib/"},"./package.json":"./package.json"},"gitHead":"cc9d2e72edff0faffad79f84d28a114e195461a0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.23-beta.4124","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.23-beta.4124_1651072316152_0.8246777322157681","host":"s3://npm-registry-packages"}},"0.14.23-beta.4129":{"name":"piral-jest-utils","version":"0.14.23-beta.4129","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.23-beta.4129","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d16556c4c27ebd0348ea3e531409d2cd6d633230","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.23-beta.4129.tgz","fileCount":45,"integrity":"sha512-kUKNW1KU0IiKVaEzPKKLc3FfVobQBui+M3qSlccLwgDehYzaw5nQ5Zs64XRymZng4XMqZClIXpO+U+nz0BggFw==","signatures":[{"sig":"MEQCIFUxhkMiW0EbzUgyWlD3qpCUHIUMuKmm51F5wA2pjSOJAiBTcJ5RL0xNXnp5NtEqiYDz7Ofwf3PfmAAbIdQNB2r2Bg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibPUOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqZ6g/9FSYFUm7V2Jg2BkWjqhpY1DsuLvx+dgY5NRKXyknu3vVuJIe1\r\nWGicc1XSh6qiB+UIxYM0qys29YsBSMydotqnKeOk73sAA4WK+4Ik4wO+UWQG\r\nahOrlxJdThceGzBgOvQ3FOzp+hzU1ctSIcyGoRUwDBlwoPHw7st9EjcTWUwV\r\nJ1fuec42cF/u+29qs8ofn6+aRMGtV+DW6V/nb1eruC8S7vDV+noAVYgs5dB5\r\ndV8G8PgfiCoZCbZzYRvrnZ1V0psEsMae+3On1f5TauXemUz2D+6m/pfks1zy\r\noDVXbdh1Y4NHYJb8a63uc0eLCWKx+l5/RTj0kWTVfAihZJFpftmrvF6+Bdqb\r\nlEv/f8Qqe/cBXMqjJd3owvmmv+/f9pwsf/dk7fRZyQKXAIQ4L+5y1wPYHZMy\r\nVBsagqBx4hJQfgaqld1muXYmlUstM2dD9+33LlezCan85hiVa0f6G9eYoCol\r\nJ69L7sNWmFrnVU6pVEn45K8HoJxu54fIh0imF/l0oodnmuFYJrBFJZSB1fEQ\r\nVb+ZG0T/oA2vCFMuDiBF/53lVWXQleo8myVJJEG4lD6xQ0W6uQZKm4nfWeq7\r\nRBVjnpuIzNV6CsSbN+hXgq2qjbhg4oOx2ltFG81QwvAM8D6MmdedR0JIR0I/\r\nJY/sUDkUU+PPFg1rDKjP+TilPp6ytfBIpY0=\r\n=lpWW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/":{"import":"./esm/"},"./lib/":{"require":"./lib/"},"./package.json":"./package.json"},"gitHead":"713afe482d732f86c193c8defdc493d2f5da9b57","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.23-beta.4129","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.23-beta.4129_1651307790782_0.10295793896464533","host":"s3://npm-registry-packages"}},"0.14.23-beta.4131":{"name":"piral-jest-utils","version":"0.14.23-beta.4131","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.23-beta.4131","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7db367fa6c1718bd73e78553ef32936ea413b787","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.23-beta.4131.tgz","fileCount":45,"integrity":"sha512-2RPUqMJYzqc1ytEUpr+7TAwW7+cKkADAEiTk9YQIRJWtO/ewaQeffAvZm1Eb0VSFzsIFKAyOKEGO0OWFf/Cpww==","signatures":[{"sig":"MEYCIQDAFHO2Tr+rdRuSoMLUc9tDa+dsP+678vlHZur1JzMVEQIhALkRFM4N6jb/YuIL5trCA8H1srm1iqEvyDMRQq1t7UI+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibUn4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIfBAAhf+plRwF8XJ13exN5npn3sxmb5qbcYqKRpwe4jKS4TEZCev4\r\nu0H6c9VExFIN+WU39Sa+1AnYXw0UVmcHiw4SO1KWBGmIN4dFrN5Rk4MqIsjf\r\ngOFIiEtHOwhG4VnFofb3b7NRx3uUCVjuIbjcUgTeGck7obUyUIZWmFoqxOV+\r\ntUPuaInMhwhge61lERJ0dUn2Mqz+oUOo555CKFEXAu0H5XGFajcZfiwQUYtr\r\nswyI6L6laLbHixRC2pglOfb/POqV/s5WktweE+pqKIcVhDZEr4FJ+jMQAOnO\r\n8ABV+n0HKn0IK3ud8+r434wRoHwwzWa/Irbb4K3r1e1hImDZQgTiiEHBFwa4\r\nZSY4+58XVfCKKmrnfdoxY2NsX+ut9TM/vNC/EVU6XhDiysb1MOINuyRiX/6R\r\nM2hWjF0TOpW3dDe1sjurgR55oeLMIIbYwKok1DBKsrZ5kC26SUjvnWL5LWxe\r\nX/cRsIH+ikiiXTTeip0d2OBunZ+usc8dkqHnuq+Jpigvienowb0ZcVizL0+D\r\nob+BRkiL32EjOBkBYmVikik16hV4W5cFupatR8/WKYPnpnGTQl94/ZWSYMXS\r\n4zoQZcngGgQ1HKdKmUwew5bP0SGIFKjjP7Q68GmfbXMopHSjt95xSt8ir3U9\r\n+4ELYMllD3ik6I7N3QUzt2n2uYOS66SU1oY=\r\n=2bup\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/":{"import":"./esm/"},"./lib/":{"require":"./lib/"},"./package.json":"./package.json"},"gitHead":"94b0dd7a96bfe2c941b7130ad735be8ea253b052","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.23-beta.4131","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.23-beta.4131_1651329527903_0.5628380565330517","host":"s3://npm-registry-packages"}},"0.14.23":{"name":"piral-jest-utils","version":"0.14.23","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.23","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7b9a77dd993646824b74674b7196404b63ec3faa","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.23.tgz","fileCount":45,"integrity":"sha512-2a1yU1pnVlNZg/wpZrygM9Z9hpJu0GKM7QB2XCMCrgoYO2YI5ZS1qJznyTDXf1RilhQahJG+qB4tX9409lGtcg==","signatures":[{"sig":"MEQCIG6nC78oAr8hfNEGt3BBwtGkDXb+NZPfOYm0u0fSrZToAiA7M202mCQZkmSE/4fwwjWZ/GHiU/L2HNYtdmSqCbiarw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32330,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiboJ1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBGQ/+NfpIjqcYIcbgvImzcMxND3pfnoUGzIqtxcOngTwrYKrPIrjj\r\nsIVmd+OsZf4SeQwmOkAeJ9vpxC5RsxVly4OebMDp9dD6ESYPrXFXrlDk9uwi\r\nKIQQQdftrO+tJHSCMB/1dbA+/AuqCYsuXp+pUuOe0pejww8zlZ2eL1nj/Bgx\r\n5vZPJ9heWlavrHowDCWOKLXZiLdCyjznchAXhMEL026rij5pCeKaXtjNjjpv\r\nuY8au5IE4uCPH8obbioiOqBA8nmQw1DRKLeu8zry3FvS6dSOZ+WnmLDKAqMn\r\nI+DMV/krMNcgmPR/aPAjUevQ813IqCCH3sLo3qkKSNFfWnN2fQ2bCNdduwYa\r\nMG64p3N69w6ZsOboz2rf0eNYDPvhHMQA754Y5A5Qcob1Y6F98oUuYH6l2BBT\r\nKjS/lDg5p5R/H/rLX2YsYyuRUH7rPoTZHJ03Hc0hXM99a52GLyJ+kDQmRSev\r\nJYE/JClxWRt5HUn+N8RMsVWQkM1QyDqntf2V9EOG+mgiWNdvDdzklrxG4184\r\nTJBzY553+zV2n8EjJyH31tG8cu1CcfnNjkcr1c906WOenWPXgN/WrRrRhP3y\r\nyWtahC3yJYerF3OWch59e2AWTfy5ljP5aUhSZJr22XcG1gmTOLcgCYrz1spz\r\nu7SBjWeEg+QWU0Oo8oSNXJhONihjxEFwZhw=\r\n=yWc+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/":{"import":"./esm/"},"./lib/":{"require":"./lib/"},"./package.json":"./package.json"},"gitHead":"a571cbce69564b5d69a683826d2f83a9cf036fb7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.23","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.23_1651409525126_0.675681888792443","host":"s3://npm-registry-packages"}},"0.14.24-beta.4144":{"name":"piral-jest-utils","version":"0.14.24-beta.4144","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4144","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"030605498891ccbfb642c14fa353305c5ae46b41","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4144.tgz","fileCount":45,"integrity":"sha512-klr6cslHUJ0xGW1k+8mWTi0h+MooGBMzcU8AyjCE5UlrCe2KGt4pfG8AaY9Q8yHT6h6udWQl9HQjmoYXCYVlbw==","signatures":[{"sig":"MEYCIQCzIVNKHfidpgL2ywfe2QZdcAuFHPDJ6TN5O9yMY+ncTAIhAOYGjInO6JzguwpHQQKaoMBKOWAOCq8daUf9fHlBO6Q2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicnhLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7hRAAjCzJTnE3IDr3YdCVM/ZSolLNAxqkFIsb0KVwOKPA8AtkdJzg\r\nti4lmZqDLC/n8l56xM2PeSA9oc9uJvj6EACQ9br/XMVa3TBKxGn4TKsDJRmc\r\nc36OPl6A4qmBYtAzaDQxMKewkaXmDhwJifXgshoXq2rxjHr+Uw+LH5mKDWvm\r\neNlOnRWn1kz4pniHKa1QR3oajxUCDeG9sF/ZqZsKBHqrZQFmwRbvsqqOw/W3\r\n41xHnsxCPUVks/2GOMCG7BE0/LqE2cLNzoJtVQ6b0jnfFeq2B1Us/pkAmR+j\r\nI8ATl2iLA0uicTmm0IHAXnlUHU+tfugmP8Y35N7cTZ4U/CZGrGqgtjrwasEb\r\nX08OEYTRg6kyXSUoiI1UKFW82nT0HWOtZeB3tuIxQ3hc13RY844muuEdSBll\r\no9WdyNG2SvFsO1txqb7UBMc2es1PXJqDz97tUfw/wfDRN81uWQMWaeCaL/JU\r\ny/F9onOSUzlKcs5BOGtIqOo1Xht1wReEGqK5H/ECsX31edNqn1FDLElS5G2Y\r\nvZwsI024N9sMHf25iJ+8+PSw/CChQ83rhfVgUonq4DVFnN43ZO3QSFczYh6U\r\nkPXG2vV4FoHSvtwk5a2IhAWc0T5IlPlr1bywe4YHa4q/eKxZAhvZd80Unicx\r\nWBHCppIgvC6/EM5k/8+qycSyIM7g/SgG28A=\r\n=VPDm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b14c6360d67ae6fc0af29567eaf3011d782fd4b2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4144","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4144_1651669067719_0.3799210501299797","host":"s3://npm-registry-packages"}},"0.14.24-beta.4150":{"name":"piral-jest-utils","version":"0.14.24-beta.4150","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4150","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"281dec13657477256f7f024be596c8300a09cc3d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4150.tgz","fileCount":45,"integrity":"sha512-ZYfvhUDd6nFfUShT74lY8hyAwlqky3cL5g4oXlymEbBPJgCSSf3HowsWcbNsBleKHNAUE0NZ9XZZDD+r8DEgcg==","signatures":[{"sig":"MEQCIGz+OfSukcBJiguE1+tAKpYefw3ET4vjuNwuF5EtsJ0ZAiBNqQJ1y/vtRQgkxuJklZm7JlpcQHhooWCytLYGCQFzQg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicwM4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5gQ//VPQTdJxoT/c/obPWrOgJoB2QvJRe/x5m2Q1vSi+wlE0Kqita\r\n25UYTYUVdz7nwuXaPcnLCaQAsgQqfdYAiiWpoZ0xVA7cLXmAsZFC877SRhk7\r\nqI2BUQsi9biyqCKp9gMKl46vY9RnDwU2U7+o0Mdde7a9v4REhfC96z4Wwcij\r\nwWd3mOQH/V86YpfHeoqi+3vNVLP+QXE1DnoCH1eaHcFtxRyzbZ2j4GJ9jzrD\r\nqRdn/9sFFjCmNfTKluDJ/Vc9fCwH6h4JoRJp8LiRJQXdWNykbd2hSUYbyGb8\r\nbtgJPejyq/CBKHTvHr49zmt+kJ4EC3xys/SfdUEQ0nNrqvI9zBymR24J3ozG\r\nkXfifQMCqKyiJGGgCwDSAVTqOM3arUd/bUPaeSDMX6nLfB6RVbxv2CVD19tE\r\nsRvP4BQ5HAbhs4m25F0HFOqNWPZjOo+BKmzmueNvTiZ3uymcdrolLl4hHgsi\r\naOchZs37LkLzhN5UJqeQ0ifjSfRFbEb3opuVbpSjLAPM0xX+4TRAzSUkdXag\r\n25djPxIxQUPJLpxtgFPv/lsHd4Eq5SOgPNlbarSrf5G/Uha9876qPesoB+PX\r\ns8KAccQL0nwFoJLVJ34Xv2+A3FMPrvRM2s8LrLmQv90gRXjDpHB+beQj7qGj\r\n+RLzYoX6et5DMXK0y7T8ricbPHd4wu2NhRc=\r\n=RFMB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"3a3b6461ff039a1751494b6481aefa6fffbf22a7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4150","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4150_1651704632110_0.41301505958766294","host":"s3://npm-registry-packages"}},"0.14.24-beta.4157":{"name":"piral-jest-utils","version":"0.14.24-beta.4157","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4157","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"dac4375cc075d4cff51b2054a91bc2cf1bb673d9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4157.tgz","fileCount":45,"integrity":"sha512-dpwlfEfb6kkucdESmlMSoKyAgHqf5WVmMVIxu958GIjtXvndiY25ms7qsxVWykzaczJDS64VdcwfrEEKfh2kXg==","signatures":[{"sig":"MEUCIQDCZWjMyCFUpnYv3D4JNB5hw6Y6PmoVWcdJ4/AiTurC+wIgIEX8KwFMoAJ1/IudeX05qQetmyuHPF1Pg/MMbD8HA9s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJic9b5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpmhQ//YmdOvWR97Dwtb8aqC1jeZQxMMi7UjEF8Iw2RJ68pJlZkBd0T\r\n2JiblaPnuBPKEMXZ6UNtTXfQ00+sQlluLiRZtwoxJDTeSUqyZNe4MJ9nY4eA\r\nwNfahTKHHPsQeN94qimAe0U8UCChWHWzqR0/O+s/RE31b9HQo2e8CY6AEA1Y\r\nWCBM/ZewiqqcIBDUmq3OgZ3NZHHbvti1dD3SlT7NzcoBms9qca1MhSfiGvDy\r\nhmuGE4JkHzOnMTLLo/c4NXEX4X+VoXdJtofcXbQnQ2algTnzheW5IVQ0AUQw\r\njKMAlrymwJPUaycBQy2v2qqoNq3s1rCtsudmQr6sJ10M0c47Ysmxy7p84wft\r\n881zyACVvM46VB1VJ5nGxqSa6Libfo+n8GHn8+8KXU7krJGuvB0mdBivtHic\r\nEYfIr+UlXNrwD0vovI+mNXxEAFgkk7XVjq+HrsREVXnEdlbpVAtVF+OtWlef\r\nexxAiMafWHn9ZLNVwSp2ziGM8v/ezfPTNsiA0lXvHB3ybiNgSxIyX/rOwzoP\r\n9LdbaSccgMumDQ8WllAow/+oxW4tMX0VpUyw3nuLKF8kraM+UcQCzOMKIN+T\r\nO/24aq2aTIlNljjkEBP6FqWxbj/oRG4ZYrvQarlNMEfU63F33kWraAKtDplw\r\nnY9TBdZhjyMwDllZl2TElHA3A8ps5UbmaM0=\r\n=tFI0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"5a447634711daadfbe68b73396cfe75360070f2a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4157","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4157_1651758841579_0.7673833952358571","host":"s3://npm-registry-packages"}},"0.14.24-beta.4161":{"name":"piral-jest-utils","version":"0.14.24-beta.4161","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4161","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ca5718758e0dc50f20a91fe9d096b5f634d94fa1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4161.tgz","fileCount":45,"integrity":"sha512-E48fjGlXn4QknWdMK8tPZYxTjn5qw7/yZCW7rw8rIoVIIzflceMT809jS0/xlcZZVfukV+JDwRo9+LQN9nDt8Q==","signatures":[{"sig":"MEYCIQCYBwQRb6uI4vqUWOlqG+Y0kvEN+7LveD81ryF92k2DfAIhAMPs1fUu9F82yqbHhcqVpVbv0uP882RprsaxgY7abaQs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidTJXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCsA//QilOtKzJeLAKq39gdhufFfNLJ9774zIs0XV+iu69GOPsC/xM\r\n8BwDc91whO7UQR8YTCl/hG45equanOCwZTm+0hUPXWqgR4VmYryJUaQ6uEFm\r\nqBMCNnbd8v2YtKEY6njYeMh84NzQi8kppMMaba7ryei52XlsWNnesmEYDAUl\r\ng/B44hjmNto5FULPpOtIrY0n4qByWBNuBFvlHwVH5dVaM6cHodBj9UyG6/nw\r\ntY1HuEUV8kw8YRXDxWwI0ykeKdHzEvExLBYVobBeVWxFkVoP99g6h/eswZTC\r\nBnQc9gYPokd+RhfSnXKqZqImkbOMtp++g1krQZ0DbearrkpOeirjrcmOoemW\r\n25D2CXI1MFzC+0zlaaJVMlbnbS6012PZ0xHj2F3BiMG2Z9wcw7ZWZL91LiO6\r\nIk+NHAZi5xDnQgj2tzEhxWqYl/7YcHg9NCTsfKUsudoYZWeo/RouwuiyqZay\r\nhDiJFlDg297J7/fACk+d+WUqDz34zpxOUOn9N+1kguOkKipKmVn9ydKZZSi2\r\nKQ8x4nRphfZZKRCSFA2pYwIBvG0vmXYpJNVFWe8WhaqK6mmgbhfDcEXFvWa/\r\nF3jsCtvFtV/UpyHBC69OaMX7hGVQ4QatISpAsITVdpDMSUMuGX4FwiK4qPCa\r\n0UPgSQ1p8Q1PbG3NC1fk/urncW5yQJE2YX8=\r\n=ODf+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a3e3fde68f96231ad3a65b25b90d358d2648fc68","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4161","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4161_1651847767505_0.704022904565383","host":"s3://npm-registry-packages"}},"0.14.24-beta.4163":{"name":"piral-jest-utils","version":"0.14.24-beta.4163","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4163","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bd35208e14f2103b85da3b12bd98bbaaf78e230a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4163.tgz","fileCount":45,"integrity":"sha512-WhpQjqyK6HJ0R3ok+wh6l0xmTzVqaL0vWbUesCtabZ+yItPdMxGiGWUxrTy/Z4v9toH2p3oKRcpzkW49V6QusQ==","signatures":[{"sig":"MEUCIGs0XE2utuuYMJwMPBaG19F16G7bCxyXlF0bohUoE5b+AiEA8zgwdcCLmv1qXybF4fv2n3j6O8eRH2pNHQBXrtuUpxQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidbbQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzFQ/+J9bK7oKTNPosgm0mp7YMEm1bdAsHoigil8YCpZqvlIF8oq4H\r\nzC9jmqLxOS5hKXXdpmz2jOoNXLBRDZV3kH2iVVQ23kgMHoFiUSTj50eEGlLj\r\nGufP25k/f2hnj+ZWMJSdg87ILTJYYZYne2Eu0MXt52T1HC4ZjV71K+QWM4sR\r\nJcXkvpTSfJr2PC5lJ2M/21zfuo3wNIDv8/mfrmaNI85hJJ5o4HnkCnBlTvrZ\r\n1Ts1uo3kgWZHb0RsvW8oCRFxAJo0qi+946ts6Jp9UcFqMyw9WNu0iTswVqSW\r\n4TqLYts5Dg/TcO8SJ+oUQ1iffCt0S//jo2NkNwISR+hXm2O8O1uqVtUEX8w+\r\nicUA8sA6ZD66rIZVKkl8UxhpCDsABIapmmqmupc4onKOODN/Z2JzFGC6coWM\r\n1rUp8X7GXziOmQ11msO5GDzm75qtiHQwdZwIKUsgShpnqoSEHqhyaWN0iN88\r\nsY6j5yXBqH+RRFeNsvfA9r/Kc9VZcdLcSDXHDmpkmMXYHL15+WL/3JLFsLXX\r\nLEzgzJRtJHb6tKxXwI1taZsf7jU1HV9nrxEIFENsXjarlyT9BjJBQ7nNlBeV\r\n+MVAa+vHMKs2uC4GGpSqHVu9c/0dQIdPDhQfviesmd+GXnyHf3bsUyZT1iMJ\r\nc6eWaafAir74GouDdMKm5w/asrJKNrUEOpQ=\r\n=1OfF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"2b95511ed75a140e1657d7791245cddb3f57f9fe","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4163","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4163_1651881679638_0.29382367802163056","host":"s3://npm-registry-packages"}},"0.14.24-beta.4168":{"name":"piral-jest-utils","version":"0.14.24-beta.4168","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4168","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c9a611da3335f590214c342d45d4e81578fc78c5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4168.tgz","fileCount":45,"integrity":"sha512-eNh9dNzck4LjMeztU7JlpU3X/fsnK2oU504/U1NRCzT9Xy6/sayGcYD8xnqDwWRPbXf5vYlOgq3XqZ3OpkvLNw==","signatures":[{"sig":"MEUCIQCTuurGsUAcBroZtWaPIKIzRO+5J5tZ80K8oyxjaFLkRAIgUQLc/N0zP2MYxPWDJAatpibX6HxqCH3p5MPTDHhjgBw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieRXqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpsbw/+P684K/GzI2TMme+vZYxdXoKEd2an1rQsYDDulzkXPuGLn8CV\r\nyLrg55OhwFfQor2fItCyCvXFYtyXct90mi/llHeGRs5Z6JAQ8BwtJgh3tfTj\r\nLPicMtvt+77ogxnEAXZ0YfC3MsIHIvhQGaf2d84jH+fhnTmGBEcXN5WVj74N\r\nNA03EmIEkR3O5+l5Sprh157tJC3QyUaTl7sd5EoY32t0YQ0XvoLWosyQP/w0\r\nZKlBOVOEzup5g81d4dvawav4hmi/Injg2tFgU/eD+x6gotAfJGBmHVeO1+RZ\r\nmf+zl21+/naeJ9N74/IXRDQrpB66Tlhg31Ag3p6ZHtQnIlevkx8IJzjqlwfB\r\nKjNg3mJjxzRpTS4Da7PG1dDzAzGc12fYI/GJ4k/9Y5shBKaEGsrVFLw0yJZc\r\nzD91h32LwQ60VgfYYDFspdSQY8E6Zc0O38q2+b9t64t5GKWSoLDvDWZQoKtd\r\nv3P3KZEG651uSKuR/r0ypPGqcJoNTPQe2ao3tSUfoj9qbGyVjf4eajB9bgax\r\n4BUsqn+ryWds1odQ6f9Bu9gfq+3E2CKYs7Jg5FykQl+3RA5CBeZQOBLAtiI6\r\nkdc3qVRpYGtJOtkgSPHb1iP8l/9g2ai7mI+gWbkYjDeUrcxFr2D77dH53lrD\r\niTa5rbbJvAwCnPcUyjLSDdH5nUMXg8KR5mM=\r\n=90Fz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"5c3d75e1148d7def9bbc0d5c2628671c2356f816","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4168","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4168_1652102634492_0.9019145705280387","host":"s3://npm-registry-packages"}},"0.14.24-beta.4171":{"name":"piral-jest-utils","version":"0.14.24-beta.4171","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4171","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1119cc0b6a1364165fb37ec52f5aa71339e5ae7c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4171.tgz","fileCount":45,"integrity":"sha512-Kzd/2nNZ0I8JGLWWwClHvhFnlLA7+wCPfe62JO9TaY9TNUEUMzALowdj3LJgw9wnBeJQTTHvLvA8NgE55j2YXw==","signatures":[{"sig":"MEUCIQDFVA4df8vv1lIngP3md+0MFPzswc0wI4Sr/16VwjdzWAIgPyduXgk/FURONxSxBOZ8u/sL8Vu73AfHRCCxmgCR1F8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJieUcTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoelg//SKIWxKwr9xTELE/qRH3s/x3pP0Hlj9xGl7mMt7rQ/BiNMy57\r\nq4Jbf1BKVYGklamusvBvaCEKOFiO9+wge6ehE3geHNeFqkLIqHfMvERPxHAg\r\nIVcsrirMutGbzrtPBwA7dc8SRs99s2G8nLb10EGgZiwk4iDEb/Gt+eL/MIC9\r\nrD5LO0O+BhkopgQuLuotWKpsSPhIHYJcszuPNACvQjrZQEBf3NAR0qmQ5QIP\r\n5eQCWW6TjTmuuBdro6yIOZkIwFbgEHE4dwHENzULrT7ZZQdhCyUpSiYkXXmF\r\nyEA6iTenBPnHlx0Z9S1QA6ybnd+Yx10yin2n/hlbQ+oTfhurbl/5OajHE++x\r\ny77++Ha9SuEQMIjv3egHv8zJutzC7bW9Ig69zNM0TBZWJdmExoQlcMeMblEe\r\nR3eM1Wfi9nFVFUOQzz0q0H/dfJ06cAfVZTLbD4htz3isd0rYrLdel4aqHjF/\r\nBMJyaf5Qs47Apzs25kAOBZUqm1MVAWIiPXZ8LEAYzhA+bh6o4Ej8SW+5wAZE\r\nYSwFl9/jyIcuxVedUrygbsEMu2TzwMTAoMoRFIE8PdUflq+i5yvfBCI67EDA\r\nYpdMbZnU98VXB1auj6WkUN5Z6SWmkk5LWNCLcIg9wXoCS3i2Ti7ouxfC6RLd\r\nit/xgjyK/iS10zZd2bi0Ua+kCzqQoGzxYnY=\r\n=YGFP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"1073f96f7199c1ca5b64cf3bdf9d06b6be60045e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4171","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4171_1652115218923_0.49651737810318397","host":"s3://npm-registry-packages"}},"0.14.24-beta.4191":{"name":"piral-jest-utils","version":"0.14.24-beta.4191","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4191","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7d0935e1af1e36e600bce46d2676841ee12ce8d7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4191.tgz","fileCount":45,"integrity":"sha512-502OJQC/yd+GD7KDdgGdWI1uBgCyvrUdX3UhTuVL+hyM3wQg2w7TlA8Bp9OueSD4xb89ZGo6F3J5bdwgUaSJdg==","signatures":[{"sig":"MEQCIB/zC+xFwkz97WreXp+XMLAFKdRrZ9sUwLruA5NIWTEdAiAvVZuIat46IT3dx81hcPM1iDxcxGVxMomsrAhfD9s+FA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifSe5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaaQ//f3Cd5uO5N4lIfcjLjXaJ4lXFMKPKBpgwAjzcZhVDmndD7eea\r\n7NvTdkPGHXOmBu4dILRS0sXWv3obfb5Rohf6nxiQSttFugzlzV6qMiigqOZK\r\nMwNHpsrIkyCpUCBvhDrIOtWu5BYQilPL4lX5q7I/slmFrfsmHzms44/xYoOg\r\npJS8ud1M8Urhst2i4WRWIfwnV6hoWB6Rucmuo5E1yNFAHKARXQC+TNwl+En7\r\nThzo0KSL/defzjqp+bD8/GyrW9n3xApqtltN/0UJgv+VnZuk2rhbeR3k9Atj\r\nlV3L/0VcbQeqCB02+BVNQLKXEf9VvKcUB8ftkHBgixAZGT8b2snrvJy85J6I\r\nb7cHRJOA7GYmA2QiuLsscrfRteIiJdVKr+E65UkEFll1C98uZJyaJsDzYejo\r\ngG2277q3rHRRdub+dZKnV5ooDx59t9poGFj0LcDdyjJQ6SKzGme8B40sVEa4\r\nLhYCZrkqVdBezVFBmqjli84eDKZYql9ezTKeRv5vU73G72KUZS8jvjWl0Co3\r\nMU70twk0xQ/Ee34CL85Bxp5NPQ4V9OcjaEbg0Sbn6kafQTLMH8DUtfviYgqC\r\nBwY4LoIzfh3Uz8w9FpGk0RFmttjnjSGveG2ed5GKuGRq4fsW7aveU0jrnbGI\r\nBVvmQ7gq3fo6fCQd/jKZKXdgc7KfeTkhKaw=\r\n=nMGB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ae605bd9075d6d70abb0c159521f00aebcb6ea4b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4191","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4191_1652369337280_0.13879025325007","host":"s3://npm-registry-packages"}},"0.14.24-beta.4195":{"name":"piral-jest-utils","version":"0.14.24-beta.4195","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24-beta.4195","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"066020d2fdbb43b9bccd9854a069fb499f8ab08a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24-beta.4195.tgz","fileCount":45,"integrity":"sha512-9v4I4XfCC4J2b547s3mdO4fKn4f1hBrNpTowFBRuaZhjmxUqHPzPfiBPW3L+5WxnRl2doXH2MwXDTVGB71JA7w==","signatures":[{"sig":"MEUCIQC0H3GHpGRDRuRo2mM05USKjbEgWGK9FfstJQq8RKSpdAIgZvKhYjojojq/pSkoXKSw+suQbxNQTjEXyMhoEZeKLaw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifjEvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmowrA/8CSOmE6ppDyqM+k+EFilgPD2+jk90rMlYBmPw8jy2UVXu6m8q\r\nwIWKI99APB2CxnzM6bRh7oYIKFiNn+ygl8X/2fp4bkGolgQGIAaIEXr2jEi8\r\nUWglOhBBju/pM4vBUK3lSfITMhHqMA8GtkwuIMCwDcW7C00pjsyeny4zlEPz\r\nKCbEi15Yp18FxJ/Z8RYmNHJiWiZqdZaIcU1B9UBgwzEErcLPch2rcJ4bWoYp\r\nkXWW2i/erymsX4ZQTfytfzN2AJ3WwT97KGBzYhbJwVFrQK4KDvJkY0g2yDQ7\r\nseM/AMaCI4OLZK0gY1PXXIixAk9y+6i83DeNkVTEW4Isbwrjh3DvVzxufrWh\r\n8Kbj/hVbz8fvRnsgmyp/KExdpsZTEjHy/Wu+2Bnx7gxuci1mKbntv0+N7Tq7\r\nq9fvGd7UQY+5pIC51SdxUPdPZTIZdzBHMN/ohxvn284Xqj7UUmrHTHydmvgW\r\n+gk03nSS4dxLIXy42biI4x55IsIqyoiSMVzB5HjABwobBGTUQ7Ak5A3Jd44e\r\nbfRQqxLCorLpJNCJKUgkkniTHb9fLlGusOsMm7RhSDnJOftRJmuiAuNYwjgq\r\nBeQJpo8WR/FTYEiqlep1zt41b8UbtYsDbUjV1rIsubam6SDoG58nZ7vhWV3b\r\nD9v9UxqL3B8E4kc/SFljQuEW4bie1znkTD4=\r\n=aqQD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"c1bf2107c0d0330b5b93e0aefcf360356642563c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.24-beta.4195","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24-beta.4195_1652437295801_0.8750109039298206","host":"s3://npm-registry-packages"}},"0.14.24":{"name":"piral-jest-utils","version":"0.14.24","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.24","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2e1e5063d1bc5eb8847e9ca8a6f714e87a5e3eff","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.24.tgz","fileCount":45,"integrity":"sha512-pvnAvpZvemRob9yoJabcJJtqIlVVndC2J7Hz9N5O0+jViPWLvjhrbLs9zyvjNdYZPF0m3BwCitKBA/a11PZYTw==","signatures":[{"sig":"MEYCIQCKZWZsp/5E985LSCaR4HmQ+UQ7+aZCFRiH5j7CnUFalAIhAJUShgYgn2WeXEXw38tdPUWCAxGAUFmi3VFv7zLuQnsi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifms3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpT4g/+Njx5dTR5H6WOdmsX2t0eDqTbcvz+r3RIW9OqnezmIdoq4g+u\r\njx1k3hL8oG4nnli43cbDBK40sMiT0AsjTyoaTDqcXxDT83lJvR4PY4+TowIr\r\nTVB/9YPlPM2nY6lcNzFVENJqihx1nPHCyu9QNpslum3HaPu/G9IOJYXgTqkr\r\nyO/RRLEYZAnTjCGamGzwT8aOVblNJD/cWV0e3xWx9+9qcwH6G9oNah5tOfXd\r\nZHbWJpOy7krWKlNcI4P3u2a9uMC53HlR2OcTONHeMo0Gwh+caT+FudC3feIc\r\neoiaJFbQYrHkcko4Y08nh3Alk+1bxFPd8VXflwER8m0Vjq22koM3bF7hB9L4\r\nFnkxrarYFDxrgjwDzSYS85Eu7z75rnJPiEtNiHI/qo0rvPpwgJss+HBbdC+P\r\n/gXdVZ8jwDjrIx4K2gsHA93hl8U/8GspZqNAvmJmRplKrxy3NuCKn8Satj3j\r\nkJPQy1xK/AqjNBjC7bqfAxAZ/VqmfVMi8gl5+FuU9x9xu8uEiJiGqhLYe2B9\r\ntydUumyHoQbgy8Wukdb8HHcSNS2qxiP2mdbRTq7KWgXp0oWd5rER+DHclYep\r\np/MLYZHQXgU139bOgh2C1cw3xl4di6xhde5hVEbqd94XDMLyQN9AU7zJgp3M\r\nCHo4tCi0XPnJ5IKuNh1xxn2IO/RwdhkKspk=\r\n=rdMm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a21f63e9ed351bf2040afdbed1e12c59d2ca8f15","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.24","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.24_1652452151067_0.3835040024107139","host":"s3://npm-registry-packages"}},"0.14.25-beta.4229":{"name":"piral-jest-utils","version":"0.14.25-beta.4229","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.25-beta.4229","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"86fb20beb09168544bcb5291af532900c1c8d195","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.25-beta.4229.tgz","fileCount":45,"integrity":"sha512-gFPpBjibuRzjViL3PKB5QE1AmernBJYuoeFt/W67RTmakuWmKBMcgt9shaNq9wR8TGCIvCisXYGhgZFVmjM0/A==","signatures":[{"sig":"MEYCIQD3S+Kgb9r1JR7DeX2HTvFMJJ4H1q1WE1JM0VL61URBrgIhAMzv31vOESlcgCz77FboK9FiV9sM6BEPMO1iWSgeSqDD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihsiTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNsQ//UMeD85H5iCxK2TSQ+U5IcleZ5KZjtVxSHup64jNIXbmhuMpf\r\nE80ohbQlvL8+exyrN7jKmcR4emnZWTDW11YsbjM77LzsiX4Xu3BfKS4V/lrl\r\nPnpTeairvIMMqmoI/iIV5B77OJ9wkVGG0UNP5LGZWzNz2qgrPK8ZE2TZVn2U\r\nQh7zhZkqDblapkkKhXR/BBS5Y3eSG/faQJU/r+6yrqzO69uWxWd++L3Q8et/\r\nuts/j+GRBWFsVHIJIfv1vYDem8jKv9IGhsxaJjUxoJ63DA9c4DxV5DLVa2R0\r\nGOsdotFn2XXVAhZmRYVjOy14dHEjf90ArnLSciGZ05jUrlV2uhGy+ZANK4p+\r\nXf3lmBkckr8cnA/uE+BqyWW+1+MJtidagMULSVgnAQmZH0/47cdoyUXJ7Jjd\r\nvkGnIUvRBvJsRiYMLB+4B10g1SK3iqPVHJM1mPzCWgGB5G+LIrzbQLlf40Ri\r\nnAna9DLnWcxDl/Qw1eo7BoS3VGgzN3d9xT0M5b0EO1pP0Xjjy9oW48TaoUG7\r\nOpgU4xT9o1yYZTBi7cd3+E/iUYxS2ExmnKEpG1+Ay4ASEKVg5D2YhUpPpj2r\r\nTogulVP2I5nghK+m027mqUkLvG+FXRO2dA8B/udj/8SQefBZwTqgsA2GIEuh\r\nRCYiVNXesypTmdj5uegQ3oWBklTXpIzGCtQ=\r\n=FpiP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fec92fc1eb798baeface15b5f2ea9bf52ef404ab","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.25-beta.4229","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.25-beta.4229_1653000338995_0.47312444927172903","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4231":{"name":"piral-jest-utils","version":"0.15.0-alpha.4231","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4231","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"84ee10c5824362107deb4773b980077fa76ac30c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4231.tgz","fileCount":52,"integrity":"sha512-909LObH92iFWiauyDTQUvZn6XFEbvDRy3dDe6nV6br7/CyqEzLkFyMIXAfBVXsepSoVcGiV4E+0WJfFoDerYuA==","signatures":[{"sig":"MEUCIB+WUhS9nxpkT8BkbXJHAxnVhoYILxQK2c7OcuV1GqgYAiEA5qgIPSOlHOpv66eu6mAwuZ9vHkg8QU/0uZnNUjpNo3U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihsptACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBuA//Q68CnmDwX4sObAo4HGeIlDy2FLUdDeYi+neA1zExiqRb8897\r\nHMapR4Dp9uWg7IuQDLqnwpaWWIOzjyQTw+HI8PY8CPaEk1dNcgU0MyrX7Bok\r\nxbJp3k3eJA6huObxuZD/5HuRsUiUw6u23pacvz1eTvLmVWFa/QH5l+xrvpej\r\ng27ru8vmHJBzMl53WaEdMKzPo8sXx4l6EGnks4MoveM4SI2xYxKFCyvs3iiI\r\nllNBZU4akU2vGm23yN2DtntQ6O1P8ifWPKytknUhWkGXSKJsJhQQE/FK6yEQ\r\n+fJIE2ArwRWhpx7WVFL2tP1vowkiVHwBmDPVbD6Etjqr1ImWdsG6O5+z/oQD\r\nAVndahuVBnMEKVCrdjggL+JwMJyhv8FRMzo79I5y56gRx/NKjrQAmAkpgUO7\r\n9a5Zm8UW2HYZ5J9P4f6RyGm+Yg0yYIQzVLn642sN5DHYUizguTkuv0jVf3fv\r\n7dhRW1yLx2QhjBquHmEpouwVphBcnZKn/lXYRqh18Kg+owhba/lInmYUo0k4\r\nTYf2LNtlZiDihrPI5CU2Nkd6wExIEZUZjWVGi9+gnZ2oOp0pGQpXX/81X/+O\r\nIDEGo6biG0n2aPUZFNA64ErG6WmBjTe+yj/fPgU9KeMo5wDrtQROD++Fn5iq\r\nd/4XWniavapAGGJvqoVSTfC8Ae53DxLm5Tc=\r\n=45/j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"4e7f158bd276d82c5bf2c19d47ccfb3604f38e38","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4231","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4231_1653000813285_0.11112755974376509","host":"s3://npm-registry-packages"}},"0.14.25-beta.4238":{"name":"piral-jest-utils","version":"0.14.25-beta.4238","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.25-beta.4238","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b100c4d707081bcda1df96fa8ad4c3566982e8e6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.25-beta.4238.tgz","fileCount":45,"integrity":"sha512-HKacjBUdeompMpHlCHoDE1GgfDr3Jjp2suPebUNmVIs8BsHh8ZxK08seZ5pvz5uwjXXys6uE4W0bFRZg6oIdwQ==","signatures":[{"sig":"MEUCICAjna+yRDfLVwx8piM3EDtasZqKxD8Zjx/AAoF0xrLEAiEA1DdhZPn+0sTK5TsffpJbbVC0I50E9LpBXYqnyChMEQo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJih6IcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnIA//cDzPSUT4mD2dR9OPRl7T3GFNfjBiY65nRPQO9pHZvwL7DSQB\r\noik836FCkBWvBHUVgboys6NzhpZi6PWReSkJCZVhX8bg0PduD6Rmx5fKAF5n\r\njsNbRtpnawW1nX++WZPYVBfN63T1CIZHODFZLNoNh6sdaZVHwFHu3B97MZqg\r\nW0mZbm0t5ZW/1KEaIYCFOLklE0OddbX88gKGIR15BDE/l3coLhuoH0BRKip8\r\nUKuzzRTw5XgWtkJaMe5PnM1XgXYCCE2SxMY2p1hsOl6OlspnYX82Og9qVb0l\r\nIiBE2si2/nsGASgW0VgONLXJvcQRdrCOW/UoFkHiIxtgmnkTBd/bqQaFawVX\r\nCiQYZMujJuKWer3Y+1/0B+HA+DATA5FbgQzTvDlDVQ7ak+1eC9i+lJB5SeDj\r\n+gvcLTwrSRkf755ziHgikwTJ3PJW5qrsL1TAJztIaVdan4OEZXLKmDR+TEbH\r\n60zKKcMcRQQ7XopDVy9djB5qbNbkyiujr90wEj4HPT2KyghinXKK/eoMxLJn\r\nuX2f2OcGyMx+dXknRiWThxmD+VdAIoyTXIzlF2YpeTluEqJ2exaRjTDjloIv\r\nJvN73Dx2eC4xeABiBgdtE9zlIfnBCEakT+Z4kvvdZlyGETMIxZoqMGIZv9QP\r\ntipUSOQQ7RknrWAm5z7d5c+i/IrfDa2sKIA=\r\n=GHsW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"de6aedd24c8b3503f89a175d3c58a0f652cb3b54","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.25-beta.4238","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.25-beta.4238_1653056027723_0.8170409760922275","host":"s3://npm-registry-packages"}},"0.14.25-beta.4245":{"name":"piral-jest-utils","version":"0.14.25-beta.4245","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.25-beta.4245","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7c32e7c0e66a8269c4c5b4d0d375ccf8c536c6af","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.25-beta.4245.tgz","fileCount":45,"integrity":"sha512-SByRSTBf1D69jaoESzJeieMKj6Zb5pDsn90PPOCXlmPxb6I2UDhTxqPT25AP1KOJOcg4XAEfS8ghmg/yNNo3uw==","signatures":[{"sig":"MEYCIQDr4e4JnO9dsb4IM57GSXQ/gdcUah8vYgoPhbBr2qh3uAIhALAhpKiBQGSrJ7cgL1OxeKc5IzHRx1QHm10uDm/qEPQH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiiW/sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoiqQ//aawNariPBjR8eMb8ta1WjoMX4N8DzeYu+oERcHhRqt+oZGBF\r\nC6LNBBplLuU1SNQroWbb5b7PosJbUvWmXtltDukXvdY5ODTLydqnxNSgPAoP\r\n1XCOSyclQOa0qgAJ1N1PyjGrXCuC/sdXSkyumAD+qkEU6FZLLcnHJpTTJH67\r\n2y2EryM/3mCxTxI85843E6w48tIjGH7TCGG0v/dUR2Kx8Cj/T2GMLnfpiuCU\r\nk3NurQ5ee9lcHC0oSomnI0dZKrXt1Xwvs5TZJe9WaGH+pXiEKfUXsSnRZiQm\r\nbT5UdvL8rw4rWaztBqFDnaMQyteaTUgFSdkWHaVR+lql0dA3nsf1vNJ/T/Nh\r\n3+4A6YXnZNNawKK69ACKaxEmy9TZsTIohLF7uRWN5JW+aOtiIUjpjIETZoBa\r\noV4bLlDxsSYGHtKsuDHsH2g4y11mGoAaISVAsVAfwg88cRZtUfvXYMnhsQCY\r\nzx/4kb6IIh506WMU3Mk9ruAlgupN2GxO2FrpnDaA0O9Xwd/kmT94nPDPS3qG\r\n9qltGauCh/JUN0ijS0iZrWYBqKC+x+agWG6ITf6Ih3y0e5CaH9s477FdSQ/c\r\n6jc1Q/Vo7YylDG3PGaKuHzwm5hUhM/1+LsYdne9dxILdo3k8FKPoCphJKDmn\r\nqwyoCS+Ti2P1Vdd5AQGGD27ptrwGlWVwWro=\r\n=Yh3B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"1ab62c6f6d1eb4442c866882310953c2a67c5998","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.25-beta.4245","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.25-beta.4245_1653174252334_0.023730309328429122","host":"s3://npm-registry-packages"}},"0.14.25":{"name":"piral-jest-utils","version":"0.14.25","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.25","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5037943d7d3b557123fb14db85f5284ff1783d28","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.25.tgz","fileCount":45,"integrity":"sha512-cED9IxyarO511qK9RkP1aOs44LJZux+72ELsyUeQZDA8HVbuQE0zDo9HWTI4AxVzf2rYLahm4+OlqpPLD0jGCw==","signatures":[{"sig":"MEYCIQDVg7px0btfPN0yCXwV7D4NyIGeVvPSJuz5JOr51OZi2AIhANlgR5GCIZjrXbWBUKSbRL3HRW6/rgxXSj2WUqDJchvB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiisi8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoj8w/9GMLZI1+nLorpAjdb6ZUdy0zHTjRlEG9F5R/N38L7G57Qp1Nk\r\nMofAaXDZVnbNjeMZGCcWJb4JbE5OROY1V3RHfBI+6XubBljnAWRp9dCNdpqB\r\nYnbbrGOnB2Tan7DPvHvCeep19cXfut9lZ7lEIHkGEIQ1DAXhd8aR1tYIAS4Q\r\n6dt2hSxLxewcllaQGp2atrMOCTCv+2h+mVXLXrgl7XP+Wh4Y+yfhSSxuV0At\r\njUwmzX7TSV1c5RshKQ0jZUsGTTLXovrjy9+iBpm92CaUXWFNDtU2s1Ra78bw\r\nMoxQIXtKeCnPhH8s1oq092vN/9RMAVQEDbVKlwytRoPKVPN8xwNv/of861YF\r\nhs8/JgZTtz/rqYoCT/PJ7/xJuW2yz+J1LyYbg5nw9ahdE3nBVb/cbcYEGgZ3\r\nMgnOYMjNp00Uqx+UANrF83YmcjMMxOwoOnwlYUqXoM4hgUvCFQIVlDX/PE7x\r\nmavzwrabPsZfS0p62hWCB/AwLWToJj8eMF7uV5Cu2pcSAJYcYEhdo1s0+VA+\r\nFIWStZ045WvBgDL6wEiAMtwhmJ7D2QFNN3zC3/5LasTZbWIVN4ByQ7/mnWP2\r\n6DRxINuxG/a6N61HEePaqscu+4mvaCyidNRmx9hVcSNKEoY0q4xzIXmkR1Iv\r\nflzuH8Lihopnh4J6UJ++G8SQxIGekU3q6ug=\r\n=rIAT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"87e857039f4f1ba5dcb80bb58e2a0c595fb496c0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.25","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.25_1653262524290_0.27529993914426476","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4257":{"name":"piral-jest-utils","version":"0.15.0-alpha.4257","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4257","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f737f51ef0c5ec97e6eddff5ece160b4f01b6943","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4257.tgz","fileCount":52,"integrity":"sha512-iO24DU3IyOPbbBX97yvu6vGzwBMTyS3V1RxZ61fUki+b31wrpyRTMVwjT7QF4Smvg4FNHR6p6+Djx8Xa8CH4qQ==","signatures":[{"sig":"MEUCIQDg7/lp8wQN/fYwBG0uxcYYtmISgHFIJfUG+MDx6FsIXQIgX1+ra0r4dom1kYQy5YqHep+52Iwdj+w/SNvrdah7YtE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijPITACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqDUA//cnR57rmZ9ztLX33i3Qhr5yz7ICd8kr93IoRqIe6QvyNKSatk\r\nU+Q04uI69jIROFtv1BAwKux6YB51or62c6Qy/gRiYdRfU1vhoSSoCZwcG7/P\r\n8kZykXeEvh/bN97VisVDdsu61LqrjuiRKeDf5tRlbIqBeKd816jMpgjHotPa\r\nQxLCCCMEa5HcAQQK9Arh1ZDm0EkUyR6XFEziU2vvefaaYrNAeabohynlWOjU\r\n9f4dlPC6tIfQujmlLSiKID1ZWqoOYSCu/R9f7PTVwuFJGXzF9x0zUgX9INrp\r\nIJjUAXm6S47v/8JZahdeuch+GmZ5LLWDsFh6G5dQqI1kVYWp8Do25bzQ/aBf\r\nW4ihjvLCkndOXKtB9nh8PUzLdoXaFZIF+Ptdv/S53+9NFsXpitWbtKy1U5eJ\r\n5mONt7eviVHs+CpUw7HDQX7GXA4a3LiMonCbBdOKPV+NpI1lIT08tEWrRofZ\r\n3t8sy+N2aW9Iy2sMdHYht4NPv/GOvoNvt/GtBXEp7rm5hwGHTF8igB3z8Cvn\r\n1pyGIoSrT68rbHauaRPHPNT/smehqCaqXkhmlSUOImxPkS//OFBmXEuXo22f\r\ncOJCGmQvG931wbv5prL80q6tOtwMYhwErfEfyl4SMD+/lufH6J6197u6hkBA\r\niYfUG9fgYQsdrE38TKlHDmaRU4NpeaPF6r8=\r\n=gqop\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"61f4ebc7b6c7cea553e2159b075cb761216f8e85","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4257","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4257_1653404179594_0.5787544464141157","host":"s3://npm-registry-packages"}},"0.14.25-beta.4266":{"name":"piral-jest-utils","version":"0.14.25-beta.4266","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.25-beta.4266","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4aaeaa79226d762bc9e317f7a9216ee30030c953","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.25-beta.4266.tgz","fileCount":45,"integrity":"sha512-yRyb8p+3mhXYieRIE8lpKtcjthuEi4DQ442aFVy9w67/QQPRN/ueTUsm4Q+5XIMCd25YNgdwLv3oMZm5ie0y5Q==","signatures":[{"sig":"MEUCIAdYqa0qzMSNN4JfNdcJefjWnX7XFeNITL2RP/X9yOCXAiEAw6DBgJbddDWcMa0JBg1igvUpwECoBVpCIOM12vA4e6w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimGvKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSAQ//WRTl3GxkVXNsnFXexA1v3URFc8x9qSSISaD3DskB4UFcD5jQ\r\nfj1RsNN0Q7q4o8uli3pyL9MDYluyA4KzE+Py2wnb9mv29YjspYVYcMf0/Pk7\r\nMgFBrVi89W75cfkNRUpwfa/JX6M9wsBI3TQ/eQxMZCScKcL8EFM/6fsSkwiw\r\nKrX/um2WgC7219Tt6NCrxtArNXWH2lx0/eeMW690hNaHdhnyaTxnAVAjV7S9\r\n22PV7vwDHmgL0O3Waf4/cCMqLzQTNPA/oVm6RYYI2CiOvqzh/XzuGqq7ZvNj\r\n5/wv09WtA1uWGtKivhyj4EOBzgHqNjMcmh9zLrvQacmeHk4RmIqil4O09S/l\r\nP4dwucuk+hwviYCjNZVj80oeH3IAT1mu+s+ezc1aNxF1KDBzds/ZSI+86YEz\r\nnFYe99HGbvZxlfRNanMLiCTfwv0lG1PsQUXGluaEPfN8oDW0A8HjG40dJjuE\r\n6G/xDVRTqjspxjDliMY5BlvFF5rmsvVqOBDXRS4DNOyJIIrpi6q5cySbnGcM\r\ncEd076WxNZekeFNMFcqLiXtQiXAk8t7XSAiZGrFSxceF5AV5sWveT7Xxqzlo\r\nyGn7/a4U+anxiDDzOeJN7FTUdvxd46o7ThfeeSJsXB6vEA0YpGkonWG3+omr\r\nYI7D/RdYMr19qa5yVTcmgtBOlJn29pCUrsE=\r\n=Iugi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6e3235a5a6d27ea6b9f0bf178951642824d6b3b5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.25-beta.4266","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.25-beta.4266_1654156234412_0.8340504252243328","host":"s3://npm-registry-packages"}},"0.14.26-beta.4273":{"name":"piral-jest-utils","version":"0.14.26-beta.4273","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.26-beta.4273","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"020639cb16f5b8d99d3071850c24433602e4fd52","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.26-beta.4273.tgz","fileCount":45,"integrity":"sha512-MVdwPOnOJD9pxvf6ozByrBKs8ulAM16plvVXqe7aSonLuvYuJTl2worgnr/tIoaHAqUJ4xNO7mE6ZqQFpkc+Mw==","signatures":[{"sig":"MEYCIQChY6eS656taIuF/AjxbMQ+Az1kP55BZ7pImt/F3bUQsQIhAIRq/s/wIexmlSV0n8MSNkvj733NB/UZbBTsDc/Lj4v/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimwYyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqslA//boqkj3JAx/82c+XbN67x6HGEIPD/XTFjKjth6MnPjamgyJ5v\r\nZtA2m8Cs0P2A31VFW3okYTWM1V2FRdwEywhbxK9myobLSoiVlf0iuom90zmg\r\nDbuSHVjNvNB/lDmPM7ttt2QHQ1ny0w1hddk2wvps+Li6YG3TSNacgd6VCohP\r\n+7bPyejkCNu4fyc3qBEZ8nUf6/C+FbHu7R7coeQG/9TJKm5P7MBScvr7A2lV\r\nA5Del6avs97EpyWY6oKhSXJx9N7QoJqfq/A5nNmdZNZOeX8/CFRvGdeVo5l0\r\nSh9h9GgAPBz7bpCI5NfzS8B2312k8KG+Z1m4dTENVFLbYGRR+50SptEH71de\r\nVa0yNi4x0QZuTyF9h/TdcJcYnLKIkCzMd32v6BcNNiPynn0TBXHeu3L4kfXS\r\nQCfPJ8XPaP5oEtdVp+j9JuFwxwBVSmqiEf4m3zyL5YpLwqp+WrZZy7mj2qBz\r\nPLM88QCoD0wBYOgYDwIN6Smx6FNYLvCgRu4Fxt++pAWXRKjzlLPIvQeta4O4\r\nQiCbcJltkD++tsEZ0b+CZfJABFaK9StTM6GdcLjhGlX88WLPnfglKaVFfLSL\r\noKY2WWb8BxG0NFZDhZkN7zSexpKkaiWfCQxMqpzyPFQ1aEy20jl1/V804bY+\r\nW91M7WYVpSSsXrf0DvnDPxFK6AvE9F2bqaw=\r\n=EiQs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f8504701ef573abb3ddeb6cf4e9ff9013ef98501","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.26-beta.4273","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.26-beta.4273_1654326834130_0.45865898930682225","host":"s3://npm-registry-packages"}},"0.14.26-beta.4274":{"name":"piral-jest-utils","version":"0.14.26-beta.4274","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.26-beta.4274","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1aa8c5998d7a50c9995765e7abe480b6a340ca6c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.26-beta.4274.tgz","fileCount":45,"integrity":"sha512-Q6dLcAkNw940PFzAqq7gkgq0oiilgtMqFD3P0qDbB1YKUhXHhRtKBP54QT1stU8X8wDJmj33DDhx+XP6EnHf7Q==","signatures":[{"sig":"MEYCIQDQ+SdbVl5O8ZsIuIHFJssA0/sKxlFN3PJucon+8W31iwIhAPJuBmUzApLPd8ixtqKMRtGuRirnDcYMZWOxxGb9YYgd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimxFMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqL5hAAoJYDyvxSprv8mv8EhXHClFRzpxZoC5mDL1tPOenfHI1QCGlx\r\nD5e4YPyVWJ/zX2AQMnk3RAFuF8Bo2oGXq1Uy99bOWgSA3F31D/OAeotITyn0\r\n1QDTuUraCdK0mBv4hg/CNhI/1gNJKli50k1O8iiwxyqoixJdJmDgt4hZIPw3\r\n0h1nyKTeHE4G6kvLvPdkDNTQJFaQ7euqb1/yMWMZrp9n9O7CfLVjtDWAGxoV\r\nOsHUOrYHCgD/+J3WLKuM1DZvBS4S5JG0LboclGOKnQifCj7VFwzUI/6yzFLv\r\n2GcP9wWuUVbC1vLcQ1lZvC3NpWqi8khL+L2nwtQIU1HROilOdIweOCvayeLM\r\nIKbeVzf/eIBk954jqfv4y8PosCWKnM6iN6pbsn0hLpWoUi1QXO23XMKPJbvA\r\nWxUjygdK6FmeddDIYzRiHFfaxSZ1hEvxQlefX+TE7Ic3D3g9Z6Fdcdkoad8S\r\nlLf1tSIUm566wfFdgvINoweZlbRofJOT/dazPWg5Hvna3DdSWh8CM/j3FNIp\r\nNsBz3IGkl6/+BdiF79coJiglweCsCn9Z7W3lYw0vSTs4DvLdaGmG4tvoQPwM\r\nwnpDpjOuYy5ynr509tyjaJ2TxfEmNjLzyZ/XqRg7n62puYBIM/pvUKX+Dvr6\r\nhQmCUMy7SAROHScwi+SJbKjw3gWJv8hWwC0=\r\n=PPQG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fb1672c17322edc438c614d6ea277843f3b98433","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.26-beta.4274","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.26-beta.4274_1654329676280_0.2957607195568701","host":"s3://npm-registry-packages"}},"0.14.26":{"name":"piral-jest-utils","version":"0.14.26","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.26","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cce1770e5f4e2197b1788c05555d22e566af3d66","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.26.tgz","fileCount":45,"integrity":"sha512-6+jAcH/cSAkkfZkjkgO1XLlZzibUZSt1DpbDSRilbRaSpXob1pyxLwsOJLAOJ6LOH7D/EwINWDWT8DM96fKIfg==","signatures":[{"sig":"MEUCIFC9RqPbbXwMadj/AmcJdRmHkltFeBeTfx4ZePMClhErAiEAiY1/rfrD13iGuQTPzp4nvgo48d+GD/f/pTwUcvqIDd8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinLvYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrrbw/+PjmNXPWgic2wTMXZmsW2AwR79vuP3ZF7vMulGqMwrrCzaL/G\r\nD0Zq4KcTKDL5Gs98rKEezJVUBBwvp/2p4IV0FPSXUQ73SL4HkzX8JD6ZqHeX\r\nYuqku3+/zf2SZoxk76mu/SPCoT6QmNvwk1+2v/x5fG4SEBL6lnBSOhFaqR/6\r\n4cZ8wYO6WujzsEh7307XetbRXJQFgpqZplV5wvroUNzLj3NNSXDsCQrWLHjk\r\nH4HGG+rAHrsqdA6fwVCSvM2A3Bwib72jnV/MUnbrkPr4fyRG1olDtSvTsqYU\r\nXaL8dzXZw9AnYDw2KhUg/+qegt67nCHDOgkMGnAHPqTFpvehCaWMuxyIYWTX\r\nX4YzhbEFQoVMFBDs8Jmv7S0wj3RgFgTIhBs3ov2cIcykD+SQeIMZApCchSLa\r\nr/pG4C52yCVv9IIxgrlBoOlixx7tbvWl/M+MqHCrpra4iaVZTnxrSjUJXh7g\r\nIFALtmLh27TP6nx8qbNFPKmUDKf+6Pow5kki5pU68brQaV+CvImFiTVWrFHU\r\nUIb5aYAm8g5Y9nl8kDM1pT0hK7svZDvPg/S3YSHAPb8ByJpMGI7nXomXUX/n\r\nmQchN9Uqk6ItQX+XLYpY96oqE/dTF8OODzXxf8pip1PPwnXkxfY3AIi06NA2\r\njewi97mcHIAONHtumTvJabPZbpyqzLWYNyU=\r\n=/jmV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"8de8644cd7d8af46c85188c31459e1bd171f7ae0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.26","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.26_1654438872108_0.23493083378479707","host":"s3://npm-registry-packages"}},"0.14.27-beta.4280":{"name":"piral-jest-utils","version":"0.14.27-beta.4280","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.27-beta.4280","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"44a7e412280ff157317493f2f86237e3d0c07c1b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.27-beta.4280.tgz","fileCount":45,"integrity":"sha512-vWBSPn0hJcrX1CYSA4iYhxBJAVwUD3YxkchuRwE/cpouGd3/r3m1JUxyw+4tAjhEiqrYfxXHjLYlRT7ZVXirTg==","signatures":[{"sig":"MEUCIDDGR4SZs9gz2973PXr42UPFbGD1P3isYokf8WQOWMZbAiEA6z2gUk4n86XDq+nEMQ1FDLWjJyA4tT5/ah6tfN3TGao=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinT94ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWew/+LQdEBK2XFxumXB08E775UToSM7CJNxAygGk86WS7Xd7o/dpB\r\nvLBZ7zmru71wYX7+47B2UgovLQpWsFZsQxhs5xUSAF1uOMAWiC8Blu+PWx30\r\nPitKNt68dFPF8OpiagaCtAxn7Ek1lQ4SdL1OQ+6F1eZQROpwh0U87HKMQnjH\r\nbiLHOc10eb311+KZ2AmDIhwjqmBlOvLdGsEt4dF9O0KZxisVfPaa5EZhICF7\r\nBU+bVTkKi87dbcZvtJsvB7ZHoZr3F9dpENLG/dBS/W1WHmb7bY23yDkILVy9\r\nDO+jKt7iZEDLmIZGQDC242R5ksHxwwkeGHXCpKynqoI9ow+L6prbcoLVGNmO\r\n46VhjsXziueGlYQ03FB8ee+IUQmTkVCn0UhHtKX3QeFL5qhnpgzhMQZ8xx7L\r\nDeOU2kM0WwA8aQ2o1A6LQC9ji+Qd4Rfoyl1t7AOW4FurkqoVhjzIlVBedPu6\r\nwqYInPb/VQnQTZa+/ko3NfYIXN1FYqeZ8xHmMhpVgtW04KXS9JhL/vjcptuB\r\nraDMPnq8VicXzHWq3CAmzhNc42ONZtRWNPChhkt131jC8v7AYAZfA4Pi4iYq\r\nkUq8yM/YIV/ogUhqP7W9ZTRwQvACm2Guyc6T3Y7vY9glx1w4klXcqSx/yPQ2\r\nyiyaCbtIg0o92XduUK+TSViH7Zfbzvu24vs=\r\n=1Vk0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"eca73d221819f50225ca335cb8913c529f252e33","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.27-beta.4280","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.27-beta.4280_1654472568282_0.05331666311013006","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4284":{"name":"piral-jest-utils","version":"0.15.0-alpha.4284","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4284","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"de01ec6213ee6e020b8caa1246d67b5cd26a89b7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4284.tgz","fileCount":52,"integrity":"sha512-7jSrcLsZbRMNM4CE+EDyIUnJ/VSdU71YEMjtgJbeKDyx259IhZKuFJLBMNRMJ3Hmsab0EvfgghAIYdjirZrzJQ==","signatures":[{"sig":"MEUCID/g3YcrhSzzvkIGrBhyW3TEeikP3aT4s+DpqOPyHo86AiEA9qHg8vlwWkTbIfzgRFV3OQjMDRwNWYlTTlTWLGzRs8g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinc5qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPKg//cfZVWiP7F8w9oo7VX7TVou0rNih3QLZh/FfqPJJCigbnsESm\r\n7rHxQ8D+Z8zcrhdGq/oZhwfSxOKkzb9LiOqW9Dte9W0bCTwKCIM8JhMdjdtL\r\nLhcWw2D+6Ss8JEKJOBWOYggjvqubBrftqXQlEbsp4mpWYm0GuEl74SN3LKoD\r\np/c2VvIic8ohhN20oIWrd3c0ePoaUB4txVlxOzyOgyowW9t2ToB1j9lOX1fM\r\nCumC+N6i9FyC101tg6SpTPsgB8UIIliljnjqMLS+EY13n/3eM3tW+KXRsraA\r\nP5JN43++aaI46dwObD5a7grsomVaewbmAAUbUqFB9ubWD9c4cTphEA5vYCQM\r\nvMfqD6H3EEOs0w87N4Rmh6P9fWIPZXKo0//ZOXk6+pqgR1Q48AJSq3cFDmO8\r\nZYdG/ZOfo0mbnfi6ZvehFfGyt4X0iTyQrTiq2hnrDaJXtBI0HPoefR0QOWW1\r\n16skN9bkebSq+3PXg36em8urmm00kFlhc4huB74llg3Vty94pPKyfAF7XGFB\r\nm7aTcaJE/qQO4kop/3it/HWkDjwEllnr1YjqxdGioViYeFEBpOl+NJFKEYGb\r\n7MXmTXBmKlpuNkgaGRoNomyKDs82mXCfiNfI2AnNN14EgvzFIBWI6bxBv5Ez\r\nOMS5HtUNVdyP15Q+C6jqsXMieeRdGFpG4Pc=\r\n=RtAU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"c48d6a2c320241d04e3c9c4c4edb423345003587","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4284","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4284_1654509162364_0.18937477749821596","host":"s3://npm-registry-packages"}},"0.14.27-beta.4285":{"name":"piral-jest-utils","version":"0.14.27-beta.4285","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.27-beta.4285","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"61fefd90114dbe018372f046cbec5e958e9078ee","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.27-beta.4285.tgz","fileCount":45,"integrity":"sha512-AekFvLJ5P9ynysbWFhQ5+oUHM0icFXPoPqqYYyHVMP+zzle1VrMAvdn3N4ZGP6uRGBP/M8jkeRudCaQ1MpHukg==","signatures":[{"sig":"MEYCIQDQTX2dRMQ5XQ5pEEROhm1YwaKoTwd4h0kjwZCZhVJu6gIhAJFlwDdTVT1ZxGOJql694QTNy3UOQKLtTwEI/qkSZshP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJine36ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/VA/9EjrZvH8UQl0OVlu/5g7VYCvi7wS53yiVq+xODPCdS/7A9geB\r\nko6l+3BSfhyE2Kj6+NHTNrNojt5RUblsGP+BQhEOxCujB/fQBxnOIWMmPxIs\r\n24LharBOS7KnNs4cTh06Z6bX4YYmzMz8dbxJCrb6HZ9SiYnFhOf7v9Su9F27\r\nL0ozm1xSdIcQ9xm6136DcirxxXgMYDnaDhKoqH4cMO04+6LWUFo2tYm7N9k6\r\nMjpHV1ldNCt/ObJjxdxKGjzh5KmeEOrCtyx5ZarcvlD+Cu/LknP+yp7i5WNR\r\nXbDO8iYjbQV1IDi1Kn7Dj63CHG9agu5W+MAFXITNG93EUcZHotjgSIh0dNnr\r\nOWV6LJ8x0Qa9FJbnF3/NCKwlzz5Cfm7BW6OkRUpRVc4Ut5AQC9inCGWIuT7g\r\nKSUfai2yNwqzrIeHmG/JezPzwx7S+9C3T2cQHH+vsmBZFoxrZ761k++pxiGT\r\nrvN5um3Az1EcJnILWOCqWTVLvyosmmUfQ6ePf1ttvHTup1oVUrxNoalQIfAW\r\n6Tawx9owVyJMyCxb1ClP/yhscMF6TJG3e2nAZwfdC5SvHmO8AJBs/gurNVei\r\n3YoeQcdcm21A8jEYQEjB22yF1fn4Q8BpHmcBSDTnLqafonqj6aSTfIAJo3u5\r\n/4VVkZbAM61aPDsd+AzfKTzRnZRU8T6Bh7U=\r\n=L1fp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a727acee9d9793ac10e7db71999059cf7c31a88a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.27-beta.4285","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.27-beta.4285_1654517242480_0.9402980715041167","host":"s3://npm-registry-packages"}},"0.14.27-beta.4290":{"name":"piral-jest-utils","version":"0.14.27-beta.4290","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.27-beta.4290","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"95b1165e6f58dfef0281c2d5b6e9722f8595dadd","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.27-beta.4290.tgz","fileCount":45,"integrity":"sha512-SH6u6OONC63ttXlp1SKw24CSzosI5mnPK+E91R0MNlkjnDsCJlVMrAozWS82kvxpMvNTEzI2pmH55revbf3WbA==","signatures":[{"sig":"MEQCIDonKjt+7EsZlDgNmi+0IAOGCffpivzM2NuUjMerhIt9AiBzsfIPHAqO+qTgKdegjo/N59G/tLNA/8FglH3eEXPFCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinn3fACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLcg/7B9vBPC3BvfjnpHlSHke1ygQYn7YxbdcS1QiyoQ4D1t/w2fEW\r\nQi02I8rg1L1+Ji/j+oZmpFyO0NfXMGL4SFCKree9YibnoM53tfDSsq6DDgjL\r\nJ4mn/fSFA8CZDBaal2gG+fMRQceUFGIoTmZujYbj/0Q3wSRBPVXVttYf+xZw\r\nNDCy+wSgFPB9ZsX6kIX78zgUZ3eYRjhmjPPmkOcxBO247sqaruQ1+q3K/pw+\r\n+E7lyRHBpr2lk4tbLAjr+XcJuMgD3E/mRCkLUt1tQGhtF/VaMrWQ7c248HC6\r\nMwaclJqrDELsBUQ8ggNAzWtWVIPV2tdIxp3PPU09VULnROcjf3SaGKI4KZnm\r\nvX6y47E2hYm8xzObmUKGLuFSdakhKzNWtsS7VazUDzlcoTSJuuyVfZfjfBA1\r\nKMhYV/xij0lK3GRNnmTsuHF/RQ2C1bZ2gFxptY+Lc1Tr4y+qyWYebclGJF0k\r\nKV+QYUjAsWGiX8CWMvdw8Rus4FfL2yC+FGNNNGxL/Alje8WOK8EInvlAFDDQ\r\nM/EewdpBTav8o5GboZmIlkWUA+c8g+J6tVTpLCfGqzgdBNT+J8ubP7ncssXQ\r\nOpVO+MEQY5aJuGvQpUIGyr2En0EKR9D8kxq2FD0E/qZHSrB3/U3E7OEQJTEo\r\noHwrqC7Rec/NVStj0WyiIRmA/uP1ESkQRJo=\r\n=ijBU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"82fec640a46c17aa9ae03dcf2c8ac3895bbabfcb","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.27-beta.4290","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.27-beta.4290_1654554079515_0.584874295871944","host":"s3://npm-registry-packages"}},"0.14.27":{"name":"piral-jest-utils","version":"0.14.27","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.27","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e2b030f562de971b98b476b0c9b385b990024852","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.27.tgz","fileCount":45,"integrity":"sha512-XDBMO8SVTpiZ/oNgQSuCACC9rIHuyhYxUUvxrrnyi1CD9b/XTm8Vu0EcwI1D3Sy/OZiQvEbMtojUZawPfXrn7A==","signatures":[{"sig":"MEUCIQC2D/OnxKurVXD29n1Fw+UEWBxQoAcW/iDKokilOQxpOwIgK62uE1WUc41CdBBibvuaXvskuOF6TukPFhgBBxJ4Ylk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinpm0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoi9A/+LIZzhrG4ptU7Mq+uIWlAvnTJv9AaTRN1RljEuzsr2w7aKrI6\r\nCrCzH3Ri3LJtr7QV5VTUY1uHq5ZnuD5rWhMs+KhXg/mTNoKHMgPWX4oPGTWK\r\nyp9mb63IXSBG8BfSxL0fzA0dZo4v7qwElH2nz3retMY8UGy/V3V7JVBxroar\r\nwtrUPG4BLJ+C+OQ+fXYWtTPDl+/oDMpiZonFbdSZv8Jr74YaFFcUfKj4fV3E\r\nCFDmpl+HPOrjcWkCzdudp87NrmjvZwKrZ3aMnU3wK1UH2cGaQxVo4INVZDDe\r\nf4rEGztk8AysFAzE7wqPI+l1KQHJwfyrObEieJYv6UevWGqkBLCnbmjdbEJE\r\njct4h4eziDlsLpxXF3iwdN7usB+mbrf8pBENY7cBiNW8MS0OhLq5sDLHLdis\r\nmjBmhKKTHz1eAccbNkLTtULW0wmm11fP5a8/tryKcr5PvDj395O3KcGd9Jax\r\n7rX0RTEH8qJsB8/UApBb4st//l8Zcy1eNOKQKMhcve2iKDMk44znoHFECJ7/\r\npwkn8VYqtCGwu3N2/fXkmPZT4KVSVtSbYIYBO94IbhJYE19/R1eafRohLZoL\r\nPe3wyDl5m7S7ZMxAp4pqlNRYx8CkgmVpLRPSTf8cG6ika7ocnXFAZ74SmiUK\r\npZK1QoL2UdRCWoDDVOdbngqbVcSb+YEnwGQ=\r\n=eCzY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fc4bee782e8cef7d071fc9b0209e485b6f30941d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.27","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.27_1654561204045_0.9226228321472316","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4311":{"name":"piral-jest-utils","version":"0.15.0-alpha.4311","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4311","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6954b34fff61585825b6396316858351e2202652","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4311.tgz","fileCount":52,"integrity":"sha512-kVKCX3bU+jD/K8VmgzxxhCYVuQ3h/mAXxgudiGTrmIQFsDIUkgUNJBw+V3BoEs5fu+aeXC3is8L8Xj05Idg5Nw==","signatures":[{"sig":"MEYCIQDEAda9UEdNEnqgaqyLiKV/Kvtz4Pg2m5vthJaEkTybXQIhAJMfUzNoGPYQIurxpDA4R5UvugKoxz2aEhOktCqKK3rI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioKcbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoc0xAAjh4Mw3swO2dD18mRwXEoYxs5nwq5EHs6U4cGYOGCYmuAACZC\r\nj+2S9UW4wRcZjshFnJXq9HOwQ/msQrnRpNB+KKjAJ8cLDOc7UP97qrHXxjG+\r\nm/qeVP8nm6fX/BJf+7gqGOkMPIUiAojilwKZ9ZZa/ITOSEnG5kGWn4xgC4qn\r\n0q7+bu+B5+DbXHGAwAjtwPKQmEg8Yiw+5UMzgbigxL0ugNQzNMfo5yfvz7rE\r\nwERvUtyNL/ixdP1vDQt3cvwULzm1osLM2UIg0qiemCYB34wNEfAYhAkkn4HK\r\n1TPTAEOxP7xru7i4uiyDW2v5Im+lLRvSVegwClOcLGfnAhiZmnt3Nz28fBWo\r\nXK1lZD+nYkLls6uP0ZJSawOulvTueg3lrRMWz+qxDiHgOS0qik+Y2d4npGz5\r\n9rHDjRnqvddAffq/xtD5VVTsA8eYQOIVDfOdb1z8vn2TxwO48cRxbXd7uJTX\r\nIkZLyBXk0eASr1NlTlMXGUNQQmiegyqwmmMZpsAxQMoeLF0LFUsBaKYrnccV\r\nCxWHpQCLRdPCQJH7phtSO3Lq75oJqXP5/8QyF6uCqDSW3N4ZnDuhrA+VgXOh\r\nIAsH63veB1zwt0eGhVGZxXN11YAcmdNp4MCKqRIKuG4ClElk6zkgKucjH2Xg\r\n8zxrzywU2TgWqY1/Q3/g2q9diUN1IBbV5do=\r\n=+qbG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"394262be7ca4f7883adf6d34d5635445fd1ef9b8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4311","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4311_1654695707119_0.19275357268920068","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4314":{"name":"piral-jest-utils","version":"0.15.0-alpha.4314","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4314","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7b2ed82b8fc1619e9a195c12aa89674507d09da4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4314.tgz","fileCount":52,"integrity":"sha512-4kYC+6xkwb4uaaWvKo+tckiQ0D0tKpiPDx001iujvC1rP8TrQ1oeDrIN0VCNDGl3zi+z8gNBQZTe1JHc3WRwdA==","signatures":[{"sig":"MEQCICWVVkSG8xVY00lz4QDe8C+hrx5P8vWYzG6vJUGxN66YAiA5Dod9cucCZSGbm3vee/pHgAEso+b4oEdUmmnXqte+Jg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiogseACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpf+w//aG84Kuqae1o+1YQx0k+cAaQF3NEvysd1bbkVf29MBUqsNH0C\r\nm3xlty818OeWLkrSXtoJJ5kN7Hql0pogfxiPIIxKj+pKNM276eLt51CxeJfl\r\nzlID2O7hfOR4UrcgvYaXOod3t0wSvPlJCBFskLxYMv3dgBO8357C3+s2baNn\r\n0LWq3DMf9Wp19NfmJ81Hps1u8eJCdDXP9HLS7qUEPHUdUnf283TFMSRYMLX4\r\nyRlx7EoY5nwXpGfRh+nmthFmHjubSc9EM+oTmsOgmeJi9vUvX4/QPxC3j49F\r\nMLk1yY0j6HZxRvmMHi2B2Wb+XzLMeA09CvQeCg8n/ejnZVcyKC0JbCBoA0Ud\r\nvP9Wwsq0EHcf9lwn3KvbxXV0AOYPqEdNdFmYOrchBzOaafpTjicOLrsyWyaD\r\nMDpuqoLSOVPAZ2vCFk6w/z6YiKsiImWNQYs9SLZ6MT74ywRxBdbiMl5W9z06\r\n1z7Jj7SbRQCC1Br65bQoPuHq2cWRbQ2ORHa1JfGJOoDrKlnFWsvz9tJbLPbH\r\nbTTtY5Ih1NSaUdh+pJk1BAmlXJ/oZMDDNJXGMUX+7RdU90uDAc35+Nprx/Uh\r\nBa0JGVsvwm/mBpOYCN2Ji0zm25D6MEBIkdRHheRXV4918cKLv2MvXHWoeN+z\r\nJ8R2k+5rZ5gpOMoQG8Lb5hJnE6KKkgj1f8o=\r\n=TMAM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"8bd59debe22a0fed137458a5295eb2ea43d9e0d3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","babel-jest":"^25.5.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4314","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4314_1654786846267_0.671174381127676","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4332":{"name":"piral-jest-utils","version":"0.15.0-alpha.4332","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4332","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6acd70f76e664ae875f5a15717935c6d489c66aa","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4332.tgz","fileCount":59,"integrity":"sha512-mI+iSFLHup5LJ/blxOKVrX77hjzNDT2RiAEa0qMqs7ythtafwBYwt6H+E9lep9LxY2mr17N7Ne6WDK4T22a4/A==","signatures":[{"sig":"MEUCIQC0FO9857xsc+OsXV/634s+PckxvfGoNeul9zS723M2nwIgR93ffEJZjtNh2CW0qnf5bM2FsX78L+FLkADEQw9OeoM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqGHmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3fw/+PReAfR7juzgvsFO/KkqnPEPSaukRciteb9uZDRWyRF6EH1Ta\r\n1mugVkOzC+hFSHvWFiDeQBkt9HAqXBSZWC6YT9D3mcfEcPCUCO2TlhEQixbN\r\nYy9Vdj3U3vq5CxnB4ZF5VSS/88RvMsGA8IAipRa5JbkJkmbh8ilZ1Ckji2kD\r\nLd14lFeKUIVLsBlyZmvGf89v/tPo+ce6Sike21nou4vyl94FmUOTOXsi3XhP\r\nKQDKiYBuv1EWaneM1EXBDgR49dTeNF7/C6J9Aw3euSpZK9GxMhvZX5iuJb3/\r\njUTY6BTmEaZ8rVGcJ69bVsf9Vn1hwJY9YnxydThUL8+mvRVkeu1pzOoV9uim\r\nlwpMNOB3xmljgQwVcIcBw4CwwFu+32SL85lJndP1ISK4siWAA0eoTobYdguM\r\nP8EwiYeIzZ4mXKgx2Kl25UZbHwCPuOcgRE12gb12X6g1acDjA4Ngrt5Oy1O+\r\nXPnRng80uwjXHAxJfNCtEq75KxjxoNrnJW3OJWGPKC93PkmwMBQwknsAzI74\r\n/rcB1eT6hmv3YHuvJD80sA8buJpRdgZSUrnTnbqrAUj7RzGHLhPKPgkEGcf+\r\nWdbaQxJUB2K1SBLuYU/EhZzv/nfmSxGBx4nhNCkA66bd2e0vvvX4HrZVkCvS\r\n/H/vS+U3cXRQyJDIVsqBhC2uvCgPnVe26+4=\r\n=wNpg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"109cacf66ffee5af60faf7bc861e5ffe8c9a7cd2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28.1.1","enzyme":"^3.11.0","ts-jest":"^28.0.4","jest-cli":"^28.1.1","babel-jest":"^28.1.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","jest-environment-jsdom":"^28.1.1","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4332","@types/jest":"^28.1.1","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4332_1655202278823_0.21424490382186634","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4345":{"name":"piral-jest-utils","version":"0.15.0-alpha.4345","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4345","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a4a3567c31b48a68c92ac1ad6163178efee48e94","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4345.tgz","fileCount":59,"integrity":"sha512-YXWvd3v4w4Lq2zyBtIsOkMZH3MMxtJ+EUFnBlhIVYEmH8rOUiMmHRXAqa5bHnc7J+Uu6jTX9oHkQfhbYwuFtOQ==","signatures":[{"sig":"MEUCIQCOlCSTqUnRg6pBwqQm9apWq1dxwTEdL4LzYIGJoKtpzgIgG8C3fmFUHJXVJ2fjYSm7zy0eh+fMzuP9yFuP6xqZejE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisQFuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmox2BAAnibRFoqfsvjvVZG4DSVutOTx526zFcNZIG1T6W8MXkgY/3kH\r\ns7xVmwElQGjUehX2Kchf/zGC+OjP9Z2z61zXuX6906S7Zq2A9DjrgtBpD23a\r\nX/uNQttimzArPY6NgYB+MiSxwAaXQpaJdeyVso7ZR97kOW6MIs70BZArQOpx\r\nFCqv0MTEPoyU5fG98ZmDdXCDBon+4psN/D1v3Ky+ZEMqOQ9UrQwmQj3Ze0TU\r\nlXZqVWcbFeZHQt52UOYHQvPN2NCBy/7Y7pd5+guWxlMWZ/K9E1QNVpQdr5RA\r\n8YaviG3OlkxGUj6pxMCGrnR6KslFB7YhEaf8Y1a/MNoyg+4OIdRw/tCfgY60\r\nNXJzWtoiOvBB2YUwreY9L01tcC6Qez3zUb7MEZLeUOGW6PdXs+PiJutMhWyY\r\n96B8mVSyEIkwNAQbJWN3Fnz6BV+27grOwKVthx2+qzuMbFkl5aG+6gKDVsoc\r\nSPltAH9XxFp+RV8eveMdBM1VimCK4gXnatZg1CE0cUZfdbbG0CFY/vdWFVR2\r\nOMQQt2LawgtagoJjz3SVnkdwYhCpQsjoFexoZGyKs6JpD0zzlg89wXAgKDi+\r\nbo7818TaOmsJ9g9UWFGkxtGnv2DUXZfOeA76+1VsWh1bmnOoJHqPqHaFotpU\r\n1+H8U20QMese0eSYkYUnBIUnh0XWSIPJFnE=\r\n=qU7Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"56ecd6ad080b3d275752b19afcf8435e4bd09140","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28.1.1","enzyme":"^3.11.0","ts-jest":"^28.0.4","jest-cli":"^28.1.1","babel-jest":"^28.1.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","jest-environment-jsdom":"^28.1.1","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4345","@types/jest":"^28.1.1","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4345_1655767406411_0.838588788812207","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4355":{"name":"piral-jest-utils","version":"0.15.0-alpha.4355","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4355","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"056c9286b86f4bd4a1219ceaf0b4dc2f978d3f3f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4355.tgz","fileCount":59,"integrity":"sha512-eqLQr8gsH9qfaeuvSCEwpb5LAuGRpfIARL4qmJJksqCbNbZvt2jD0lCZ0Gv4O1D0E2MM9oT+uHanuBqj4mWtwA==","signatures":[{"sig":"MEUCIBQQqKEkP+1xhMbzcrc9XwS+VVS6b8YlpzUblDTvnlEqAiEAuR1jaQ1jlCXg217EV2EoRZ5jj4RyuPTTErN+Lbfv8I4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitaL2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4jxAAjQHt/zRiGaTExUw1QsT0AOdZibKy9xsrsnt3uvMKT0MozDiB\r\nMTVrfPXSNqFSNTeiT9aqtsrBU3QGSYAfi+fUXI0WuEO9Oo+dunwv5WMh3Moc\r\ngju8D4jC/MHSZ7NnC+My8ovopueaZQOsvb9mp1Otf82K+7np6ayb8dhzKRcJ\r\nT5SbHxO1I5oR8/5rt+7m//WTXbCzz1YCz+YH7eAFjVyaSP27juOOjTssaKIr\r\n+KSK1RME7YfG0K0Z2tZQOsKslG/DF64GKDU8FfEr2xmPg7DAGrWuF20YLPZr\r\nX9ZuDV1pVmP8R2FnVZmc6Lj6dccRMh51dsjPrwGeqsIzOAljxesqx6FWTGJ0\r\nANhbuxa84S+LY4kLb1s27YHNSTUByIFd79Yz9YvXqOOWRGfd+hD21TRVt1JT\r\nx1ERedVeszbC/FKWLa7nDaOp7DV7Wt0FZbuiysvYecmqjWd24L7XZrs4wjUK\r\nZDvbtdgRQQI73znCGMMCe8RJ5FAm0iJg5qjudW83NWTwGi5FcLEZ7mU0Fo44\r\nRq+bYhVN9VrZ2Gg5Mo0POjbk6ibuDSOLlbenUOSDWndrr02OwWkmkFQ/VqBN\r\nvNBdCynZOSJ0r0Eg00ed4jNQDBHvmwBzNZFOL3ZgNcOFAaMBPE9kAqt6/b1W\r\ngwzX2DEq6LrxrJlIAKxdLnubJ7rJsSMpxDw=\r\n=eOzv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a4dda359fe03992cd06bfb808df916747beb065d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28.1.1","enzyme":"^3.11.0","ts-jest":"^28.0.4","jest-cli":"^28.1.1","babel-jest":"^28.1.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","jest-environment-jsdom":"^28.1.1","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4355","@types/jest":"^28.1.1","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4355_1656070902279_0.9865567150121413","host":"s3://npm-registry-packages"}},"0.14.28-beta.4360":{"name":"piral-jest-utils","version":"0.14.28-beta.4360","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.28-beta.4360","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cb007764b56d5a6ab9e6643e18ea78934518c717","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.28-beta.4360.tgz","fileCount":45,"integrity":"sha512-bPb0llJU7GOOlwydIQg7bmYx9NYKiXen6JSbiaJmuIyznhdAtU6xCVqo5lz/nwPh6/M/e9s7VCxaKN3gdfGW+w==","signatures":[{"sig":"MEQCIBGe6wK1mTtkVNmzzfww/GOVWwlgszfLSLOsr03blA9UAiAxc8Zxyc4D8IamIvbAo0ggFwUIWS9Y88NAcTgnwz2Dzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuaOYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYAw/+MmwDftOCgbxm2iTXeTG3suWv9IneNGoGNM5nf+Xid9L7B9Vb\r\ngp3SXRzznzv7WXi5SrknljGL0b2LElJjYHl0bh5EIropsyCF/4x4iWkrs93M\r\niMLKSiAm9PjlmpYi68IbVDn1lJQU8PKIZNju4zM6Z2/0ApvFXM7NzSPq7tKa\r\n5Yb7pg4XST17lHwNfqUC5l2am3iG/wLmtWqHRy43mNW5Y6v+L5MzUJvk9CiF\r\n6tZPwqzneL4Q4Q4+yIRxRjgkNF7SWiB8DmZgFssVwKNvyseFvJ/JSzW1w8HT\r\nulUPN1U/XnIu7e0ethXMP75ocM8spOYQ/mY3ENeYZMka0tjockKyYnA95dUE\r\ngOnfZZc0vUVj2DDv0esheO5eYnFelM8IZYtSnZ3XK+jvExhFL3i09d1XuInP\r\ngR1mNT4dFAe8P0Ty4rTTUQPccC40+NLgfDlTb1xaofQSUB4nR+pG3jOefCL/\r\nJwUbXtJy7JEO0lM+9ml+2bv/ohoSp6JYI2uXCfKDXElVRb/Tb23NtM8xZ2o2\r\niuueRKWK694aV2ItB7NwhHleQHsLCr67JkmxkZstp3132ssea0fcTdIHFxa8\r\n2uhfbfYGsLTho5g1byctC1lLvmJavdCB55E+Z8tdA8Afxv7M2XuTXnntNU6k\r\nfZ6n+InFL74GgtazEfkwnj3tfG43B3TQZ7U=\r\n=MU9P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d7d2a311e7c9c2707d46f41a78d435ff44bc7169","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.28-beta.4360","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.28-beta.4360_1656333208814_0.035435276303771523","host":"s3://npm-registry-packages"}},"0.14.28-beta.4363":{"name":"piral-jest-utils","version":"0.14.28-beta.4363","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.28-beta.4363","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e7335b74cd8693783dca064869f844e2079bfb2e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.28-beta.4363.tgz","fileCount":45,"integrity":"sha512-v2nk18gbV9RS4X3CLvM0HZMrAKKg2Ud+FbB45uNanKDsywxoJWaIplrDiUfUnHV8RUjAgRsNL3uR1rHLtjhZeA==","signatures":[{"sig":"MEUCIQCDCwNkY6Y2XAUTZ0A9IiqAk5hXvVPtIY9FQfjUvlt2AAIgfLwZtIaIdt7QPooqdnYIeXlUkVXMvFQGLS9bOzAV6G4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiusw4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoeXA/+KHlKzRw9v/ETJsBGUGYD/yGFzPIX/0xZLh8KpPXy7zezN3K6\r\nAhPi1i+4PZozUEquGPDv+1eFekXJ/6UW/zoa4VdkYe0Kx4jjiJMUi3ociXxp\r\nLreJCdXyKKSG+LVS4rOjRuLoJeZckQyJjD2y9kK4RmcGzVx9ueS2soahDWjm\r\nes7GVG9mx0ibOSkwUKvXbffjcheCXVAwL0/b/aKQB+OBq++eQIdav3I6qwaS\r\nE1fUdr63tIF2MxpCK0zfegJ5KCuocFjlGRWsY26c0/qloFkTFJJS0aYSaK4E\r\nIVxlbPUfr8XDk/iJLI+nFV8Lmkt/8FOjuL7YF61jlUNKxNkOUszQ7rzA+gfC\r\nSPMmDDJW9g1jxlCaloBT52hWH+sZqstYo+InpDH6vOpBOYYsYo5QSOKZNZkL\r\nUXr2KWU1DzhFL/XmoUKWo+1wH4P9af9138C4NWMnNyWTPtTdDi2uid+mbRGW\r\n20O4s/W5ME8LHhVYRIjcCsRcYlEnrHZdP/s9J/JHa+K+msGfGAYiR0IGFDLm\r\nfxZm9w8QzlRc6nMQBJ8tkiXOK3ZKZhQGQvKQ6OrCvsnFXGd6138APq2wEBtX\r\noKPewmK/PyrUDkG5wUnYxLLZ/b1zj6YvhNWWaH6jDP4yVotp3rJVa8Kmbs/d\r\ngGsYmqwtZJmAQnnEuA2ZRq1Zi98WlolKeIk=\r\n=mJRq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d9425ff60676c2a1ae73f1d5c13527c58242badd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.28-beta.4363","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.28-beta.4363_1656409144328_0.2347444811817292","host":"s3://npm-registry-packages"}},"0.14.28-beta.4379":{"name":"piral-jest-utils","version":"0.14.28-beta.4379","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.28-beta.4379","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e1f3ab5df95d4632dd07efadedd88d4e1b0c63c0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.28-beta.4379.tgz","fileCount":45,"integrity":"sha512-uDyvR4j0FNgidPmtgAYTQbKfBqjYatWnHkPiEmcT36g4echx6yqXWSAiE1M05/uQAy7VvKMVQPXF++lUxuDMvQ==","signatures":[{"sig":"MEUCIQCA4IW6KM7I9/FWznrUsJ6vj5Sov2JBH+C0cpPe7VdI+AIgEXO58j3Jc+bZO/miBjhBCPSifd+ntI1vk36MhHjzJAo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32353,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivp2NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoT5g//d1SHcKZOeVqUqHcOJMarOeXEZ0TG9o19QBrAOqsCdC98VxAM\r\n9gTcSWJEozw1M19tOHpIvOOEIeM4P42BUK180tAVm4EwP/okTIE/7rPyJJi+\r\nOkOtRjFHsHeI88d4k95qHnb1o+7CJ5jEHBoF4ZUeWUQJQDzp6nrPNb2021RW\r\nFwewfXccqem3QH9jYLx4MbzcwnMirXJy9kGHbBRkH4oYX2k8av4kCPh+JXLy\r\npELPnZpqjUYfLUyhgKKrPHabhSkDLYe+YaPn317macXgfulkef1syeBBp04v\r\nTHS8Rl6MvKaPa0+gdLhZVGISvCdJCHEmXlGrkx/6oNY8EXxMu9T+2ndaOzzY\r\nG8OdZ7dQVmXUzqBj+4MDBy94lkTCTg+RDrAb0ZjGIQ7pyi5LA5sy9i8bLrc4\r\nNVgup/BTFDnM+l7eJkg+TUlhsy1Z2rDeEqnC8t/jqCjuQWpv6X2dfIhnKOYa\r\nlyK1aikO/0oxCPSmeN8m54MQ0jtBzh0BiXOhGrDVBL3R5+qZm0O3khiL5wsz\r\nC3aLDIGVzulUnz/3dfiqbIsNlPg8R212La4tHuQhqNAX9GD2PLTJPZMX6Uej\r\nyVq740eBhM7ACaRzqf48itsNjlaS9zdmyKzsX2rHZtTpWLSBJvWwyxNmnbgq\r\nDloKNF4oT4N0qv8C2YiH86uSeMKoQcETgwA=\r\n=Y3AU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b709551801efd8c4db99e1e6aa97b7479c59dcd6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.14.28-beta.4379","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.28-beta.4379_1656659340779_0.21712932603362511","host":"s3://npm-registry-packages"}},"0.14.28":{"name":"piral-jest-utils","version":"0.14.28","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.28","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"87a6536cd8b9ca99e7e004d9fd6ba17bfe4e822f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.28.tgz","fileCount":45,"integrity":"sha512-ZylErFxxwwB5BLaQN99u7GOwFEdiIjdcyxcyQ9Dt7qB0mehdJ1x3uVQ6fvvYcru08O0KB+ZHZY5rLXAvzwTQOA==","signatures":[{"sig":"MEUCIQC5fDEqM4za/IaLhh05Ye3ejoyYjWiTotxFoGQib0vxjQIgaHIhLNR8YkKlWkYrVDif9ulLuuwTm4pJKsZ8+b1Y4Sg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivs3rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzDQ//daVdPyV1RU4VLyYc3QNL3sMFTaBDQ2A4Gy35wD4+4BTX0ReB\r\nS0z7Qqn3q0QpbqGvkxLioTmjty7mYLkpP7PJIPYv4fbkiMle4krYVJl1OR5b\r\nS2JgmpRboox5auCCBsVTiULzNwAw6elGsC7BQG5KUFm0f0RCmwgKhrB5X886\r\nvL9wAxlq3psrF5U/glFGCobwcffdATpvxz24fgThdWUSOLv9URQRkd2PZywW\r\nwOFgRsYBBX+jWfGDaUyDfaQkyf/WPVaxIaTqZQmrKlQz3AtS1ZMZffG46uTd\r\nYCoJfsAgYnQYlBdf34GGoGtErnJFo+Xxa75I7pRGJn6LlfbNV0yUDUzVMJpP\r\nhbbaqxvAMaA3dTc0+7/61NaakHsYlxmXp5Cfj3hNPdr1xBckTh+7HrN0JfcX\r\nn3PzfuuaRGJyPhRn7wZkOv5S/RRU38LXEAm4ofLkk0DRZo1RQyqDz5wFxZCk\r\n4zAwSAKdODzXThe0nbg/BCPhr0nESVaEWUDLnKGZ7vlmSqPw/BYr3olVhk73\r\nUpDt6go7zG0ssm4wCy6gP92tIHFeAPeQP6ZVaI4NGbaZPfymd5b1LllV29Rj\r\nTBJKnWcXlM8n0b77g3tCncn6I14v/mUu0SicdJfl0dg9coZHJmO5kKFQNpKh\r\nj5vuNgRrucI5RahhPp6iKIvdd8GeHMR+EdQ=\r\n=cgTH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d76ab003556bd113dd00fd41af144411ae974b6c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.28","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.28_1656671723018_0.1175018085101962","host":"s3://npm-registry-packages"}},"0.14.29":{"name":"piral-jest-utils","version":"0.14.29","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.29","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"70734aa4b970514842bb81ad8fa563c842f1ed2e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.29.tgz","fileCount":45,"integrity":"sha512-5+ps0LcB8/TNoxaOaCnyAULEdjpva/1q7+6oWpi0TOeW4WgKPYInYO54ADUVIVgGANrfSRfTRcd41BMUezlzNw==","signatures":[{"sig":"MEQCIBYpikEz3rIoU1KaNGNaPwyh2ZADk+S5Bu4yzTn1y9zrAiBxgEDoW8B/PW2btvN/UJiC4nU++cmCwYt0qDzQUDxDVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixAi8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpY/RAAjw/deJeBksBmxzOkja416jCFQn9NThO8FDSgvEDfHehar04I\r\n4V5gWp2kLCDMA/GhQuacByl34QttJb1aCcMScZ1/uaLLbmHl5V+xbFgYI67d\r\n0mgILRLsOEIJ+ch8XtikR8yEfAKo6kDNSluA2sLKN8MORn7/0V6edR/lEhaS\r\nU6OrZkMCi8jyw2vz5NWR0NlXkFH2+XXGlH4BkPlGUilPQQhC41m9/y8DlRBZ\r\nwu26LZhszzEK9KBC0VzwjXPkUGTBHyLCFXJDhqhtw7TpE9DKDz7DJdSdsotG\r\nbnwEh6pmErvU6F5FRSKgljbpDFzc51weWvfIbMO4r+ZNPIYgy33/atDnzSp1\r\nVOr+dC0oEo6yeu4ArWp+gl3obpCBiySTQlwXIPiGut3oFO4ov3cFeWD8QG25\r\nXz+KFRT2jOPBQx4iOXpaPDVZ8O82Wq2dQ6m21tdF244SHPdfD/Eyfjc7e+i3\r\nwvbL92ni8h+PEPQep7+X8lIqU7gDYtUIL20xxGij4H4CVTYv9i759pWwfZNB\r\neD2+AKRWZaJeVaJDvqBcxzYX7Ms9ZTZTjsVzj03XoUuh2haJ+3iIfo8G7m/F\r\n4oauiXccWNf7PSby4pM8PDbI8zLwV5H6BJg9f/G8/CtpFnQGyNDPtT1Lq2KF\r\n/ypoSyOWEBe2aNncnzzscOqCpfu7SZqi5vo=\r\n=hS7H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ebec021d9d6d469e1a318588a5c45ecedb43b35f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.29","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.29_1657014459944_0.5757016472200898","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4396":{"name":"piral-jest-utils","version":"0.15.0-alpha.4396","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4396","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"376796493830c89fd8b466169ee081ca62daf23a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4396.tgz","fileCount":59,"integrity":"sha512-Zp56azefto2mmqUHivW3lYhpf0Q0mAh0KWKFN4JQlNkHrniyWqdDvrNGyjjX0S8ALAXLBM4yHg+jOnk3F9kTjA==","signatures":[{"sig":"MEUCIQCzCToKei2NydYYx5mvoRePtuAC60XXv+Nbl0MzjXUwugIgfDgZefGLSPsl38vEO+OwFuQvM+dInTS7N9q2xDsslJo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixMPOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAxA/8CgSYYF4LRbe/i7gosWkgIm/BGO4wUvg3Tiq1PzoDvAmOb+QR\r\nmcDRuiCuHe5IrZk51RlqYkUBUHv7WkkvCaphMAoYZojrnRo6Cwwn5T6QPyak\r\nQlzRYxxS1kheVMfZc75HK+ha2RHK7xj3ETPJIcAB9oXHQI6tJZ98XODhskxE\r\nj9eRGN0N+N0oQe8Xud0/dHUXv6UmtE0tQq8b0afrkMpDqUGFO90Ujwt7vgq3\r\n6XUYZWOaHF+Asa6uQL8wlIdr/icgbHiXsWzm098lNx3Tra4n/GlxfG+bVrZr\r\nIAtJoyrzun4NxVw2laVr+ngwRYxdmI/TPdAkhG+2JDm1mQ4Zs5yAfOuWejbs\r\nM6g4VJ2N5qABlaBamXgc8DFitHXXAOagu7yIdbSD3pjelPUDuhT/oiYvk9Xs\r\n0e7r7dQGEZaU7m+mtq6AsXGf9DkODmsCzT8to7fnaV2yxC1UP3BK0XLY4BI5\r\nBCDr+OSadqfM3H3uKoYWQTEmBP+PIaFmznFfQEbuw7VJ6N+BZ7BhA9n6NKZ0\r\nKia8mWENGB9wjJPxAS7dzXlkV2EzzNg65buobEu4rg/6pOAUWkMmUnAYVXFG\r\nlFJHcsc0usU+i+MKePMdeU5DO944vSKU1SjKuzAZaHHIdUYyVVQlvBwS6MNf\r\nBxBG2Vsh66NElPALB+Ll1q2HFvgVej4/yiY=\r\n=Bule\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"62abff4d61634b3ecffda2407f1c29f1de929b4c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28.1.1","enzyme":"^3.11.0","ts-jest":"^28.0.4","jest-cli":"^28.1.1","babel-jest":"^28.1.1","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","jest-environment-jsdom":"^28.1.1","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4396","@types/jest":"^28.1.1","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4396_1657062349950_0.6619833552086953","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4399":{"name":"piral-jest-utils","version":"0.15.0-alpha.4399","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4399","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c1cb3b0aa8c96503d1fad738c8d6d8e840a464d5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4399.tgz","fileCount":59,"integrity":"sha512-ILBkeQ+Rm/d1KqtdH73EcZQj66BcpusflrVdYxF9fn7AXeEa/YJGqw9Av+qjVLpt57tD0T9h3lMNMa4kFOEK6A==","signatures":[{"sig":"MEUCIQCjMVDJ39IQo1pNxj0eHvPRwupId7afbB4h4pEWnQi7yAIgP/+QvhcAGgoZK/ajeZ+kvJPck99tIhiKA8KZyomDhac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixZMWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9Sw/+M029vOLuAERO5uPOtxAi8ikMEClL24sKuaogMHeB2tIvP4ms\r\nL+rCg5WsbY+MZnfIPdqaE3x3p0AOW381lgNDB+jdAJDIclR0uHOZrKsWcWCP\r\nYALk+2K8nI0fhFG1NoHIv4TvJjzYa0WJ+9JiazO00Zyf4+w4AVLCbrmlF4Yt\r\n9f9Xo1XJLw/J9doqvFDR6bxOn2+x/VOf4B/wSa4KglIWTYK+xnbtLimIPN5E\r\nTe5COkv/U1ChzpS0EpTz9+/5DhwCS6TuizizdUcnEELwi0C3PMWPQI556L8J\r\nptY8wic7oEDPb7TrLtV3VaYGpBFr3xIEAEs5zIaqi1ax+J45PciE39uCCh7U\r\nbFKHmSM7Hh3Q+fD6M7Qhj+X3M6FlD2vnrK3tUz7j4hzqwJRjHfH59vQg3dOR\r\n8oBCynPXWpxPc0mDTwtQ4UsVmNpNrxHu2yTpeAVJtMD9Djn+U4hEPZTsQ9Ae\r\nTwrrVKlhrWvhzik1iHO2+/1rimL9CQaUNhJAbitwrgsKr+1nhUP694zQqiIV\r\ngJkQTNQfV4s1VVaBwatfY6mm4CMP9ODgFmgC5t028WLScSmUSbzG0a8olA8Y\r\nIKjaKVs2JRyGGbuU6iNPOJpt+simJR5j2g30ryCYkiZhS1X7XHj+BUYNeRpn\r\nYqETJzqbVxg+aZBLyZ9Jhh8URn2BPbBO+/4=\r\n=Bvpz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"34be0cac6948a92981ab4994b01b34e44462e7a0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4399","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4399_1657115414760_0.05753934294552887","host":"s3://npm-registry-packages"}},"0.15.0-alpha.4409":{"name":"piral-jest-utils","version":"0.15.0-alpha.4409","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-alpha.4409","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b057e6f7180459d49183169d41c4dcde1e628aa9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-alpha.4409.tgz","fileCount":59,"integrity":"sha512-SvdscrRgExA2lh4YXJrFvhe8PzQq1Culimc7jk+pF8kwEkQHzfzFx2zLAWBrO2e0q4QB/z+M+G/j54MQeE3bHA==","signatures":[{"sig":"MEQCIEyyS7A7G31U8ujuxGV+k7cYQSiOJRb64wICsCF2VKIJAiB4V3bij8pbgCi5ARoVNEmvmhCOoF/tuehPQ/MkdzL8NQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixxOiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSng/+MZGSJzibg5nDAu9jejjRVOMgWv7Jn04vkMWsbd9CsGVamoGH\r\neCxxQR36nTjr0jTw9DokRD4i5dUg98dI250ozG1jqacV3jZY71looGEIsa+Z\r\nX8XCEdlJ2OIkn+IlbsSLNm1smMhkzgJsGxOPulgDeH1AaNM/0OWVNohjk1Xk\r\nEuXn2d4F+REPS4r3kMl9WpkXpY0h19tF3jWA+1fIC0Ctu9tMuiR3m5oHdeBv\r\n/aurloI/iOKo8eQA5Ot6x8+8BODHQC50ch75Jphz6rUXqg5HUlEHD51U4NcD\r\nrfSFrYW6H8dUSUW1O99yTeiJSrjTySabe2EoGpE2Ybwayqg0w9X+KyXWFgCz\r\nrv6Cp03U8UyZEsCTHMfVmAYudzE/EX4B7t+kgWK8n2SfnaSnvVEh6jgngG4M\r\n4C3Xb8cUfkjunGNraySnx0P3lwf/MRQLsxrRlqTvxHvqaj6J//s2QYbBeJby\r\nf1cowgD3tUVP1JjstEQnhR8IknXcb+LGF9b/TGWp84qnnmzda2DbMVl8tqOf\r\nAzpFEdxrfLKONc2DP2VWPfdAsGBuzDQd5E8CNAavWYGLRCshA+jGRj/iyIyJ\r\nsvCvHFFT05/yqe9aR93HaEzlI6FY89B7sODbkNLKa0ObT1Wqq3skjahit6DD\r\n0MCr2nuDbgCZV3/VmMAKgCgh+tNRE6xfBoM=\r\n=YmIg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f5a0a4bb26fa2074af90776fa4a8b85a3eb8369a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-alpha.4409","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-alpha.4409_1657213858137_0.4334333799042198","host":"s3://npm-registry-packages"}},"0.15.0-beta.4411":{"name":"piral-jest-utils","version":"0.15.0-beta.4411","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4411","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7938b701757204485c93c6bedb1074fa2dc899d1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4411.tgz","fileCount":59,"integrity":"sha512-NGz6dP5+StGVmjj+FCEYpqCsnmsE5j2+2ERs1uJFCdOED5qJI0AvO6yKA52F/SlBoIDV31NhMmPJJws1lQio7A==","signatures":[{"sig":"MEQCICEu1QMrH/aRpN5wqxNrdgzA0laH5PjHAVKIUwiDN8xRAiAY+LOA/qyDOVPYz27ik49vDSaFPaf5Ea1n4x0h/vUNjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiyXOTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2iw//QtF2gnXkqcLQQxDszdpMzqJd/Ucd3gjcTj89z1eoOGlgLZck\r\nbPedX+3RnYYiBlNNv7wi4VIehgBZXBxFhgFK1Z5/gvpZm26tTDd2H+H63t9m\r\nOI339564ks5fAlqycsRZWi/MUKRHfR017ceZgQ51TFhHRGxRD+1K8li8gtsI\r\nm2fOTju2CDK3pIVW1UdatLt/YGhxYr6Qcx1xiJSkuzTp1oz2JwXKw8/UQIDA\r\nUL4cDdlXxQVl2vffGXcIZmIM2NGmYb9vH3fPwm5R0nd1WQshkYf/nblzw5Xi\r\nTmU3DVTki89JWAeGhGX8h9FPM7wqLj6u7uriLyJjVI99bHTpzIDji5x1oBPo\r\n12+DisIg6tsrSPoGJFPcy5iGOoKzcnC3hYAdG82BVYENRpIDUzPYIstgKXxk\r\nn82QZ9cerr5FLT+bSP+cb7ZRqAR7Jom84dlKDs2gpw2w7QxpkecFlBHElO+d\r\nG9Pn9v36AJp2Z3dNwXs8ZioHNo14AJ6wIY6wq/dFFxhNFFxkj4y8L8FsVJOv\r\nd+Zwa0kiKhsjVk53lMw22m9uYq3Olx0Drfcd50ELHwWsNRggqRLnBxI80uEZ\r\nqCDWSnnAY9Db6rniLIiyDrXORH+Gx9rlIu7uk5ZFhR2mWhXSahHxeoyaCNWh\r\nWR0vEJ+IG/S25F+qBAc1qaxdeP0HOwuH+iE=\r\n=0hVN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"4f5faf811d34692b5f2d3042b9fb732fa8d64cb0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4411","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4411_1657369490934_0.14066667783796993","host":"s3://npm-registry-packages"}},"0.15.0-beta.4465":{"name":"piral-jest-utils","version":"0.15.0-beta.4465","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4465","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"48c0cd7c5470fcb1804a32756205e16dfcc62ce5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4465.tgz","fileCount":59,"integrity":"sha512-zFK8gsqpRDTFxVA6e8yGg88huzTL5FYc1biXA/gOnz+Dhr4rMZWtanR1oE04aptX5yzNCbPVCZ6RlCOTzBK+3Q==","signatures":[{"sig":"MEUCICy/GQBkeHcfMt5yKrYNf0G29Bl5/+J5QUIvxw0rfNZxAiEA1Hdnx8nrIzx8OC3AZYsICISr1N61uX5Cu77elZ5x3xQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2QuMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOVg/8CiNhECgXntjxB7I/IdXytMSb45ZHTU0i5Domtb3wHNweZnPa\r\neqfiqNmjpWlg8SNWNko+u1Mc7Vq3+0FdwBEXt3Ud0lPmycZ9mOT/3iJJpqn2\r\nwFGDyohFGqwn499qLZNJVHLohh1/7sYADA6bZOzitMbiqRtlaDcaGSUbsroL\r\n9Sxo6Lu22L4aJBGv0toPqIiMKtvVQgV6GOmIevUn+vvQY/vlW2BSjrMpKFOC\r\nTHmqGO3PblelfWwlqXNLgXY/o8331uge18qN6J12oYCVc4PJ7YgI3lXMuwcg\r\nqFCVAA5Zn1lm2fNFh+UT51OR3FURp8Zh9JpgrnBfZoueSHP8hORdPyYJqGX7\r\nvkWMIEt2ELMU2IMWuQHCvj+WRY8DmkXU8dvSTVtwxR6dTdusMWspFOS83+ZX\r\npJqdOekKmRF8OzjmiglujqRPX6DtCJb0mKmiSJH6ZjhindMgaGw35fTySm/b\r\n+pV/I3j1IQgAgb0Eyau7FCbWHAmH+L8vsq4jWKxg/X76lKj6R2mYGspLV/wI\r\nT6nKQ3EVnYPUxiPf6zDpu5Zp4AvQtjbV8iueEKk4muKAC7H3rDLEzNyrluOa\r\n+4sCT3Lruo5u+I4Q4DytjuWRHHnPuXLW5KFa/oXe6xJY6rmnQjrw3//DqQTL\r\nmXcOoAaX5oDw8wBXOmPy7lJt3Uk/B1gM4/U=\r\n=w7gh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"3c7c64ebefd180d4e1cfbf0a397ea1c68063ae08","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4465","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4465_1658391436740_0.06306789449452732","host":"s3://npm-registry-packages"}},"0.15.0-beta.4466":{"name":"piral-jest-utils","version":"0.15.0-beta.4466","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4466","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"afdfdfab98f610c0b58ba49c830493a58bec27cf","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4466.tgz","fileCount":59,"integrity":"sha512-FxT6WOc9xdCqHWl3iZIL6Wfd871RQAhjP9Du82yz87NwF7WL+vW4V5n6JuJrYAN7u5xhDXdo9xO9vM8m6wQj5g==","signatures":[{"sig":"MEUCIBJCELEM0K2l9XwtWJTBoR4v3gXltyNTt2eYtXTWBU5pAiEA1+vv1lnKnqWI6gq+YAhWdgEzMLQTp6LyKinpcW6mVhY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2YsDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqahhAAm4g+IXTiTgbRlJhnFfNwYnP94SK48XBa8TjJDEZPFpzT7kRd\r\nFk8YESZ7J6vIFnfEJWJ6ogYWVG3tO5HeoMbY4F0A4HRqpz79Zo+/Lc72gMmJ\r\n0GA33mCbJGe8gWV64TUGgfqboC883MlP8+NusgcdMMAi8j+1jd+FWVt1GZ9U\r\nqFlPBdVGF96ughQVe/imXE43D/nTOC6gVqnWWfmOBvxS+nzFMXcuZOA73S/T\r\nWZbSOrxYvvtfQCvmp2qYHk1AoQff67hZr0eJvpuS0RP9ytBJRK12r8BgtSCT\r\nveLLGvvjNk7WKXQUCD0EKmQcEDEPVZTvfoWmKCrJAY6Y4ueRx5zvzDHkkHFM\r\ncEizj4c5WJ2saqL+JejOxDyyO7UmEw50T47uu0kkOTn2mMEX+iwpjxgY8TVp\r\n/2ylhLr+wvgM0kyLSIdmGWrQOy9NpE+wDnie/K8sOh+KemoLJdPdFtJmhItB\r\nI1xd4mGw+ZXgnwsonUXn/RGK8wi7fuKuPRV1iTePx2ECnZSLROCgapv5hwCv\r\nPnKwbY1sSmbgjW7nY7WAgzcG0S1FQLxqa6liVAG7fXya2iahLlp/oqFbO9qK\r\nggzZ7oLUj94zsCGqck8NzxyvDtZDPxuksPd1/9ESBNoGCv8RAOTaQKrBLK/y\r\nQEaHHjXB8ylqc5fj5NMkyJZa8FR+hRjyl+E=\r\n=vOcS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"35d20c9cd14ad55ef8148f13a4fbf70b0e730df4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4466","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4466_1658424067273_0.4262974695835562","host":"s3://npm-registry-packages"}},"0.15.0-beta.4472":{"name":"piral-jest-utils","version":"0.15.0-beta.4472","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4472","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"14db379b56883f806a0a8429f8f23bbb763cfacb","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4472.tgz","fileCount":59,"integrity":"sha512-IRnHh/aHqoC5An0IqSQ/eMR18E5zzJcBW1MBWD5zwVzqFeOHSMNZfdsC0FsaCKOXjX0gDcC0Rg109rtbe34Iqg==","signatures":[{"sig":"MEYCIQCXDeNHe2a9qeKjsQwnUSpjHK836BLhIuXzAiCc/ufscgIhAMnMXU5hvsF9CGCye5dk4cLserT8rglq4PmTTlFpZZVb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3ySxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvcBAAnSPFRUXrPpXnwUWeKsiGA7Uyew+PC4sh1yTBSmyk3j2Lr4YR\r\nyQRHWCe/DXpWTgqWLvTIrE33lbPKiaj2CG7cPeMa2SwW4gCtEqxbPxcrqwSG\r\noMutFYjnCrYAlqqlQPYMKVulwn63gi9LIE/nQ4JMTC3ggPP2Wd2m2RsNE1UY\r\n0OnBazB4ulMUU6A8FpqgF3SLAYzxe3LPg574e6Nr1S0vPbz2CBc9mYekWj/i\r\n64BtH1Hhmig3LYIZJwQ+A9IaM/lWqeoHG/U1/rj5Suxt3L1Hc4ZZA2LrpomK\r\njpXOmu71hBbFdxQmNnn4/Jjo8Rxo0H2+z6tERyTiyO2Nm6huhyOpqes82cLC\r\nb+PPF7jmhp+IOjkzd6sKG8hNPBE2VYLbR+u1SpQFrAELwYhrmSzaqAJhGHBp\r\nhdwiaIIDj9A0Xx2xJnlfvQV+tzW9r3kIlPMPq8ohvoJR+we86yh93l4MVi8O\r\nRa700INr8pxdessU9SEhaL8/jQntvxR+0ho8kN+a6uVxW+9xQTZn8fysLQEi\r\n7g90rCRHc6xkqlnnKCetehQBd1mNJWrhA/Xb3xPFNWxFREsGFusxiLOU2afB\r\npeVSRh+5fQAJzn1VpPFkqoiGz15ngFI0WXeKGBDsGGsFjxCkn9RJhCDmljm+\r\nnzEa1sS4gOgbfUWqUAHw65+9LXQ2cwHKv1g=\r\n=BCnE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"327a25c420b779caf6d2ea2edfc7ee59acd94a5b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4472","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4472_1658791089051_0.27162857741909807","host":"s3://npm-registry-packages"}},"0.15.0-beta.4512":{"name":"piral-jest-utils","version":"0.15.0-beta.4512","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4512","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ce050d1ce067a227b85d8e278df4ba87e47c6fb4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4512.tgz","fileCount":59,"integrity":"sha512-9dbkyMIj4C9lN4EluRUZBZqH6yMGDY9EHkWBbbS0VIdyIWuwUNO+cScgSjGlw+galtJhgpuooMAcvGo4GdMk+Q==","signatures":[{"sig":"MEUCIDQUUan2m0mnVgvUR5+FbsxGCeXW28IX6Ig0aKKDoGnaAiEAj+x9vVQlQiqs7ZrkP75VyMW+mlyDzvS8HUBeCD0oLA8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5GkIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmptYw/9Hh/Ser5aYfcKCpgbu2mfiObDjSfJnzQ5AdTH9ELyrT3F7Fn3\r\nNgT7fHOIWeXo+dMK0bxGm+5Y//gOxAjoxtThDAc8gDJjzevU3C0IoJJ2EZA2\r\n0pL7ErVruOL5vA/VTNQqRf2tWQKarAV42vskpmMhiN9zZYozJaH0UtsIF+gj\r\nvId466T/LWKbAhWFrdv/pMzREclJhNLa8cQ01OdOKOzGOqyBV/GmvMZB6goG\r\nzEy48M2L5s24ThEa0dpBlhl9xVTP7WsmFre9NFIVadX7QCeXK8vRrOxQg0xM\r\nJYwzwk2Zf9JtVABO0To0qYXfv3zNNiD1S47MgQifUKEPZZYKhv3VZ1ws35vS\r\njyqv/OlzyMV4YHHnJKBGSsMIWOEfvOPtvp7T3iRqyCGZ5rpv0DfVJffSA7X4\r\n9kl6KYj0MCDJaJdNy94snh/7S0+rTfgwfBe+/WQzBfBlEaLfwcT+3DplJcMd\r\nSSw47zUqYZXjs02pIF+NDDuizX49zXdCQF3POnezI/zUNS5mugnWCE9M7GKs\r\n275RZAXEVb1p9GDNn44QLaJO5uKMtcmvBZWBpQzkSPxeqJw0XA+0Mcg9x2OT\r\nEGqA0P2PlMLWS6pjkStknG/GnYEAv9ZkWFACQS+tF3zsSucZ2rfEJak36QG+\r\n7vN1ZgcE8llm03hXXhKyQRObP+tFD6neenc=\r\n=zKIn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"8c26175fb38ac3323c30b154d7ff28c13c29cb39","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4512","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4512_1659136264040_0.979126289916673","host":"s3://npm-registry-packages"}},"0.15.0-beta.4544":{"name":"piral-jest-utils","version":"0.15.0-beta.4544","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4544","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5b35b8aa243d36e07c19314b1a9fe4f4e4ccfddc","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4544.tgz","fileCount":59,"integrity":"sha512-1cvb2CvySufj/AL3sOIy76Qjvqb9cQb9YqlmPKsDynKx/p4iXKRAKFxPambC7jaGiSWG+O6opJqxHu503SN3hw==","signatures":[{"sig":"MEYCIQDpfFZ+WWflEmb+56s2bVOu+KuvzDGJC5+awI+qlRk+UQIhAKDcWKVflnus8K1O08TSOKk+M/9aVtmr2de59Lwdw40i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7N/mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqojQ//Y8ORLAS17jhlR2Q5kM/nmiqcGwH6shVO5XlA/LvSxBWBryP+\r\nAkrDAkzuIVe74wHfoDStRQh3JsD37EtggcRF3y0jjEx7wV81NVosi6BqcdJo\r\noPFeZl+Bvi1csCwckg8wcAKqs6SLyAb8sOLoa+9oqQZhGBQ+cWBO5jcb/oqk\r\nACljHtfrCj6+gSb0J2Of2LHQ4vZN4sT5D1vgwjEb7zXkrVCd0WF95N2huBkg\r\noRi/HDfav0Ei1mbQFzzAEMFb6VjFTsnXnWKZgFVDLQzOEyrHEunrZtyHzxuB\r\nDPplXyO7q2caPY3CRQlS+G24zq7UtZ1gCdMFj8kQ7RnJ/5TErt/RcMoFdyvq\r\nkufYudfBx2RwJgQYZ9Y8qe6OrhsIg54pckU5+YhTYMyp00Be8gMQvdH5oWbj\r\naoBFU/zbKU2gkIWH1yQTY698YwnFUGV/dFrO1xl1ij9zVL/PcSv4wrOlz7uZ\r\nmg7xx2ZnUhsHrkKj++fx9cWgj35G51ApgdydrLaZWPfcGgSgblMG6wMwPke7\r\nvUNAZjLp1ge8vzlfGAy9dzM4OwRdekWzp88Kf/c9XND9d9YwPVXfRadTsf2y\r\nD9uMDdBROn04+xSfoXobI2vsWVdivk2hD0KS55yuSCvnQtC68qr1xFUXUGKH\r\nPHL0d2vXt0HZsQ8DYWhJL0jsbi5EwWvuHkM=\r\n=4lZ7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d128ed2e80430bbedcc16644455dd47c958addfc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4544","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4544_1659690982361_0.44818843504501293","host":"s3://npm-registry-packages"}},"0.15.0-beta.4549":{"name":"piral-jest-utils","version":"0.15.0-beta.4549","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4549","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"307d7828daffdc282285016dfd52eb68e3c7a5dd","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4549.tgz","fileCount":59,"integrity":"sha512-KmUEALV+paGLoEOAzT/zz/6OSE/dPDHTzAeeDZdp76Ah9OjZYHrYE+aZmcbDyb5U6SBR5OTwLmcMi7MjHQ51uw==","signatures":[{"sig":"MEYCIQD1Z22IyR9/9JQFYclH2rXKF7lL2UnHpKRkUoNhyBB5FgIhALRxbYVCryRX3XAaqfoSqmrjAmezPlRSiZQFSUMWDeqy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7o8yACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpI8w/+MpwQ2dCxs4BTjti01hGC6V0V3oOi5B52eZrw8NY05e4IMV4H\r\n3peOZJN6Cmsa3kVZj/AAsRVFZppHM7euDJWKMQXJSIc0ku7VkIfYUS9I++BG\r\nAZqLpDairSPr/b5Q2p1vuZFASr4p5X4273P4JqqTG3SboWzkMitCg2+lnkBk\r\ngcXJ0XYj2xJwqNl9yfkHW86gDZ8+KoISlh1gDYoBoTzRztrmYJ04tE4DbzKl\r\nGTdw/Foji7N6L+mszoQv7ixG52tspsAn+zW9HoItfa+Jh6DHn+5UrS32MxBc\r\njvCpAICBInN2+eeVuigVDuy894MDMbj0/afnn3Wf7d859eCD8cxYint77WNS\r\nyufy8hk7boa7KRAGobGdEZ3GAe3aI5+9yQmIHigMchYxmjZsx4+ZhLgannuN\r\nkiqDuiodyuAmcSbGocl4TNNnCN8bgxqaTDFFUawxqh0mLBqaisSJKDeZi1ys\r\nRSmT+/X9ZYd32hN1MTxEtvyYVccuHlLGsOA4Z2Xh1d0G/3hhl4Eo0GcqDWIx\r\niJN0zPJFW0ZTx6ypl47S8WxTwrXHxOyKStFJ3h2G7sFMM/UpfZ7xz4VsVkLn\r\nXM+1W63dqcOe3WOUPN7u8ZlTKi16WQIbJh+AUvKVtK67FN7rdrcrvdW00Jir\r\nOJf+js9YZc5DLttjCoC92kdyH/MVN3R+SFc=\r\n=0NjE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ca7224ab671fd632fe9e5cfe9b7f573d9a105ce8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4549","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4549_1659801394548_0.7659625015152709","host":"s3://npm-registry-packages"}},"0.15.0-beta.4560":{"name":"piral-jest-utils","version":"0.15.0-beta.4560","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4560","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9295d413418e885ebff536b1cfa793cc27fb7ed3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4560.tgz","fileCount":59,"integrity":"sha512-fByNNsVAVtbInARkh89vuS/4T/sM6KZpYegmfc7ks4gTHIKPhSl+ZbDdgw+jYz3xoStFp5P/x2BrZa2nAt9RWA==","signatures":[{"sig":"MEYCIQDg0JDsAkGfqUdMPcMGqVCS8mOt5x5fo2K7p48JIn0Y8wIhALPNSngtPWMgtJzLfI92lSij4KIz6vkatpUdv9wnQFjL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8OBeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrV0BAAk1Vn8+Cu1nuHhQrV66C4RbLAU89si8Gpsia5tAjakLjOUnQu\r\ngJGTCG1BO0WE3uz7cs0fzAyPFnIQZyydz/HJJKJfmxMvML9jow1RZ4bTB+yB\r\nCYqetRqgXQ1pAtn5FvSlwIBBgepw/AXXQaIrnJdtySQlUSVCLHYeMYLmsbu4\r\nwXPsWGlEQCM9wyuqJh/rBjKJW15yPLKr6OGZ+clau4IFz6pXOSro0MbufYkh\r\n2GDiWTs+R77KKGjF6xTLqYyde3KKVQaQBZfUV+e6E9qdcQa6P80pNWLE3LtU\r\n1TLkn4jOi7vQDzaBkoZoGJcqm+4AryY8cHwk7XZFHo2j2Xog5wzerA9wO1ky\r\njmcdr7qg0iQnNtVMT6SyvdPT09LGE2VrKXLPg/O8GzPjp93FFJnngtiX0cKo\r\nvmizAWVtAFsFNjdrccWOXZbq75solMyUsAeVOyHM8YaKZB2IT8lyy/hdlI/n\r\n7GQgVntqtW0SPXGfjzkXekS5j9ymffaP00TmTJDqMqO1SEfvp/CP3wbm82lg\r\nNDUV8hHQQXEAwq5wAVMmTqgXDjK+qAU3Kv9dMgg2P/BhL4nYA9nBIWHaQJOI\r\niKrTscyFMSc8+/6VHRMCvrrtdsI/+45bg77w0azYZQCdzow+Bqfvyt5ahBnt\r\nKEvLHiv+ISchK7WLq20wwlXe0ZjU2EO8/U4=\r\n=xIXn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b4fa0e9b24f7b8e340dc3a32d0e37d21b3d26c3d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4560","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4560_1659953245883_0.466802587474622","host":"s3://npm-registry-packages"}},"0.15.0-beta.4574":{"name":"piral-jest-utils","version":"0.15.0-beta.4574","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4574","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"affdc8dfc48cbe09f1e69d6ffced006a9a4999ae","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4574.tgz","fileCount":59,"integrity":"sha512-j1Q8pWDMGSXqqy6G6Cp3A5rKqifW8NL+gFVYpZHx3clyAuO5Ku5G3/JqBnTdNYN8Q7QeUYOkuvL257ifQIm32w==","signatures":[{"sig":"MEQCIGnwWV8n/Wj7Gfolij06AHIDEPC2DJ+kdYbO5a51MzWsAiBXJ7/waZ7XGt0EMwIa+mQzqThYxUmhefqhHxE5e1rS/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9Qr9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrabA/9G+dX6M1nadR9QzBNLQlNoowsJriuEGNQbPE24JvSc2F28TeQ\r\nD67yN7ekbkXeCCa05hJx0ptKNBpw6Q2CTlM2YH22zaiWpwM9Mzja+nWlaRgx\r\nh+c3FOhexkWBk9EZM0VaYqjwWue88D+exhhsIkMVghqGYA/pMIv3kKI0Pxo6\r\nLgDRk1lQZhYByXCLjBVK6PPnUCEOhW58kHcreYpGtReAnNGrCDyPxbyi5nqn\r\nBOnbTYgrWqu2XIm8meyGEGdFMnIQH8lAtHPJertcDLoQH+uuVkUpaRYd19xI\r\nWs72H66Nx6kfKrtA+mkFmJjAUcThZCN2WG96VQ3T2Q/lUf2dihnzelzW7yiL\r\n3BhkQiYNFXnQg49TlE4E5m9jc2w3cdjFl1uIZWKeejttJjw2uHlQIU3H5p0r\r\nWC6JmRUo+F/3uzf2QUNhSCMjrhGBS38LavtX06T4J8miO6Ku6ummKLNabFml\r\nt0h2tFDu1FRxhkQPcegAXOb2ph9tfAZ8TwoXvMePLb5ClWBb8DtRQnZmRwB3\r\nvb4YC6G3SaGwV+XsWhqCMovFPw6ZxmBfBJzS6zga3SwPXNhUM8L6qC21w8V1\r\nXtxbjXBGAR5x5+C7EGrFdGdqdFUI03kCa+3COgpLNDQKf467zNpf2Ct2IG3s\r\nB4deMN1f+oQUmsCZcFataPRNoNWxow797K0=\r\n=NvoH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"914a7b4c14d9b161731f80756f3e175f0444e874","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4574","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4574_1660226301310_0.9620895374410732","host":"s3://npm-registry-packages"}},"0.15.0-beta.4579":{"name":"piral-jest-utils","version":"0.15.0-beta.4579","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4579","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fafb04f76085c0e0377f7f8fa7620d67f00fe7c0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4579.tgz","fileCount":59,"integrity":"sha512-cKDHnvAdvuDcFqm8KVEkfsNeiKNzelLXGxhGxcY/Rh+zYkLa0vt9Fd/GQ9MIJf5Jbegtub1EFTlD9SAsLNeFBA==","signatures":[{"sig":"MEQCIA81suUYFVPqBuPfTNbUhs0gi8SMqAQSJSYfR43TAND7AiBBybmmYUZQgS0Hq9aQy7XBrWkI/u37dCF1GBMGR0RVnQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/AyRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/NQ//blOAyV8RYnpC2du6jaujJEqI4DNCIdZjAxovPKhHMGsPc+jB\r\nH67dRg41MccweGI1RORLKgf4JYZIcQsBqHHKnPbCLNROwsq14d3jo9PKzpA2\r\n4x5uxUt7RpCtq3QZjf+DEzmNHJHcxoWAOCo7RJiKFsbDPuK3ArFGNklMsw1C\r\ngiB/XFS6Nhxw0RVSj8wFFflCdqp2gp9fLA9Y7ifa3QqPUN4RlnwD9Eea+V2w\r\nUaBPLgvE4zapw0tQmukn+gznLfq6sRbaH9DnzGMU+SClYMtneCxK1vyArmBb\r\nNd/cjFU1Cii4itoIPTOF5BCNMhJjXJqr6vNtNAG75W7nWMRo3RWqBSLcAfNF\r\nQlSBJBMb2tTr2NLWAgnZoE2uRs02kmYXWYkfFOUjO8B8xzgkr3OmVrapr295\r\nW8wxBmdj0IwP7oE/RwQfcUWABxzcwIeqapBRlgzrkFCFStyNu9+cfaONoCTS\r\nGMKmk8Bzwjs9mCQo24Hw2mu+H2OP4XkUHZGf6MdkGYjkrE2c9heXkyezBAgU\r\nCofh1/T6jOZrO4iXedkagtnvL6+UZb9FtMZEkhqgt4jLH4lKI1YJo4YQPbfU\r\nKa+EXGclVM2Uq1zOuu/FG3TTzvo7JwGqy07AX9kVyYojfwzdmlFG3en85cv4\r\n/+qawqgEJwDvCywequbA5v7uB/Cuivs53IQ=\r\n=jS71\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a7c4837c23014ba2038aadce3045315164a98fc0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4579","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4579_1660685457218_0.8495779463590047","host":"s3://npm-registry-packages"}},"0.15.0-beta.4607":{"name":"piral-jest-utils","version":"0.15.0-beta.4607","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4607","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"82132babc1aeae86b7f4253780a403ed177ef215","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4607.tgz","fileCount":59,"integrity":"sha512-ZXvBsBb81F3jjQ7rrRFUCTZQfLGCEFYCQ795fUz14s+ZteTLEMmD2Wpl2n/yRsjPN5nmUFNv3w7SMlIiHm5Elw==","signatures":[{"sig":"MEUCIDsBM4yXur6Odg7bt8tR+Tcl1DYJwb7maXSEqtPa2wjGAiEA3vL0UxXZvzotbdodamHAvxqI/HnRTbR6W9w68n0osjk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB3WXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmot9w/+Mgo2Us0DHHapw/sCmUmbEkX/JIfSJoBeLlWni7QFFhAZZ7O0\r\nOMvWgiLeZck33Ru6Y07X51i7U/DIV4GQ8NpdIjMoyvGM2zFIxmOuq245YJnW\r\ntWYsqsLUzh37tpQ22T0QL6jWaXuKFy6cl+0AcuGGzI0MOpna8bNNpNjoHuyC\r\nRT2sv7wEA9Pq/BI9fghinSNS4kRwJEsM9z1VN8qHNvD9InYz0f9FJ8ORvZhe\r\nJK9VMKSkZcfKmyjHQfEJTaWc5LrewfXKqM/w7WAv8pl3AUIRGhFsPtC/1iZj\r\ncnkyeafeL50z4mn9Cwe8inhMUeYNDmAJN9Nwkwbuf3RuK2eYnkJxb5Ww/zU+\r\nTtfZ5sIF3Pm21dAECdDxOq0EJ66iQG1+S1Dx52kgwnZ8EUQZzX+O5/pAbypa\r\nipvLh5cihRZWblS6MgLB5QS3zvsNDeiVC4/r8SYbLrkKq/vfS48iDAp/RmV/\r\nzXkb7q3xu87IDn58VuBC0FZcyyoRS7TNLBOKzeWl+g0VCroUY13XbGlvhPoT\r\nTItRpraAeifG5NHzTLBtoryoAwWh/nw99uActUddYY0N2tStnBOFNUo7t8nq\r\n//nhURUSSFfK5rmpLF6zumj+Pjv3mB7gM9D5FA4p3FO79aqIexO1hNblh5UM\r\nvTJMsxSADN69yToVBxuach11yfWrInoa0pg=\r\n=InhB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"2b1f8f84149c0ddb5020a5df0bb1b94dad56f386","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4607","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4607_1661433239630_0.20760246852004527","host":"s3://npm-registry-packages"}},"0.14.30":{"name":"piral-jest-utils","version":"0.14.30","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.30","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c8c4e364e3abfcb4a50533c9a9046c7b00e3d495","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.30.tgz","fileCount":45,"integrity":"sha512-Kaz7iGDU8h6bGUQptbUR42uZq6zEzi0u6qqlyGttljKjAx6u4okPKBCoUjRkLsLF1YWyi1TV7XUDT/0NnH/oRQ==","signatures":[{"sig":"MEUCIQCYCe8ShtTRkCep3SMTwgHrSvjndLTqQ7xdYVKOdMdfSgIgZj7vR0zAJPwt4BvrbRSEoTgNO+gcz4C/uZkRJWXdAeQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCIDrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrA4g/7BYH7YHSAofj+hinYKtFwLKNkePYG2i6y6v1pr5CRbwTvhe9P\r\nejz27/SPahSEnngEauLHC/9IDLEMDc4U61w2G9Z51+sf4aFw8nV3sypZiGLT\r\nxrz2AAX+Jx+4TEqstJyZz+sSgKQwEFS5EDaJ9ptaOkjQMWQ+SfUPJJB9x0PZ\r\nGgrtN7TADlS2c1539Px75HoiLOVxB20F/r1eKxFqydSsgWkTgNUtgAZauWg1\r\nfN8sY20XCCCXbmWV/Tek8AnyU+qKU+0nJUNS+f54kLy5WOmjr8hLCKtoe8qB\r\nx7xzb4UO9u36bBl0FKSUgbBTaotJMtWwix5xkolZxlm9Vgy8xkPLJoGGYDo6\r\nZ6UbB99TtctTOND9Jo2xyGykxsSyQRrHyqGIzXsxrqI26cwoY7Eiuq4BsfFd\r\npg0MY7Inlw3+SJC722HK6FBn32n2JM8pOdcKk339YDdjPD7afmPMAAMH+O43\r\nB8oYFmt3HvrNp7xj/YYJ1t132Omgy+7+M5ZEcux8F0U1E/AFqJ556dtGiS2U\r\nT8w1nZ3t3IQzmprq2KcylVaz1vspHYboHTJ/HYt6PQ3xi70fnB+ijs5tSKDB\r\nj+mBnzGODJcTWuCtIaYzG3Pkg+669hQqpccW3HKcor6Z86fpfGQTaHeMEy1u\r\nzPTtYxw6JFAEoilp3aTb6xaYMHuIhV9pyUk=\r\n=P7CY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f8fa71fb0f71425771ceda09c17080bf15412002","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.30","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.30_1661501675796_0.22782000846882267","host":"s3://npm-registry-packages"}},"0.15.0-beta.4630":{"name":"piral-jest-utils","version":"0.15.0-beta.4630","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4630","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"421fc81c5bcd8954c7a47d1259df1abd1ff0ee1e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4630.tgz","fileCount":59,"integrity":"sha512-oOzQugKK3+O3c2UFR6lxdOcitYwVbQaJFptswdo+Aw7INbPd30bf8FEnL1NTE5Tb9mJWmApCiIGmW4bJlx0+pA==","signatures":[{"sig":"MEYCIQD8BK6g2RjH8TovErm32cxlfEC2V4mF6bx9OQEh3/2gkgIhAPTp1CLpBw+Pc2AqVvVesYmTm2uF+5RuPBRpzJk3bdbN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDVKWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdVw//TvhmIVkZf72BTEH4I/PwWEnQxK+GtlVTWF8Ke8u/w9A9+1bX\r\n3V+tNdzRwg0M5Pa8uyNfQIWImxi41oJOgKusOyY2ZOKYHc3tIV2R1rhARlzS\r\ngjjKtutNshtTcwTHP6uR8sugf8xRLgaWG0bfIM6j0xJMyziSQbRo8beFcsgA\r\nIRHPVBQNMYwmo6ZyocoY8c2qawGBc5SeJ+HU2g90m6+v62poGdXOnvP+3/Kt\r\nIcUjYD5GzUaoIZWInkozkrNMGF2l0zV1tGMCe2BHqQJ0946vvglAKy7PmSSn\r\nK9jTjfMsuDP80nsQJ3B3xd0Ppc9Aj48ZKK5c6V5Sn609fg996pT3c26hwybE\r\no4kJE+3FB+U0ZEjXZKjNfL/R5sKKyqAUs4nFUpvAAv0En42OVPxjFaxGlnfX\r\nVBZvIKWzmePI1px89Cj6XH5ZPhciq9Y5zeIRvm6gfBdpIAxqtRyoLGSjf5J0\r\nF0YVk7jZ1SaEU9U/38a/OIC6SFNqLa60v4rX/U6D5JO4Q6TpBbfBV6g1y8eb\r\n9Z3mlBTShQ1ipKDwUM8ibF02JAK84qjWQBpOZBE6kdStzQaq/l5hFjtpqQZE\r\ntT6q3kxeRZiaSi2QiTiA+M6n1/vhW3aGMe8lm/UX6VfZab4S6b9vBa3VOG8p\r\nQnfagLxT/3dZtGnWL5BLetX8ARWnnbAm2MU=\r\n=YEm2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"08aea96af9587e73b1a6c4eb108f94f285186b10","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4630","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4630_1661817494660_0.7736944216084964","host":"s3://npm-registry-packages"}},"0.15.0-beta.4633":{"name":"piral-jest-utils","version":"0.15.0-beta.4633","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4633","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"21143fa9c7161b6f18d3cd9d60703db62b766f4a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4633.tgz","fileCount":59,"integrity":"sha512-FemZs9iVpa+RIdelZ02GvxytluXcL6aMEHrW2B45/IUV+rHg3VmVEsT3FWudmPHFfJEIaA4E4EdqwPGkiDoPrg==","signatures":[{"sig":"MEUCIQC88MoByZRT3tOiRnNH+UVXNOezvmFSoY8pgFXOvHw0IQIgM+V2j1fo8woFZjp2eX+s2xo609qdcuH0RVqjUrpSbEw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDmRyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrd8Q//S28Ump0eK1qKny+FWq56AY2Oo4yhsIDTm0AtRbsYb3R1EGeV\r\nDLnBdo0EbPRTVBfLCz27n6PRQNvC6MxESfAynQ9q1jwX1FhCDt9bS+EUT07U\r\nsUq1FCPIhHVQ8jfzufldxiMmdmxD19PdaksG+ha+31ZseBOvbvv7f5hsGzo3\r\nd51bmz67NJ9K4m45rcw6MrCrmDjZ+eUuCzue/UIY8woYPXbfcZZ1sty96dQK\r\nnVHqBUg52ri18vbjCYigr7Bsohv6rQpuT4GI7yDqYjPufa7OawSeY061YQ2W\r\nD2qSML+uUT6SEinMBuetaL06CCHXJGBGWuLC6dDxJURz1pACNGu1ljz27fru\r\nKnFz+8v6zFARfvggdguIgmhx6InE0GnJw7cd5fA32VZvBHrr+negEHra20Uq\r\n/t18ApU9J76+Z2JSAvcvJNVuvpxxBbF2Bo5H0oAOc5X58KwcHfLY7VvEH51D\r\n919cHLsQDypLa5s03KGUK0ekWtb36d0wlWII+6LBxbFlN2CRjs2w7vqaIEsh\r\nHpgKhRFoI9XjvTlmQ0LiGZs1mCBqxkRIz2WiGYcMhL0TOTVn0k6ZNeLVLs8k\r\n3rImHhpEXoVFNVNTzCcikOlVpT42D69nWyWAv6cZlSnTr2DNsD/lZM7N3fws\r\n9YtaFDjDNlIxfIUoi5i3EEFvUhaN7F8h9FQ=\r\n=kRe1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"96b950f26e9673595f68518103508dfc76001761","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4633","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4633_1661887602726_0.721737484049281","host":"s3://npm-registry-packages"}},"0.14.31":{"name":"piral-jest-utils","version":"0.14.31","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.31","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b413aebd7c46d051e1d2824666702cbedf9df0f2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.31.tgz","fileCount":45,"integrity":"sha512-ZieZdyZZb/01zzzLzN/l4lq3K+7dxWAEEUOBX5v6gMrvWoglf1J6Z2FRkSAvfmlHQcca6dpZXBUlLlRAzlxr1g==","signatures":[{"sig":"MEQCIF2pCZCkaBrl/ZKTyG55T+djoSYdhqaYOSenOX+6NrtbAiBAB2/vjYTnYvfP57pv4kWKshZjtaIP33Gx+epwclBJNQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGS/eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqM1w//Uk3slFn9+lGnAWoQkJcq4bkbP2hIwdhSmx2OECv3hViQflWL\r\nanKURbYLBWfSDztWCcJfAX6Y58LS3bC+DyCCfAlf5rA21OUr/1VhY4QvhLgq\r\nF8Zb/aoLPi2WD7oeVzr3sYG1a7y4Gmii1oJFstnJL5gn2eJmZLg6+IIjeglz\r\n5qlIseq6M3MbbEIiIgYve7r0Nk+SXJCvYbwQAWuCv1Md1HmszeK5CKPpRBPu\r\no4O7iuwSHAUmaq/yURelAn+6AjKnIW1X8NFByQJpBqPZZ5ZzXhLim8lRYh14\r\n/P/CapAe7RbpM9MaayP/jW7TqmF2fP2PVI6Aydw7YMmefkd5AfbLWvAticNS\r\nejdVfBqNxYYbfl/ZumGp9TlrkLRDX/xpvII93ZEqIKSgEKNf4hst/POQo5tU\r\naUJw6eUCvRFwL5OoNe5LwR3w27aozsqGWJvch8HDLX2QHUxhG1t8SfhFr9+w\r\ndXaf5ItXwVO44UFz9pgF+aDep78N/sSz2NZnzme7VKK7vy6L/TRLxPVcEeUH\r\nPTum1Rimz+00RbizFuGEQrDEule0jtn4ejpgPu4Z1DjOI2jBuwxVwnPqqgFA\r\neo/o1ifAMDAvWApdI7qOhQi2vSa2KtaDe/88jfuf73btgwFLJEdhgoG9synx\r\nqqLgJRnJcUt5jLxW0S7G1ljh5Lcv1ZKrvq0=\r\n=5Uso\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"47ba4276f021e8f933b1fdcc1385450e53412d80","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.31","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.31_1662595038042_0.5330829048731764","host":"s3://npm-registry-packages"}},"0.15.0-beta.4670":{"name":"piral-jest-utils","version":"0.15.0-beta.4670","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4670","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ce47fdb1aed2810c2f53f12d00965f01b942b3fa","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4670.tgz","fileCount":59,"integrity":"sha512-d6U1YNojZvC0+id5ZWctaUp4SBjdq4DTM166FdZ0EpwBHQJ7BGsW0qPV1z+qCZifCVbZ3gG3/laoVosryBtrOA==","signatures":[{"sig":"MEQCIAv2GlczpiYXtbk/1ANPOqF6amY5n8DxL4ISnhq6qnoBAiBQRfAsIGWjEbwVGNcnKGuZsL2Bc1+BZ3BVkNRMq2aRbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKkAMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpS1g//d+ErUKIA+c2KMi0vfwkxqTU1T4VnXCdQY80fm7buNVZ1F3fE\r\nQyQrUrCA6tQXMdilwslO1rQnfb00TcKtBqWTjaDV/7gChcOpVlDXKHtawOla\r\nS6WFyAiFYskVMwO3ZnTllVIkVL+4BM+ls48jmeDNqdEgD7KGBhL2iApvvBxD\r\nmY8I489tY496dSx3HWaheiPtbOvZju/Jsjq17kydDdn+MfGNnA8IGBbihXol\r\nBCtsVnUON+VIAQOJMbS4ewJyqnreuw7b4X+Cg5m6k5uzk5sIMw1alWeblTlK\r\n+vMMkgbSQUY+Y1jXeg96aN4aSNUOwQyZ/v7fLoIy8QuLNivQ8OCI8AsbMu/3\r\nEEL2Q+hkBtslnfxc8RaTomJyzkSsApd4A7SJo+NaVg5O8Qe5vhy0GznDU7uV\r\nMKzTIbvwGEVXEWJr7KKRYNcFygCTyN4tymYbd05paeMhod5bmeXEXYg1ZORp\r\nSIR29jIZ4sTJdMXd2gaiDksORPofIIMgpzfs3WFXcp1QM4Lvqye+f+JpaRsw\r\ni/7458uO4NKrucYg+7SzA9w6dhpmzpPuTz6oItcrgHNqvqi4JoECxBqzbznP\r\nGjLqKrWwz1n5+GeIg02XMPfoKHP9SxMOKoAo+BjTtncOBJ6Anm02BbA5y8Gl\r\nuOLw70lPhHOHYPetGqHhSuc2moWnLC0jFXQ=\r\n=DeSm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ffd8707600e028a55258028d394b76fe3a0cd175","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4670","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4670_1663713292039_0.45836899487442095","host":"s3://npm-registry-packages"}},"0.15.0-beta.4672":{"name":"piral-jest-utils","version":"0.15.0-beta.4672","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4672","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"760cc0be5d5ab483d457c9a70c33dadf1c9a4c5b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4672.tgz","fileCount":59,"integrity":"sha512-vRHmf6E6szyz3T7o6yHBVjrRlyWfHwAIP5NXpRYAOdLA7Ka2T7dY0x52153LsmAD4i3enwHKpKkbo3SH+M47PA==","signatures":[{"sig":"MEYCIQCmvYog+tM20lyXQnZurO7ljErOKzG+Gwd1lTppvVpHgwIhAK4I9YFBa4SH/m7LjIfF6idzw4vx+uuNREL35epUv7ns","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjK5ObACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpumQ//cXusM7Qj+KUlJFA/DHjafO38LwTqyhXGHK7JMnzbvLZtUUsA\r\nFk7FRKXOJmgqksgy5oWbvbtSIFVB0j9GoqFpSMiegsGYu3CLzn+F2mgY6VCV\r\noHzLaELE2To2BwleyWShWbZna+mWIPs8yGNcVij5BcnceBTi7EFjzSpJPuc7\r\n6Uk8BdDEscUBHDk4+Nug5WGv/ON/W1cURtLMytEaXaARVMOMS3s3CIJ/5N9a\r\nvuTlF5p2iX6RytcQsNt6zdy1GiWcwcHySbadRDwhnZXI8LVuoUdhkb1vCBiE\r\nIwZBKHY9dGWrAxjRAU2cfKMbeRH40m14USqemTFvr9fccpiIys0FI7VYRDKJ\r\nKiLuQ7Pgw8STaicqUZSWdzIBCJTyNQzRjRGdF3nOhOE6btgMyqzScPO4eBz4\r\nA5dulavpBFa/7M6K8/b7R1Z3Mw26ZMJQdtQ3jJDDb4jk5KEPhSQXMv2B+zSk\r\n9iJ0pVm5jqGscLexDQLz4/wfA+E0pDrKCEm0U6ojlRIMprDZYEarU1USu1uH\r\nyL5K/aCr+fdwh+HTWa2XK7cjcspgbVvmG5X5YX3HZQg/o/HIfPkLZB8U9cKN\r\nJHLNvyFz/o0wH0tb/keSWn5ype92Wzcq9bPdn/V91+cT/6eEq+AWHq+YdD/+\r\nE0RkYRobmp4JlLBUWhjHkRITbeEdl/pCwMA=\r\n=s97C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"cd1026b70c90290fa5ba3f9b86c038eb852595be","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4672","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4672_1663800219532_0.8446221371085021","host":"s3://npm-registry-packages"}},"0.14.32":{"name":"piral-jest-utils","version":"0.14.32","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.14.32","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"652f13217b4bb7fb4312a71e2d969ef39fb81236","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.14.32.tgz","fileCount":45,"integrity":"sha512-ARuxjJdDHiwzj2UmF5gH6O8f7KEc1caivjG+9ofrI7WfcTjnBjDpG6rqXz+64ftWj3FdtIzVVjpeZ1CAA0k3/Q==","signatures":[{"sig":"MEQCIDCvyUdpJyj7QLOZ46lDDQ8doOrPGHCv/MzfPdDecgdBAiB8Qg8aEWB4qXciwisqhxan1uLMhFmk+mV2WvfMcvOX7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjK5oiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRqw//WeQm5pwpDZz4xQJmm60dxdXcEMD7AcIUXj1MKrH/HQbo+CkB\r\nq9g1MIiQ27KvyxquHy3mVwbBp5sUX0fqf9xlQg5Pr4czyK6/KIEgnLWH0T5v\r\n9LKFgQfl+0nx+fKV+3i833KjJMAJ/NtAf9GQORiUdKRmVsxMJL7jePgi//qL\r\nBA1SF3vas6dI2OJG5s4vvMscrptWgP1IzoIsu/OCFOUmBsFaHVFS6XwAbeoq\r\n/LTkNm/q1ZJf9MFpxoKAP1j2pistweoErfXzMuIW4yXaZckVgsak9k2mdczO\r\n6tWRSGYpy+xXB93ec2p6zfTiaeb+qSjdWyqbRr4Jscngb+0LY4Txus9cXqKt\r\npnc9AOzns4+G1ZFQljNaL3VX6H+APg6AMdXjhi3xn953AQmINj3Ggt7DSF+S\r\nyPWhHXHpQ1aoc1kU9MqGm9LVKL//Tkw/9eSrFI5QOBd0fGhp6aHessv51H4a\r\nRD6M2zj3XyI2ubHvke0uQcDCaGyLrLxKmKc9Keeu/piTUQ/iTeJn7ND/0xca\r\nJYK5oHamPG0MDnGadfIQxykDijCy5jN7gs2PI1xxdQHGyTS3lfSwpxNnKuH4\r\nuPlOAWeEFZ6k2KSvfWHTxs6K1W/N0couIoOJByKd0nJIbGngfSdnHhVuEJGQ\r\nbZznUpoAQyVQNmw5fLRthQ06wr+f8AaydYE=\r\n=8UBp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"8a27552a2ad6150e58d6d841937538b8158afc4b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^26.0.0","enzyme":"^3.11.0","ts-jest":"^26.0.0","jest-cli":"^26.0.0","identity-obj-proxy":"^3.0.0","@wojtekmaj/enzyme-adapter-react-17":"^0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.14.32","@types/jest":"^26.0.24","@types/enzyme":"^3.1.18"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.14.32_1663801890432_0.9266174903400197","host":"s3://npm-registry-packages"}},"0.15.0-beta.4696":{"name":"piral-jest-utils","version":"0.15.0-beta.4696","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4696","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bb69e73b7de419ef5b139695c0d03bc056565b6f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4696.tgz","fileCount":59,"integrity":"sha512-M0U8c8yUUqRXV2R87UFnjrUbFc+gMsPtHzybdqx6VrQzfdSNnihCY9WMk+EDxyRVGt9d9AYtMm0XiaBSDpD0eQ==","signatures":[{"sig":"MEUCIQCh7oCl6mZ9hCaN7Crume9aiI2woBxPaIdjtzDhrXme+QIgKKN3pFpdt61oXVTng7pa5Evv5+XQjahP72yg9Z17e4s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNbrpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrmZQ/+KTSebnANqv27BeFpUcHQk8/UZYd/4yVkj6UO686Ds4NV9exy\r\nKJicLnaYUJTULOCahhjuuHk16sxlYEXVZkLkk6hD99nWVzbvlNotuBQ9gayv\r\np2qnFI9akh+/G7G/2rU79eeOOXSQiqkuv8gdm+Yh465TO2cKSd8mydY30ZRd\r\nIPLpPzFQ4kNWLz0qkx16cxMMo4rbr7CN+N45h1RREws05ifpEsRYjsybBGBa\r\nBPjggGo6LqeUhSgmX3LnY0ZBjqxLu28GhRdm2cwIn/yCjdalZ5UcbmjLpSmh\r\npNwCzcJURxWlDaMFIiZSZWVzimu/yRQZyQqbVGPYQQhppZfFx+fD2PAXmdiN\r\nZR2qy9ZSBKorWGnV+gVqDZSO1TfRI0MN5xzPIwwCePK6T2Zv27RbJz8Pjxud\r\nuiphEWP9B7DxgVx25bBQ94Mwrx73ll0RNFZDr6J2eZx5Sd0Cj1fU694iURon\r\nVwVqrUFGiATxXabjlVuJ8fR3s42ye6iuFamFo5fblHh66dO1moFr8NouMC/4\r\n/S7KYwRfObDOWSK1M79gtUs6g+L7WQdZ14vcnFzdMy84+SwSWP7j84eZy0vL\r\nZDVmyLHQHlpcTs+b7JkXdgPnDOC6CMO+aO5BrQZlCMglX5aLJoM0SuJG7yPm\r\no2LqOzi29Zp3zioy3li48ws4rrhw3/73vAI=\r\n=UaYt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"65701e0e33084e0c5a127f735bd3897019bfa7b7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4696","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4696_1664465640878_0.6879229442086856","host":"s3://npm-registry-packages"}},"0.15.0-beta.4699":{"name":"piral-jest-utils","version":"0.15.0-beta.4699","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4699","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"19112589d56386b384ef2430110a57d7000d8162","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4699.tgz","fileCount":59,"integrity":"sha512-y4LOx6vGjPhwkHgynGsSd6aumfocS8OTODxF5Xf9Tq7/Soaz+mBiSQ03U9guHtACPSc4nuHEDO5pJCNUB+xN3Q==","signatures":[{"sig":"MEUCIQCCN6OvZ8wSNIkdWx/dKOtjimvkIPvBrw94g7Tup9uPZwIgesFPK/hDZSmGG6rWmI7fUuCubXC7fdyIv4PdWSBs4jk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjONIrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsJg//VXGLeRUc4UridsN0XMFWB/CRArqP7la84Be3Ag57GlHOzKP4\r\nbv0oqFfxubTdUWRWqGg7xs4x5nIgLM+exwsTmPmQWWvDIqCnufoY/RaxXMuX\r\nimtfbajNu+QJCBRemLjeySmHQ/Dg+N1PPDfldODLrhvKu9tj7dKS7q8ogcTm\r\nMKb3/Bkp/CykFR4n/SwqQMsUEjE5yXFrGHabF3n3Hd9nSKE5uUHtl3t8Uh0c\r\nwndwzUsTZIrvYxviY6Nr2dVz4dCnvIkMhOmjsRGXWU5v8GOqi9j+uMh3pBtV\r\nvcUY4xtqH/jnUKal//gnNbk5mVtc8QWdfxvotIxz8S1CVWkyF5NVvdYtuYnx\r\nGiKO68mnll4sEAyUNaMASAIXTozenonbtJnBVsi1RO9d/OFTCe0tSX+Lagy8\r\nZTo1hB/yFYD7gvZJDTezqyiJQRhFDBgIGuip2pp3HYOmH3/xd8uEMqjaaCYZ\r\nmD1c9dcQu/jm4Q9C8wc7Qsu/j3ygyoQfgaFWpVf2ux7J+Oqauie8lO+VhFdy\r\noVLuG3hPZhAiheaMXLkkeLpepf/lFyV9S2XP2GT8EibMPMbvnm89av6VFjqd\r\nxOn/jp6J9xp1XoQFzH6Z6VF3Kp9cC9KY4g4KLoLXnsMuAHugcJ5hKDqi3kvz\r\nmpCymZM+5ZY5RYCTkErMpH3ek6D9LgDAZm4=\r\n=FQTU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"1d7d09c7a953009ade1470abf74b5e7e627f2bc2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4699","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4699_1664668203238_0.275319578064269","host":"s3://npm-registry-packages"}},"0.15.0-beta.4708":{"name":"piral-jest-utils","version":"0.15.0-beta.4708","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4708","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0044bf646d6db6e815c181838ee067418443f158","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4708.tgz","fileCount":59,"integrity":"sha512-PMDotgiGF79oUTEstjQqBCci/sfZNGHXmnG8flRWMs5PeEGmx53LREXKrrwYM4tZoAYFeZu3rD76+99vRI/OiQ==","signatures":[{"sig":"MEUCIQCpWsowI3Ail9cDJWLApCZpnOvh6sgvHwbQqJ6shMrS7AIgXmFd9k9Bg240HFo2iVMSySLpmtrhtdXYXhWtM6HwEWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOgclACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZ8g/+PpPesri0kpayyFw6SqrRH8ybeQyuoUdHX1CAYsZz7qvs/ceS\r\ns8/iHE1TZawSm3bjOYpifg+octpRuQD6ksyCIyScrTb3sbhwvT0bxv9dNnKx\r\nQdlc9GDeqitb2z5TPeBYWRgQK17iMalQQEds/NuUx5U9Cz0A/duAeKJJZOAM\r\npo2DILF13s/MT8OxcHs3TeD0FLT9vZrI+RT9N8Z/ZVIDfrFEJdqa+yo+afOw\r\ndL5Y4ORBRXWxNqGVKKzNjBLxUBXTkkwoX2ZqCU6AwxPTpGLrFKyOsAWlaUhA\r\nMvUNQQdEFV8/0qw/t78NAoNJ/2sXBNSPCo6TC2D/87xvf+KGFkS4GcmFj46R\r\nhevGYuQFHLWvyas2xqAWw3bessw+OeUjMpvfQhhH9Hgao6Pig+12v3naZkOa\r\nUhFOubN70AeLpgwoUZSVOrR8dCaa4vybPFSu7rMgPaXvYyR1DQt6wg2fZTzP\r\nM2Am1A1fQpTeRcWa4OJl8lVT1v8y2OQXyHRQ2rJqaYSu7Mxvi+PoCfYaj8P+\r\nUfiyeFdFWMdn3BatFSHAwffP5Ng6uUeKtv6sKVD1jnIdxV48R7IjUlk4FgzE\r\n++QBOCeUec7h9JWo7WJbt8jiCdMte6T70mfJkPAcjAGrZim1+9lJGCXp1c6H\r\nPyxqBWRDsqzdrkwdOVWydSg+TgqyhES0/gg=\r\n=kljp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"c0d9ed70f3a5ff7cf9bdebae379f30af361914c3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4708","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4708_1664747301127_0.1454144570059266","host":"s3://npm-registry-packages"}},"0.15.0-beta.4715":{"name":"piral-jest-utils","version":"0.15.0-beta.4715","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4715","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"25d16947d5a56cd72badd08de3e9e700a97d3b19","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4715.tgz","fileCount":59,"integrity":"sha512-DjZah/gGE5E6qIVpQOhuZrN1xfTGS2UljBWAlMqf/ZO3wH+ZAx7AP+Txp5E9AnhQ9xsNeU6Xp8T9YoNks3HFKg==","signatures":[{"sig":"MEQCIG2kic5lim5onXqGDntHU94JiSwzhY9ZrDu7c5LldD/BAiBSIa7r9c+qMeBVdail/Cm32keDzWy9dQ2PmTTqBJAeYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjOzFvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqlRw//ejm1LCiFX8EpWsW72nknzrUCQjzhQ5gN3nsqHVDulsdEXvhn\r\nUfzxg+ik/hTvFDOFY1MSYIckYLditm8uAxpMdhJCuHDrJTSMPa5ibTcg2Kfd\r\nb3KFjnEKqewQo494C5qqE7UnvULaXNMbL9f3Tgy7vvpSI/k9Osu+K2I320EY\r\nLOsdhk+6dDxKRVGlRa8WnQTmHpGgr2V/X3Y9+8qeMX+FBHK8fBpdINqlRzk5\r\nA6qKr+XOgVEHhF8WJL3/yV5nwj3UfzsQVl5k7nn2CO+nb1aVBtWivqu4ZwnM\r\nIIY9vUXEj4JKLzKzCM8TJSXfz6Fu3Oue8RsHYSsiYmp/5Y7WnwlpBAD6tOzE\r\nKLmCmd0oqDueXALdqWvaxk9VlfaqF29G/t4ZSkICYUhaedsJquEz1aZ4Qxeq\r\nwSmDnruuu8VthOdoiKPfwbi2QbXl1yE7yX5SQ/ytPbNR5Q5rijf0e1MOkKnK\r\ngubD1RG67Y+loW7BVN6CuBoKnwhZrgil5IKI4TQrFgCpLGeJfFj41OJWzgY1\r\n19f1bbUYobYUrfK6Siwvna4V6xBYGVklwBnYPvB014JMFMQu5t3xsALi62+p\r\nD5DKQ2GNU2PF/JMilmduT59B+g50RnePF+yQlj6mA/dLgTzF3WKDNlIYyUCy\r\n4tI6y4AWnBbDBILDfYrNsOq5IWNx2Bq4MN8=\r\n=Fcl6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d60f35a862f4f4d452a504fae843c60d083a88f4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4715","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4715_1664823663749_0.7690550917000061","host":"s3://npm-registry-packages"}},"0.15.0-beta.4725":{"name":"piral-jest-utils","version":"0.15.0-beta.4725","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4725","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6aaa09e4ce14bce35c097aa31cb293e6b199ccbf","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4725.tgz","fileCount":59,"integrity":"sha512-TlXCGcDeGoDfykNCKJAga0J5tLSflM7rDZKGsb/ih+qDyyGTaHDeAbz9m0txmfwhQ6hniPr5GdM+HcRvCV5HnA==","signatures":[{"sig":"MEQCIFVeePBRLG9CsvlpJNTlLczVfbix20+QB/Ws+rGS7IYMAiB6eEnySJzOEDJrNvi0PiNwiimaMEhyg992KNUrak0Sog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjPIJHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrahw/+KAySejSJt1PD02jjVDH6cb4yyyTQtUoO7SfF612RufaCHlEe\r\nwCnZ0RCCDaiUKcyPTL/j8e/QP8vd9yefk3mXz5f3I9jTWDpHF+zI1KwfmrXF\r\nes4Hx1sB/9Ce/Pf4kuBFEydht/YRZ9FRMUyemveyjP501lKm95xKUAXc/nsH\r\nh3+3RA1jl+2bm/wAMNSOC5mSu1G2kIS/jXQzfhtBCVG116xto9BsfXTdAw4O\r\nvVy2uCsPcTqumXnHY6XfCVEGOTdCg50sRQgl15kv/h84ExJPAsRlK4Ph9Zya\r\noxoF6hLoY1kK52rIhrjkwCyEZyQueWkHjT2A+npcmzmFDqSE8pc6bj8KZ/43\r\nB0OWKVOUy77ubCXxP/vc7zdVAqRXZHgYGWs4S+qT/myou1rPq5+OMgkrMUCI\r\n1IoHO2/xyAwuKVCRuiJy2LWyvMaCX8bpWk2VJzNUToHtXqbS0Qe3MZWkGukt\r\n9SilanFPLjccups3MkY2xVuzD/d6EdmUITdsz0acWKtn4Y8u+aJcdmKU169i\r\nufXq4qc54ut2NA29nsGKESpjtbvkCJCehxdDMMF2cBnDNM+CE4NBLV4S8crQ\r\nWrB3U+pFrZYXwvM8GMdoES/J6r4QBusJjZbQtCwiwqgYLRRRFoSk5VoPMYOS\r\ncuUKe1Bv1tJn6T6DRtpDsAQmXovUvXSu+oE=\r\n=9QhN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"75f9470ac248fe45f806bd16b2adabde86b48e8f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4725","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4725_1664909895135_0.9294952547140218","host":"s3://npm-registry-packages"}},"0.15.0-beta.4739":{"name":"piral-jest-utils","version":"0.15.0-beta.4739","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4739","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"597457b99ca47b70b838fbf7f4c869b895618f01","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4739.tgz","fileCount":59,"integrity":"sha512-TKfMQPdKtIFUlPa7mcNqLJQ74EygWc7poo94C8AAVyIxXjbZ4SgxXNNSp7EtOwaFMtSxCmnvqGji4rxZqaj9Rg==","signatures":[{"sig":"MEUCIDx2ptc99G0Wg8jAwGnBwb+zUFO1lqBwib/hr7G67XV9AiEAouN90spTL5x67pFuQZawi7m7HPiNcKdZ2HQ5pI/vX1Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQpo5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrqzw//TAQvBDM58x3q3zfSip+ap0NfkZPlSMH+svcxEumHvXr870r+\r\nGLq5oN8xPfeUueXekS3Gpj0SHYaNuw9w1iwZ5TcO/FE46PjMvZYltnZfDMKf\r\nenxQudbmpCPo7CYhT8VWIYOgUJQCAZdQZpkfqdIcFKP3leU8oHfsFKwFgzH7\r\nev+sTfU4bkbUC9LzvLA2JwkSoVaZVNgmTWAfEeNkPZ0ANb+cpey+bOuap1kl\r\nnPZtKaDgzHS1d+2ZRgDA0l3+QLqOJQh6+DHsXvlKVywUzhEnfdy5rQvI0HA9\r\nDRfesE+GVq6MIMmf1MNz/lVUx4k+jaMvfYyaxPV+cC+FFOZcZi6sR+GA8jsD\r\nbHWYg7fudkdeY2NBTRmgfaFylzbNkQd9wMlwarlkz3itgcPXN9NMQYKIR6CR\r\nQychRtkBMJbJRq6S8YA2XRBULyVAzPTC++m05Bp/y5qVf93MTMjGkLNfkR3c\r\nGcha57AjFzmCiQKwcPoGh2SoNpvotfXwPT2X/qcpAqqF5KFmLJGBimFw2JrB\r\nyJzWezxi1Q0amEvfV3+haQ5E/yKmxe2mRiznPqhmnDUmkiYl1cOOKUq7fYQt\r\nsFLscaePKqLH/1d8H4Fj5d5QjZ/+vHMbDdYtzuOeJN0+W7qL4OdgAqw2o07b\r\niDS771paLT7OB5xVjca6/d78YzgyK2Y8mV0=\r\n=B1pA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6e7b1a13a5178d9123a80e44bc59d52a7310e41f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4739","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4739_1665309241092_0.8966702466639647","host":"s3://npm-registry-packages"}},"0.15.0-beta.4751":{"name":"piral-jest-utils","version":"0.15.0-beta.4751","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4751","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"038b5279951cded428488f352cfff9403f349d4d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4751.tgz","fileCount":59,"integrity":"sha512-cQ9kNcdS15c0zSy53mD+x8yIu8d81BttHT062IFVB8VFjVGOrSLjdhVMLQpP5dwIkN9LFix3t4PqwFfeeSS4Zw==","signatures":[{"sig":"MEQCIHa4tvdKZ5njlZRnpDWgHIMm3Ooy6kDG+NdFHN+y1OsjAiAOOxpU5fcagTPtr+ejHunNf8/wLuV9k6nC27QAWEbFLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSsCaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqG3Q//fYdrHSaDD+wxTpn1hcpLWQPZpJILTEu+j8OIkDi0wVizBvQZ\r\neV/am8zAyWEQQKQHJYosavkE8/em9M95PJUptOv8kew5nspbKf1Y6oNGSL9E\r\nIp5Z/3UkYwQmkg4Rq/QPMlcAe7U6GK+ton8OHWeSDvIZXtjkC5yJGUxyaXSy\r\nk2QW7BDSD7pCkeCrr4Bk+NMLnCzLmxo0MoUG8TA5p4XoRJq1SLgqguce/pkr\r\nnsXgcodNAyUXCLD1do3DtBANpzlb8j2xuZ9xcjKy0xVvz3fPe7O7LG1RecAb\r\nqjqcqJVkxTQNOwZJJioGdd36zeH2ZrcJBjnwVzpTCTQ+4MgoDKJCVXVizMvd\r\nsxxVJfTIghX9s5RRXysASUI1ZAa+YL+BhXxVXrWudwqYQq+Z5BW7qgzYxUZx\r\nuiPFfXLYYknpxOGIg5RR2QBU3WFAsQ5VIbvRYQn1SL4ZLEIn/V3wNFbcR1MC\r\nIWyMTu37hcBjOmZgI2TjMwOr2kUIpwIR6jLK2zeLAUoSIM0+hNytfhAG60Aj\r\nDuQmmN5+JGUuZipfW/IfOq5uaQrEgdu0pfqFZmZ1HPIddQ1Xuib5rBLm6ADG\r\nAIS4IXJ2igbdutWJ4oiwx9Lf9ugueZMz/ZVm7FyATzV+socpuLa8ANdtwh2Q\r\nP7TrvvKzcnfO86W+9JQ+u75ElK72uqt3UWg=\r\n=l4Cr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b919766c22a76e2e815815d8becf645e45a1aa96","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/5.5.0/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4751","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4751_1665843354630_0.522231904882287","host":"s3://npm-registry-packages"}},"0.15.0-beta.4756":{"name":"piral-jest-utils","version":"0.15.0-beta.4756","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4756","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6ea6a971d95c9c42bed6d03466a60b151706cfc8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4756.tgz","fileCount":59,"integrity":"sha512-PcdxY+2XEAr46f2X6p507x96CPe9I88kSgulrwcrEbw57oUsQAHaNrUx+MgQ+C/334nd38MKDZiaKV/aFcOurQ==","signatures":[{"sig":"MEYCIQDG58KZQiLg8UCxFzk2yEsBo25lWsCM5WovFjgvZqSrIwIhAPIH5g/FAjirfPcaYyXXaMLEJ8Wkuy7ZMCiQbdS1aoj8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUI2BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohQw//fLqmV8smw9dOS/InwnRxX5iq3leYV6zBE9le17q02mIIAA/I\r\nQxq4bY+2hpzejJ7ak3wNDNw5yhAP4CkFyyMy6euAsY8abHu2umhb82XnUjrU\r\n3sT4HYrM+fdST1i5AqSnNOdEoCBp1+rOJflnUQTSyQCY4xTnT5vVl/pSr8QB\r\n6+BGvEl3CI0qmCeQY855wx0kAw0kLbHbCL5jZgxw777OjU9NXXOD5BJUYGkN\r\n2JqWjbo9xhVzTi5sf5hHbbQPMKvilsOwZ5vEEwAl4TFmh4Vf+zKAALnCAVMA\r\n5C00Gyiclqn1WyIg1Sh920/kmjcmU3kjP8OlolJJVeX5cwMMpumLnlDwRbyV\r\nE8QoJ0IbTzhLe9lxtnplX11OP9/WAggMGYbTF0b1XwsbufCV4ekPyjPmzHnw\r\nULHeYY2G5cHQilw6ER/lJ+2T3OLtHEQ4MrOqajvUmto27Q1XwEb1tcwWi1H9\r\nT2Hoi6HUXMKFpEH3HdHOZBck8+tgT+JBK4nuCU79qmes4doTkq7QcyuYiGyo\r\nPegZB9bTmut0IKeQkS2gozeZ/NyTpw/J3V7zoRTfU25rbKYnujx3pLEu7L26\r\n5GHwGx1y6C29sbWFmHXKPibF7oz7YiBOdMHGXh1+2KZZIloEDYI4nnOigRPC\r\ntS1t0bFoLX8n85BoDZgMxv/AKyJCoE0gsng=\r\n=1cgP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ef910b00c2fca5f4df24f6e370bfda8e2ab7822e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4756","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4756_1666223489335_0.6840304147797489","host":"s3://npm-registry-packages"}},"0.15.0-beta.4790":{"name":"piral-jest-utils","version":"0.15.0-beta.4790","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4790","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"79cc214ee4d58a84bfa0436fdca57ccab2cf1cd7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4790.tgz","fileCount":59,"integrity":"sha512-6L3hoTGWZnVWfOux7PfrIn6Tea1QKVeySjMrjJpvu2GGDefZxI4zgOQHxkNGpkuT4NydYpGHMDDl2unMyEt+WA==","signatures":[{"sig":"MEUCIQDrGdE+lUVMfuX5H35l5EhPfyMEbtro4T1augOkMz1A4AIgeJkmkYCLuavaiGzykymHW4ZeMguCNKfGbgmP9YXXZYs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV/uiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmot2xAAmiXBLzSbd180y8yLeFwNFl8U+tqd9C3EoColOlLmBY0ONxl2\r\nVbPdfeRub92TFb0XEhqtG1eoVPGIu0FxBdmMsq7nRH3EbmAbjXBwddL9YhIq\r\njIMiHrHc2f+GjHlzq8+gVoIUqczInt/7KKw9ktbNYJ3PEh8+1HLIChtnMr3r\r\nXMmroUzTjDVTr01/oC8IV9D9RUKrYDv/MJ1MpQ22I3tRJKJheizWEwvX+ibu\r\nlU9PE34fFAV7iJ0fzPfy9aqcsEhavY3QUX74WjAyenLwaf1NXvA3stj5w7iK\r\n0dD7ilEUbkLQcUg1Haykm7DTnK8FPWBNoABsNCKXMwtXgnmHGuy19xHQi5DX\r\nQ0fO33/tkJ9vYcJtU1Ty3lmzN9GnLOxmE+XYtjUb1DH5oM8LM/Q9HwGAIIZ0\r\nPLCJHE2Jd5m7Prman11gzPpfY5e4wVNs9TgEMFHJkAS923vfkiUU6RSQDbIG\r\n8BS1XxmFCq+DzbPSxcfcAWRTrxuZD9J5MQRJg7h2vhe0DQEfiGiaPO3LLeC1\r\nuVgVQYAFVwzAFCwaKkiBv/5iTc5Fp8CXDCzaZBEeAr/CZRzcaE33eoX1EVM0\r\ncEBI00LnQgR/BhZ2DYc06HkRw4C8IM1VKt66cYr7NbZtpautrE0eAVRtHuz8\r\nTiRnUZWzxMZY/U6pvyMVMAbkn1dsv+1pfmo=\r\n=B2vY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"610db60e98f53cd53a20aaf48f58b87e69e6abc9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4790","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4790_1666710433158_0.7054604714300066","host":"s3://npm-registry-packages"}},"0.15.0-beta.4791":{"name":"piral-jest-utils","version":"0.15.0-beta.4791","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4791","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6a3eeb76a17a50dec21d4eb2b98b36f3c3956f41","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4791.tgz","fileCount":59,"integrity":"sha512-d2kDupZw2RXbQPLISSPJEyv1yXW3jUQrucsPhAeMNnki4hMg+PoyfCZ7bBffK9w3o1V3HpC2ntovgkl4rK3ztw==","signatures":[{"sig":"MEUCIQDqEll7ZwkK67A1FJ6eaX7Ggw2PfKheOHqDcxohBonTRgIgXsaZZ1bRav7pEkf9SrFBMmE5sQKvDclB0tDo6qlBelg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjWEplACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqWsw/9HPs87mmYpIIAta6xSaZjmwHz84187+LvoW4x8krrnJuQ19ii\r\neKVoQRTo3SwH9uBQgRHaP310gfNYOvQ0HQmbAYd190uIefd97mmV1ft/4foD\r\nS0o9Hc7o0uIVOs49nqoG4EXQ916C047sj9Z8W9RD/sQAuWUzBuDcFWauAxUw\r\n0E0yqxCR2ktSjR+D59lA05DRlK9XL4XJGqkVrNxzogd3M+JVXPBLNIIAPWmf\r\nRSn1dpGJ3MdeKi3b4jMPyBD61KzEjW9P9b2zqv0Ezk5Z2EoQoVEmryIl8pxy\r\njZ3T93zbOw4mEWQhY+GuQQOkbnhoCKTG+tcwKCfBjVzDYtYeHGPgYloqeR2g\r\ny7uUPwa0547ypk+rM/drhA1eOkDkmiyU9guBQZe3oufPABN5Jx+phv8b0jV9\r\n0Vp5rIwidBs4//nG77sCKgjexwoBR89odRg2wddgiXjLesp0CI5txFTlhn1T\r\n977Op/R+DtXuLdcdZxIRXoYBwzCldQw+9457KHHYBYsfxrD9qZ8/e4HxriiH\r\njQ43aL6ehZ+BBCy+0wUF9CL5gkCABsxcvI+wiilfK8ka4bGlJeYb7Y5xJqDT\r\n8z2jHKwrIx3kPnaul4f2E1vRQ4tEUAwt2qVahv+M4KshSIZQayHybo/WWD4N\r\nw8reDwoE51UNfyUkfb/pkYRMXNApUoxUWNQ=\r\n=rBlg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9acec0b945406f141dbb5b0db12760245f911bc6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4791","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4791_1666730597087_0.11334261902859333","host":"s3://npm-registry-packages"}},"0.15.0-beta.4798":{"name":"piral-jest-utils","version":"0.15.0-beta.4798","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4798","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"597cbbe32d49ec2c3e5feb053220b32536030df1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4798.tgz","fileCount":59,"integrity":"sha512-x6WOnTYocR+PoI+FrKPkEvHntuSReGtlX8pzhVJnm5lsT/Kc1X3TcDtymPxZ8XDmmIAipLoitQ+KI729lY0xeA==","signatures":[{"sig":"MEYCIQDBXW44IO6P8GdTuRSCAj8bvW8lPK3nbRtD3SVhA+tEjgIhAJ1csW6sxjZ59PgpWACVBNFkxSsGJcIzsJOy5wn1b21X","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYY0rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqpnA/9HZ8MmuvEPJa1BT877G+zNy+cRdMGIlHzxO28bKduf7tmEkaj\r\n1593eOt4eZm3Tdj2yQKMmDkfYD431hlaJUpgX7Kn3z9qbvDJkTl5/YljxBu3\r\nTq4tJF60bZQ7DN7WaIz31cyhHuNx0zjPJk033WNpOGNr298jVgUMiu8iLgB0\r\nYHOHQx0BB7W0i4/0Zoa/rKATX/gn7IbMw6nsdd08IfRkHK8ztFiGMeE71Ud2\r\n/hHXdfVuz6o1whN9Vz5aRXVV8vENsQM0URV+UH3xbFuDNygsimWrSzkXV2NX\r\neSn+4nUHyq3mHd71VfNBVo4rmC8ojHmIPE6Na4ZbMMMj2PjskzZPUNaVviEt\r\nEpzvWxcePcgf9xXvx6agRFc4Zsnbl/ueZYZZQOv3vLoNmCl4ki9Pd0kF5HUj\r\nI+mwU7elUqpS8YrqBxel1XYMfWMNVFcwcoFAEVApH+w3bjSz4+emtD5aFZ/b\r\nudF8SPB0WipkmfdCA2BIfedSPhB47aG+Cbg0j9n/6/xv8pDU0hCBhtqh/SjB\r\npqawvji+Cirt8B0SJrRTiFyfRVYk0dAVwco8XD4549AQ13ZiYsQQexeR/1os\r\nCrVN7fgBhcdr4h67GK/TSv8aNrjAW0UMoZmvNqriapNszdZIBfLKSWSgSUAC\r\nYY0G5yIgXmiTF/VqeVGIivdTn1adxM/KQxw=\r\n=mfMt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ee715b27a48b4ec7bb69a761344f1eb2eb731494","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4798","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4798_1667337514880_0.04520708037956389","host":"s3://npm-registry-packages"}},"0.15.0-beta.4801":{"name":"piral-jest-utils","version":"0.15.0-beta.4801","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4801","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4481f2d8877776990432090bd8511fcda481204d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4801.tgz","fileCount":59,"integrity":"sha512-BaDrBtwwqSYthH7NGmiYEjwpAX5hFsAZK9FhzD+Ypf+xXTiu3Zpskn7mMbeFlNGcCFTMVlKs+R4JdlUxotgYMA==","signatures":[{"sig":"MEUCIBST22a4HegrXzoLaMyVHUO0mypCR/M/Lcyuhi2fL6kkAiEAsDm4OVGdf7Jywnr2GaAt24mklRqWkjVbRQGQr8EeTts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjY8pAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovtQ/8DGBqaB9ZUymh9axqIWxlxpAUtj6roa3GR5bfsLqc9pwLOiv+\r\nZywRGhUUmZmbVQmulB5hPZsxLl/IgNIGHZbFoEWPoKVSSaryLH0oX8OScAw5\r\n7efHtK7rEdp+A2W5JzzZJgtyTXsMbxygmajciqjntV4Zi1knnTBB1iVyxtXM\r\nxsdfYDqBipeh0WALn+JXq0tjd56I0DEgU3rifmCwKbDfy6swa39IyhLrvVqK\r\n2pFFA8UgwkUechpyhPtA7kKoBfa1dy8+DG18G+t3jGu/hzaFH3SJta4DYjGG\r\nPey8W6cCGBWlUEGaGU76PKssx4onI5bPeqqtxUmMaKnOXD42L00/PsJOHR8X\r\nNJK5Y0zQMmm+4TBbduwN/b3OPazdMNcUl7ClVg2T1wqOT+YLpK2pTMwA/eDQ\r\ni5ENZEw+AydbCXvptdLaUVMT7ylb3LTnTbFgoYUG1kQPwsMF2wdRqiIJ1UGg\r\n2jghvh9uMyelYsbqcq9TjvGuTdjfKFuNnMfFwvEMlacAxOmQbRSgbZ5ekHvI\r\nMw+CKF+SJPj7S1QQlXDoGzI8qCt2OOetMOww6XtOhKhGX0u8NcW6FJuue0DX\r\nWGtGZEN+7jv40Pwh5U3sBwsSGWAWApax8mC/LaM3sw8J0SaYo3kA99sO/6Xc\r\nC2tvf4SUCr9abrqaUwSYEu33IPJF0CflJ04=\r\n=UG/7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ba4acd10b46e8c233841863206f9fb2ccc8f1958","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4801","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4801_1667484224370_0.4413540692516862","host":"s3://npm-registry-packages"}},"0.15.0-beta.4803":{"name":"piral-jest-utils","version":"0.15.0-beta.4803","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4803","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"90960448a911460a2c308210d5968a1022d456b7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4803.tgz","fileCount":59,"integrity":"sha512-XD+ZRU7tHFY/lqA2nmyzOR9VpkhNoZepiFJYYh/26YtVwpgV0F1+bOfCqbBBIxYAGm7iGeD3VJtyxcramOexjA==","signatures":[{"sig":"MEUCIE4rQqn0aA/+yTFqvAu3W/D61rdCJJLBCVXqsdImYeUgAiEA+KUdH/X4DcmTx3qI4PA+CXYb1jhhdQEqwDKIcvt+TEU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZcdFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqXEg/8DbaWsZo7LKERka5c4kvTdCU1RlxnPRvLXH5wfbDFzqWzobey\r\nSqWciZVcazIyBGhpgevCVTUlU/fuiqPEZCeAoyrtQCInGRfy4WawkvOxpV+V\r\nsUx1+5lgQ+lNqKIWCWl6xDCgh2qQOuXIqbceT91EjEC3m+WmeXp+3/t3HFDT\r\nEN09QgmWA/+qKZGEytldTegPOrY9RsyxcW/60+Zz7Etr6JkXhJyRs3BU2OiT\r\noQHQD3tHkoeotF5lyJF6b0YhcbtjK2c6Quz/8GgIb3O3WV5G39HL62adqMhf\r\nm+IcB/GOGNWdUHAANE9n1HTpF8ZgqhN94UAi8ZOw8cKtakrzwVT5Eaaf9kku\r\nkcPWiWtX7AimC5Js2r9J2RAQp4O4TlYdrA4RvAWPyRKawbB6HF3Q6tEKErSg\r\nbLM95gDomH1RUtu5YhEXfN2B5e4oJUjo5KAzXChjAwvEVdbMZuH6fYrOT/UR\r\njt1GC2n51N10FEn+WSZX6YXDD5iZlY+dpE0bpBLT2vr99FLdTU6rBqQ/9XoI\r\n1EmB+RNs10GdG2yTMzS2d0c5AAfTdI3yOYDtU+NVcvCSgpnxNE6dFE5BwRzM\r\nU6oYgvUpH295eQaDCl1wF9sQy13wp02dgpnCzrI7+frJpfZsj+KVKl58bBVG\r\nLHROL/3Xmu1v3iDa2Dv2uWmCKO4ZH1+iEO8=\r\n=K3M+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"38c4b5994e2235e20d6aa6d4b188d98a5cedf85c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4803","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4803_1667614533525_0.36504549417030097","host":"s3://npm-registry-packages"}},"0.15.0-beta.4808":{"name":"piral-jest-utils","version":"0.15.0-beta.4808","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4808","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1c3ad60e8e1ab811119a25e1bea249c6b3717aef","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4808.tgz","fileCount":59,"integrity":"sha512-3mp28tHXeblu3aXaIzr8hTVYUJM1LqZVpGokWicb7L89sn91tJ8kTOiITcTsuRm+DQS/ZCy5bg+NaX9HMsMOrQ==","signatures":[{"sig":"MEQCIH5yBF/1JLvkTODj3ky2Luj5VEC6Mx0c8qZ7LC4/8YoKAiBX9GRxhehg+5Kyfe4sinKS9eBmu/gxnof8Vjk/dLVH7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJja5RdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7hw/+PhA6n/wXouaVpQNQdWwUDIukgVN9TcvP/g7WF8YBjov7Jjlr\r\nFYSBu5SUp32x5SzFO+7VWeS0Chg4vdYSIz+y6XQPzYIvS6+dXA0io3ii5OFc\r\nlM16y3mWjWe0JUlD6l4Yejag0Zje8/B+Edmx0LxnPbH8aoV7mMmyJtZsystr\r\nf8nbAk6WKu5uycMoqBsqduYltMucPwu8dvG1bex6bvKrp9jZ1JbMGpiMuFFa\r\n6BkyoTMRJSzrIPBIy5h5L8F/8HUpYtzdif3gtaqCPKXjgvVLeoH7YeiCdlHR\r\nKC2BCaAvMOim/txKxob674PWMPDFdCfsuudzqMdFhrBcmpNbop/vs4V+kp48\r\nDVqFoJVQhdzUx8unmPCjQyilX5jitQfyoei+uU76hglFfT4qtQ7H1lpxxzFQ\r\nmTLekWc90RYsq3pFUOewz1Oevyh4xKArlqwthbVNTsQ9huKVMABnNvjOQKq7\r\n7cvKeTuULuifvTmfvhQN6ZEPNtjSnT9HPFB/XVbDq9FT4MsxdQj2Z8UzGaIS\r\nsbnDPViWuszyOmWsPt4h6nn4SefukdfdMxSqQ+EaFNl43AdxDLYbnUu/8BSn\r\nwZ7EKyLAYiBRLj9zqe5PsKnuEwAK7xJgJEfU/L2SbKRLi69sX6mvXNnYgVcp\r\nkhDF14DcsYuXONgu+KNvSMdfsVF8l4EzVyU=\r\n=Y3+g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"27e68a7d947210860a3bc6025b6ab569ae2f69fc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4808","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4808_1667994717702_0.655469687385543","host":"s3://npm-registry-packages"}},"0.15.0-beta.4812":{"name":"piral-jest-utils","version":"0.15.0-beta.4812","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4812","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"051eddfad65ef1993e4619ac41048d41dd55e166","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4812.tgz","fileCount":59,"integrity":"sha512-xu/iKj88B6mfVHIUVK9V6/GS4vZT1AJ9IbThMNF5rOIuR1oo6OxUvC9h2aS3xNZjWVLPvYwMwibH3zizMVvLkA==","signatures":[{"sig":"MEYCIQCxMBHvYlvGMfhyD3hgcBqZj22U7joX0iInvJ4tNxjXSwIhAPa81yJHNbKyGgSrDGNB9L8E0hKX+f4B+Tondb7YYhN2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcEVdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRCQ/9EhBiXo5d5ebuD7YbBINT7B7WWsi7oZIeiUTI86uxuBSgaX4q\r\nzs4/hdJBiHtTjGuG5CD7E6lIq9POTkbCIqPcFFMJmKXGbvFA+1b4hdJsKIHY\r\nRi2IRzRdUivRtQEzD3hdBVLqX9LVP/N6MWLQjFScP0rQfFjo5RujQVPi3/w+\r\nFhuu63/K0wUPSsG1aM1YcX0XM0X1KYke3jkZkxQRzr86+2HRaLsiaG7uDAsH\r\n99VAY0F8EwnOY7X18wicR7dVMncbrkhyccZiaNmy1XAv9HS502ImcVPVy64L\r\nL911vJDqaoDkVKjQGI9d7uZjTXxaj0tShSZ5fMGTxpKqSk2m9V5R96RaDmv2\r\n4GuY/aT8gONehF059OpKZFeKDvXe+tGr/WSEv1B18iLcXaunjAGTC1qmAAI2\r\nMrZ5Ks422xtdgU4CYiq81aVesW/YG6sMZ5wJ13nlVezJCUgEYbaGMeGO7dTk\r\nAPvlCtRQsC4BMjVD4V236SmAz1H9CX+ytIBnG/0o7k+6MvnjHZ2g3VrJMUpO\r\nIupc8rAyEjlGToEC6IGBEpDphTbEsbI8A+W9G0EhLHtg9lypuj0xMtwqjLnG\r\nvQqfncDTNQxM0jKk3nIeGa2t8DbrvrGYha0E88ulCYr4va1V0RfXn5diovpt\r\nEsb7mN+oENuhuG4gtgmL3UaqMjGpUKmsBQ0=\r\n=IE2m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"96956ad19ce349b35acd7992979466f911d33156","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4812","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4812_1668302173718_0.46360804729612304","host":"s3://npm-registry-packages"}},"0.15.0-beta.4813":{"name":"piral-jest-utils","version":"0.15.0-beta.4813","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4813","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6486aa4f98a3199d585d5f051d25e1d9226c24d6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4813.tgz","fileCount":59,"integrity":"sha512-2XI8qm95wPmj18BOQMyIiDYpwtH/sv8eSbvt3CeX3JZ22/u2tmRzVxlaIGsJS0MsKCof9lZQAcah1dIOvZNdgg==","signatures":[{"sig":"MEUCIQCjp9g1KdPQ2zTRTdV7RyFVFzcNOdsP498vY2W6NHbO1AIgIIRVKjFyRN9naK15eGuLKwB+E64gcqBmBh8jlaz3cE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcZC4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoDYA//e/4h7hXJjIhsktSRRD3h8DyYZWZNwNMqhDT+CSCEEMnZymIm\r\n4I09KNfhRfIHl6SmVP10ZJP8KJ3wwCVyJMPR5G2SfqBMd4PjKY3+00xiYLeo\r\ngrPbOJ1Lt4SY18YiZ/7pEbpgMsgk+NxYHK2/jlsNAymWqMs2sV4oyS8UN7wE\r\nbZJOEkxcB2z7vSA8wUySiGS4GWxQh2drpF6WcBZO13h2q5lvkCQFPNtt0djW\r\nK4dXXIXbaNtiIcBeXMTe4oR/Zdyfpv79V7ynMqb+6AgaBeOC0xRhw1wJVOJI\r\nsRy7WydpYvQ4kW9fsteGgSGkfNpa2jVd2t9biyRa7m1+K2laeo1hlgpQiybF\r\nTLFhpm0tKpXlVfZX6bFKHoUVP5Luugo0GpGk91JtlYc9St28w75aJsJeaCau\r\nf75OBu21R3M4KoC1LGYpGKOTLucUWMo3YW0R1L5FQqVD6sD5ENYzMDsvwX8Q\r\nRh0FB/3nhCh3Frn3kfDG8xGlfVZCPLA0g/zySoY0KiDG3/WD0+TWRO6E9ccr\r\noUBgafI7v/877xGVL2C0EzdWeYw3+WihyHssX51VwjX/jyAEjwDEUkReNVd+\r\naYuv00v3E2AiQVXa9RWYRYE5AqgOybhWERNz3O4hK22c4Rey4LG4KWAYJ65V\r\nM2R2b5pSx8Z7hSB6HDEHBKA2YURJZmyv4t0=\r\n=Oulr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"2790199e9c9e3792899f3325f0584d97af77e795","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4813","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4813_1668387000288_0.31376427397607","host":"s3://npm-registry-packages"}},"0.15.0-beta.4815":{"name":"piral-jest-utils","version":"0.15.0-beta.4815","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4815","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"aad39c4432222c7a2d4fa500229c6e2cb27b48ee","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4815.tgz","fileCount":59,"integrity":"sha512-m09rMy4U+N7vwByXNRdnhIDpnNDYB7L14unrPhs3uHEO1zGjrzXRCrj883iR3a12QH6xABsbibHRk/J2EnFzRg==","signatures":[{"sig":"MEQCIG/0PSkIDZwfMG6DtZNK2rOgixLeyjz/T6fv7CIwOQVLAiBEwPi5ctNxj0AAeP56ow5chZad0/l0pilvaCbrN//XSg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjch8YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnSg//QkTiYQo0ssHH+ZC992oyPZ037+s6vPF01/BcZ8DC0b3Fjrdc\r\nlZmek7MCUfRDJmQB3UQ96D5SvkMio3hF4/DI/nrGsQ5Q9H55GmFypawHMca+\r\nH0Q/fFkrxqqsvYIUGOK+QR8q5D/ybtrxVwd1IFcvfeVp2BXpWS+3+N/oZlM2\r\npmqONqP7F7yAL0hWVw1GlJPJnZMB+DvZNG2xsM28mo9ap8GbXJY2L0p9r4iW\r\naaAnTB7E7bHH6aXrgKtwv9uWH21IIdUdzhaOrFqnE195HFwdl5M/cAvECEzK\r\nLhGDXnz1wnJGY2j1+PhN+qpM9gEbHnOHn5ujansz/FcpftpDHMqHQeP7Yult\r\nutJ/i4pmM4XocFcq9HaMrZ42t6/1niGJBXXCh4540+fRykf52SkRfNLpOjDC\r\n4dQ8QxOndy9hYMIzcF9AtA7wp6SvfXzym8/b9o2tpThJPWTLKdpakUDSIfO+\r\nSWNJ5Dc8PVjl5xxXtmHFz63gtkBVyEPcojuX0LswrFupqAP5lTowZBfb/w19\r\nzXwsG6Xh3S63y+PYGByxmeCjXNXQae6cyO2Myqfp6HQmKfSEx8SDphfTslTi\r\nSIokfj1c0BLkt3f/2sJDS3OZh3hPnYJ9p8oDAgQbzxpbt1NkgdF89I1tVn4A\r\nfE3Qv5RIrpx8gx0sP/gE0qS/qHocu9OQhEU=\r\n=KdP4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"4942bf8aff67eca5fce289da420399421f0d27de","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4815","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4815_1668423447956_0.29002621274775375","host":"s3://npm-registry-packages"}},"0.15.0-beta.4816":{"name":"piral-jest-utils","version":"0.15.0-beta.4816","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4816","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b5aa2b1a3bbeb6a7d0828949420ba20394c13eef","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4816.tgz","fileCount":59,"integrity":"sha512-/9yWdv096sllddVyblo8DBWghannR+4z0d0UpjMBPOLItvrgXK68XFNEYGVDwX53/Y3m47C5evUBsFh0UZhQ0A==","signatures":[{"sig":"MEQCIDzW3LpFR/ytaZ0Tult0IN+xXzMa/NyhJAZ2EQqyihb0AiAqIqekcDWoVW39gm4/r+K+aQ5hTXyvoyaIEykw/vlXnQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcqpDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmogYg/+KGbnpGH/zME/8DnWqYwWvaEgW6qsAJROp0EElVRNTLQKv3eb\r\neBzkKqXCFTEMf8zFmUnyLSJkLKRRDCbwdyKAjxi5IBJQvtFvH+6qo1fU0Kwv\r\nwk7vbWmqKQHmlfy46bMk/0Sx20Hv9d6rE0nXK6XCAKDb14Ajv4yZrO5vGkZq\r\nUKznDVl2QXcX/rPqbDrIPYLiQPRgY+blHlYqWjnKntGn0ZP7L5gqmWlv7r/2\r\nCMp4T3V1ZWpcaEAl1DHqUQSmOhhFOQI8Yint6JMizw19q5ExAQgAr9945YSz\r\nABuVqkTMfBoVI9wpsFzXQNweEih93PB4QIKhtApLgMEKU9mxicWVuTlb8WM0\r\n25Yg5R6Q+bT+5p8IAN7mk1EGWaWYtXcH7Yar4AbGucrG8f8Y7cyrDrr0OTp7\r\nIj8cVaSiLLVPA1ezOrTXepV08sc7v4VPjYi5k/s1smXWx9ed+CKEsT4jr/4d\r\nUTb38euz83QQ4dbVnuVVBwrUu/gxykp4iPPrs7mna4gYOeuk2BzRfK/2AfQe\r\n0M+Ug/4+bO9bxmVShnZL0l8vva21Vxlh5k1QHvWWHyV6WaQfKexer0wZLWMS\r\nw/2yw8NoxTwJWGxAg69Ab2SMZBc+QyPRsJ2s1AgLpA+0JU5y7bErGLIPINIH\r\nDXP6eBY6UseyLm/5M0s2GsSrZVWKDx1knJs=\r\n=znKc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f6af0640e919d26b25a5dc51d6559c9201728ccd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4816","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4816_1668459075356_0.5396965222387957","host":"s3://npm-registry-packages"}},"0.15.0-beta.4820":{"name":"piral-jest-utils","version":"0.15.0-beta.4820","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4820","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0340086abb43a5eebbf1adbb1ec3a4e46a5dcdf6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4820.tgz","fileCount":59,"integrity":"sha512-alV9C/qYR80wG64U7vWW6Od6tfpVp8I1624Ury7zR65VqJigPwACwQ4A29IYfUb26qsgEYnVWde4j5k+0gO+ow==","signatures":[{"sig":"MEUCIGML8821TH556U5ATCOlfry05+HhZvfSPADJoXyVD1OcAiEAl9w3J8nC9AqJ8MrGGmGZQxjUEtw6A+B+zYU1vsPZpNI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdBSvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrs5BAAiyYlDpF167duD107+C1rXTH9Ix+xYFUJkwBOz0Y1hRThhclA\r\ncKE9j22Cm81KDlVr9vSW3hjdrNveCO81xMu+Uyqz9IKtXd8Be2K/pJhucxZw\r\nDybAe0vivA8tuk0jySSUIdOo7Lw9ht4L4r3BLfVd/h4vVOAIXXDVZIRVqJL/\r\nNiJ/8op9aNtejosv+ScfueA4OgKGX/jiCAIJt5/i2jO3PB51tqEu9ZgrKTsU\r\ngvVCDBgcTh97Xb004k1ggHHqwkjNC8Nha3X44bb6lnmeR0UvlGRdytXYLTvk\r\nyqgv/aCCDGPAxBxufT5B0a26/bH3DQZnRWIbcSjh1OGShzgd2IcEe1xioSZe\r\ntXkXDmrdOZvFa2h/EPNqFBH/LL0WSVR9+qbf4Iu+G+srSqZQBiPzn/wB2hc6\r\n8iceoll2MnZUHl0ATl6wtfrmFaAncts9qLMgMnD+e4qnPpbiuvJuCLB213ts\r\nwKDNJVpznhfKXAa1ejaIkJ3AbZY/nzggOC94YeB2h8q9GeIRutxtlQiPigfp\r\n8L/cUVjxtNPBIZnSpZxHgQi3wIHw+1D1cl4OfGRF+mIPQBfHgdAd16p9kgab\r\no6OLTOOyS9NprL4ZHhrv3Co4Yni88s2SZsXm1tTKWi69DB5qHdlPsuH+OSS6\r\ndMRS5g444hTjkCTOtQnqyHY1iWAuh/dPCHU=\r\n=wHex\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"2b5a24273c5893cb5573429396d8991d282268b8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4820","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4820_1668551855556_0.2614893169239261","host":"s3://npm-registry-packages"}},"0.15.0-beta.4828":{"name":"piral-jest-utils","version":"0.15.0-beta.4828","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4828","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6be28b1388c0870aa381b3963441c6f9cd33ca6a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4828.tgz","fileCount":59,"integrity":"sha512-fyiI0R+OXcv1qjSLu0e1eO2MiELsNdxjnkKt+s8l5cleNL3WRMXDrcYu1qjhFuypqid9zO6Hc0rVK+CT3A364Q==","signatures":[{"sig":"MEQCIAhtX6mKIo1bWHreY3d/T4UbQapp3OGumpPuEIjViSurAiBkzj2NVqdHIVGcEESLOQgh+fMaC74TaxReQ85AsScL7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdRPQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQoA/+L5gTtBhcfWlFE/1QaoPaTNdnAkOz5i7Aw4KS8iS7PRpLbYcW\r\nmzLo0RdXuN3c/VwMKOCUNtvTCrSSf+xmzkJUfWOqeni7G6B3/JKfsCNx+6u9\r\nkr60eHiEDF3a0NsXUXeU2Yi2HFmyBRvemdSIXDGe3AWq6JjZLo65cxy7Ptsy\r\nUKuL89M2+f7jLG1dXivou78kud28Xk/9XE6nS1/6MGFrsGeUeXVW3EwGEDLL\r\n042f0qgHvKumoGlYeC4UyBNUWDGv/zMoWlPtKL9+Vsb22G7XK54gkTQ5sGnK\r\nmfE2Y2KA5XEIH+CgM8NXH/Gpzsralq+u+WmQoC7R5+JWxJ2P9BGlxEv2/D8N\r\nBaeLsAojs7scYGunsqWlNkT9tlP8hc7eObISB6SUrfn6ARAX/k4DvZbVQa3P\r\n85U4w3tJ/P0EnoPlbBpWijJ5y9zs7Hbf0i+SDWafi1k3XqOdt5KB53PUIgQd\r\nVhlqvsEb85ILuQCw7dsoTGcV7wibpzqFdIZ09Xrf/R91W+wF2ILytfP1PckG\r\nVSJQ5AVSCv/om2H4jcW3RUdoEyo/6BCgdOqtn6FOfZ25oLCe/26wkJ9uGe6D\r\nuB0gr5blcax0Y7spWabJzHVrFIPrGEHLftvwJpdQVXbaL/lxBOoxMVSnnbR0\r\nRHsf7Szelpjt1qfj0IE3MwagUodbsi0ePdA=\r\n=A7YU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"88be8e7bc38cdb48e6a8bbe20e14644ed790a2b4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4828","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4828_1668617168275_0.5490731469981938","host":"s3://npm-registry-packages"}},"0.15.0-beta.4830":{"name":"piral-jest-utils","version":"0.15.0-beta.4830","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0-beta.4830","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c86585cd4943c02c5fdd214e250a5edb76609b12","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0-beta.4830.tgz","fileCount":59,"integrity":"sha512-G26PRmdv2/BjC28+yo3hriIjLfelupCm3kAPVWrxo7AAH0uDXMurXF4p8ttKxrPAJdIAdGBu8BkYmuHs4wF+GQ==","signatures":[{"sig":"MEUCIQCHUTm9Gqzl5Zhv3Mzye0ViF1Co1quW1xX8jd8PrVPCQgIgaMNKCOLEpnOZfHWf4JzwTfu1PhhmOJuezIxMQhqWG0w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdSRsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrC/w/+OmdrUac2uHpQ3atxBTzL1UJuTjwEz2RWmkc7G+3bMRqyutk+\r\nav651bvyrlBtEGCmVlkcG2WMsZgU9L37Sb/GXHHrqdEiCYY7E0N5D+T+Jl26\r\n+DcUBWZUzhvcsoranlpTWF7TZ0L7ioCSBKKGyTDJSU8a5FE2PCc3LpPuVaWG\r\nHiQsiVc/XneROlTQ8OL2KLuGGDG4IeFOxtEVczwKQgvRCJAUSMdUAujELH+h\r\nARXhoI9Dj9kFkDx9BuZ0WTPFN8ok8tKXVa/KR1u1qUHLj0fvpPaerWkt8umJ\r\n3PZI71CawHaFoB5kbujsL2PRHd7GFbVNSFuGZvbDj/f/d88oG8VLJooPcKFW\r\n40pl9tHhD4qvy4wtlOdreZwYWFXh8aRlCIEYGG1C2yksW5CqZFfI1dAadiwc\r\na2HegNnXzebRtuZt2E9qhxpHDm6HIzIXWh2aE6OaoO7XuzzFc8gcq+Fq/Cvv\r\nB/5iYx/QDaJFVM7LGxMCozwNRaD43bu7zPdor4i4XAt763gckf/W401Lmp2o\r\ntXctHD3v/8JovrtdKMdQvhGFfPhrA6TfzGcj+4edfGS5i0A9xrMKy7+gdKjC\r\na95hQoLblTeHWpyJ2/DN+i8lg0MhRKnmnkwdWhOk1fUIl2ELLptu5vjGsyEa\r\nruqADC6ZmUOJ0o7tNJbWFhzVSvdW3YkDReQ=\r\n=jMS9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"da4b488c09b90a28ae06be0bdef173b98a175f14","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.0-beta.4830","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0-beta.4830_1668621420150_0.4748364755447161","host":"s3://npm-registry-packages"}},"0.15.0":{"name":"piral-jest-utils","version":"0.15.0","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.0","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5c75a249f53b00959efbe5829fca76f68ebff22c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.0.tgz","fileCount":59,"integrity":"sha512-39JIw6xqa+KZrOmNG0KcpGBH8//LhDfxM85nmekesQJhLCdNvBfnr2QpGq8PJzjNlgrn6sDAqi8FY82xPyJ4IQ==","signatures":[{"sig":"MEUCIDSl1CGFLowx5i7Bw6+y3l5NP2pKrDjGk0xowaTigS2wAiEA95cMQB2JgbytlFOIgrkk7FZwhOFHHNFaMyQ2yYBKmzk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdYRCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQrQ//cPrAqI1vfXdbeMycuUOYpdWlra5xnIOri9cysi9AcVHE3m/I\r\nvGIEl2dzi6Ams5lBcyJgqsDw5W3DiHtfkhwEtA59MU86w4W6pTxIQgqqiNxM\r\nSqPpxWHcbyK/7wkFIeDgk+Bd8ij5VztxxXlAB5Ho2NcbHLmC6YuL8U40dVr5\r\niifJC5mia4R0eynAJ/gchjYRfBC03qnjGTCRIK4AZPNlrwy/l2Z3/vX8grXB\r\nEkeqqEBCl9EPqWqFxmkVot7/IKC6ir76AG8IwXWG2jYeQY8bZRQN7jwOkxTb\r\nIvVy8JnSiYyWtuGnqi3d/47IhKnr3w8cb31XKCPEH8TSyKTulu6/WlG8sjlJ\r\nz2N0SnA/xyKRFx8l8sBaaezmfCT1n9CnxNYxf55JXOXQSrgdxOzdoyl3Pk1P\r\n1Ep8mh5luWOrM8VynPNE8heI+mBK2DBkqD5BSRryIl0cTAxVlt2bL7nDGSlN\r\nv38aYPdUUrRY5WCOkRfEijY8p3vwFp+jK6eBW60VpygBFo5OYBpLlUNmCovm\r\nAdYcU50xoWJVtcYuGfqSa7ePPHl/QKBLwuCbVnZ6LAZpngqreKknottibSXJ\r\ny6tjlnOxgfVkq2CqCeZn3meBmsQpz4MwnYqmpWz46bl83qm0RxjSPkboKh32\r\nqlwTfU0tTLDrPVvLzv0QFUzm6ezlIsFrIpI=\r\n=oZAp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"0a8a48f663dc0e1b6f09eff75af45a5377a05347","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.0","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.0_1668645954310_0.9707286788962621","host":"s3://npm-registry-packages"}},"0.15.1-beta.4903":{"name":"piral-jest-utils","version":"0.15.1-beta.4903","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.1-beta.4903","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3e6d8c5c173dff3421bd0c6e500938b2de7b2260","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.1-beta.4903.tgz","fileCount":59,"integrity":"sha512-8Z/b4xMvIHCHMVFPsa2uXp/NCvN1sddns+WEkBtP5/mQfsxDn7Ze+ltISIHaiUA3ISXFGmjfhpfICuqMzYJMww==","signatures":[{"sig":"MEUCIC/+sazaT419puo7ur5C7YSdMejx0mXzAGTROu/OAFa4AiEA33hxINh5pK37pWygqycjHOxE7WLOiSVY19KuuzIUaBk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfq6IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIAQ//V96n4GlyCD+9IvaDtBeJyZcx0GWJ8OTTVdv8u5wojhR/97ha\r\ntXLlL8ZaDxoUcVMipuP5tJahSyS3AuHeOemypTRbnfT3rLel+L1GV+QUH89v\r\nnpbVn8tLO/Y0PMXMZf/4OVXCmsdKjvziAGCj4YR7Jhe7y3OHcFI7Vs4Pzof0\r\nC8/WMDfa6pxwbvClEDo8XimZffL2ZNBcnmbqYp4eQzg48UtzA9Dlekb3B5Zm\r\nKsHN4PaQq94ng2UHAhBwiMsJfTGgWrSI5RK3gGn5KBx1g6JvUxq2HYDMfM9N\r\ns7831ypua7DpXInrthm4p1estBPPkV71395tpTJeFJuUQp5lSUVTkurSnW2m\r\nASf4PFjhQgGGX7YLafLwvONWj3Z4eta2k4r3VUEFkExz0Z5gNPeMrUUE+uPT\r\nUpZh8NfTl02dvaZCymVC5XHWp5crzGTgy7x5xoO0+IcCQYmCE5EcS1dM3f9R\r\n1lPpHKfJzL2nM+JoT9Lpso7a4bQ+a9LQVBYr/V9jbtQvejJR+KavOfqJrLLh\r\nFa9jd64dzzzSErfL/1nhmCv015/QcHufiWqTZheWLwIzF0xelPXMvUiV60oc\r\nv2ErYM77BiiIFezxCmPkoh3oIURrPORjJJ50vy2dcShvnqmfMO37JNkrOyUd\r\nEnA1Ne95kYmNVsqflA3zmdJpzB6FwFfEaKg=\r\n=phW9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"352007618501b20c32b9d159744ea6ec0b3bfbb3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.1-beta.4903","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.1-beta.4903_1669246599933_0.7239758206682274","host":"s3://npm-registry-packages"}},"0.15.1-beta.4906":{"name":"piral-jest-utils","version":"0.15.1-beta.4906","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.1-beta.4906","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"85536bd64a4bb6b90ee45ee4c7bb1383e4c63b43","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.1-beta.4906.tgz","fileCount":59,"integrity":"sha512-/ROrFhIRJGFqUxNMz+2zy7dFDrZs+zj/f6MlrKpjG6qn0O7SnEcnUeKGfvrEo1TCvbaGyH3kD/fMCxkFT1MJNQ==","signatures":[{"sig":"MEQCIHJd4Mb/ELhPf0bMF0QUx1cOJPipofyo7ZhU1YQRxTWoAiAaSnflkbRVV/5p+qGP41nfMHRIFp74/kUHVB19tfdssQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjf396ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqHQ/+JSA3/ltpvUtYf9IqzYhPQqjpRFTDTL/kaESLVt5inu3sJRtY\r\nOpNBEkLl20gkMi2xqCAbFH/+0AcM2+tcDn0bhyzCYG+GJkL/3IfmIaf9jN60\r\neh4zJr6zwVlnQG4/QH9lAyXC/8Kor2gX38+8TxmfmAXIzb+w7yGWY5JlI/hs\r\nPhifOY0rcJQASW4uyBzQfr0tSMQUMZHDcGbfIBiO8mNUld7zHq3LglUSVqHi\r\nVzXtrh72+C8D+DQqSdpMSEx5WNKr3PMbg2GyGhxD36DknYblYng2WUsWrZho\r\n6Wn5DQdH4dQ6qvLJvU25FjgPse3OSxbpFYSlhaCkWmMhciQTAC7YxGKTMqLK\r\n49oioNqmv84rMaZLwChcRZ5fqrKn4XExZWTf4U0Q1Qj/e1OjmmmLBivy529c\r\nYL2ntZPPxpw0Xka61Q9uATXDlZ0Q7OMMpgDFbpzMb6SfxndYodxbW8HpTQ2L\r\nqXKVPOdMH0vGYF9Gg+lrqRnPxltonKi3EXpdbcDd5mN0yRuxLG+i8myhXdOs\r\nFmfYgRQke9aj63mkZ9vkxLK+k7cI9ERGLNA3W26rxdWpZ4qwNn7pYmcOT/vr\r\nj+sheIqxuasOH+viNbzS+V8ZCV+Qmg3kCOK/2KwPx5vbj1isMoxQ8vbHygWO\r\nGQmZyakz+h1kiPkOxZHaSFquCa6M5y4kH7g=\r\n=ACHZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"478dd9009975d891b6734ea0a0ba499fc9212126","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.1-beta.4906","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.1-beta.4906_1669300090469_0.6765128523858652","host":"s3://npm-registry-packages"}},"0.15.1-beta.4908":{"name":"piral-jest-utils","version":"0.15.1-beta.4908","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.1-beta.4908","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"aea924d3381250e8f54ce3fac36edae8b41ae1ae","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.1-beta.4908.tgz","fileCount":59,"integrity":"sha512-dpxWyKh7nd+B9YN1D/H/nQaD+IefkiiT9JsHQVC25xQkC3oKaQkDbBqPJLcYaUznMtCS/Moc95ihbX2BbztBXQ==","signatures":[{"sig":"MEUCIBe77EykPyTRlrnljHBAcxECcUEtQFJsNY77LK7LSCmfAiEAxdcJxq+4vVurx9TqR4Wdh9CqBado8y1fgYaWE5aWS40=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgAI4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+rg//fn3bx0FLSyu7laj40uijHg3u4m+jdjAy0eC5XRfGaK2NU3hC\r\n/BgDP5pqovLL6Zhpf9XQ7gGuyMVhGOgx7tWeHYglf2yqDZtNXvXgKEDLEDqN\r\nd3IZwTPVxGRGYVY1mIfc5r2LWKCf2C1DnwkQUCuPgawqYwKw5a+NHIbpXYKz\r\nrt6aSr0oEPXXGMyjHfuIR/b9jqny33r2DOdAb/fuXJjBkoT081xeHFsfmb7N\r\n4rZzUu/Qo5VXJSC5FiN9cmluqLiULXe+kr0DJrPcV7PxXiS2hqZyJdrW5hJx\r\n4rRkURMY6UovhDRf6hQK9ovFx9KcNOoDU+9ycZDQzMteJuNdbe5J3fU7pxyi\r\nrAs+p269RoByWxvmO3F74SHAe7aHk61GnKR93P4w7bRs8W9pc2YZdq/3ack6\r\nUM51VgLV4QC1S6jK/WX02o/AENdbhP9Fqj58dEBgj0jEzw7gc5DxZuZCu/Jq\r\nYq5+/S6Quvy+aLvLC56LfxVOEbvAwUyMaiG744x2mFeVYEqbUid7GTIemib9\r\nAK3S+tzjo9HVjTzJs6zvt0yYeGydwcF0Isnj4wlI4kGUUYvbQuX9XkS/dWa5\r\nxAG+Vi5/5U+OqbYGZDIewXNUuYo9Sg++Iioe4T/ea9QQYjzjrRTfNPptwkNw\r\nCTnbiT9S53ERRuW2toHrTitxpo9ERCHJP74=\r\n=cj29\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"83a8aa5c0a1994ca184276864022e09da2e87195","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.1-beta.4908","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.1-beta.4908_1669333560258_0.012654309871285907","host":"s3://npm-registry-packages"}},"0.15.1-beta.4910":{"name":"piral-jest-utils","version":"0.15.1-beta.4910","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.1-beta.4910","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ac0e81eed4e2a565bbd52d3ef582e07908bf68e4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.1-beta.4910.tgz","fileCount":59,"integrity":"sha512-4tmrIROWLXxPv1r4ipPvGkZXfjz69Uscue3JIKHR6qMzjtPl2NZRvpdyP4RrvZOK9giLN8gJYJdaJM2N0Cdk7w==","signatures":[{"sig":"MEUCIFcqMx0/ugApDbbYiDNYgMIl6c8Zr5jmIdNjpV1EFujLAiEAqlPRNxdtZdGpgcuDEUvjhmRsc18/g5QYHNyEMZKZkgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgAUcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaRRAAjCDGNsp2KFa80PP37RnxidkblWl8oWORnb2q0IeqBeQ7Dtsd\r\nMkLzstNQMrZhN/mNNpn8WRqKdV9NwVHi+CXhp0yUR5olOIUykYz2gjnx9xyb\r\nsRiAdxGtSf4NTJfY9XoQ19zgR1lt3HMXx3wzDO2APT2TThggoul6Y/ATv60W\r\n7HG/3FhZrO6SyTQUApFGyJYswtvqGPnmBVirlKQoiNNcjvkRJxOG5Co13VIw\r\n79JeZNOTgg/9UrfgRhbGSeCwS8oDCT+pzNEFUBW5JFMwAFYMKoawJNIR/2uQ\r\nHx/3yF/V2ar8SLKyVbLZe/ie2p7VZeaQKi2g621z8ys0dTru7wGs8eFpCH97\r\nh2S4HG4Qf6dMZ3Bb6DNXsnC6DsLTI8cT/ZFLA35lBnDG4dM9SMJrtbawOY3E\r\nFvmJLvQEFQrw5vmOeISI0SwYtgz5DPrjRSt+JoAxmSf1xZGVg7/hzRLQLJX4\r\noxQkB0lB7J0+ctBizv2gTPXkFoG8a/XJsQcJChvxkptaHGbyTVyvHvCr4bIg\r\nra5AIILKZyhGDn3SPzLVTZL0pXs+EIq0NhVNwttKGRhS4ocICY94u+NZGdbN\r\nWNmDGn8fb6E0chZm8ED1E63lc5IDcJMKolmPRON6QssopB0NgO6zilFUo2rz\r\ni7DmqqpFZbrtIt+z5moTKIB0Zq8dwJgrPQM=\r\n=KrXY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"83a8aa5c0a1994ca184276864022e09da2e87195","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.1-beta.4910","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.1-beta.4910_1669334300256_0.5513253141101242","host":"s3://npm-registry-packages"}},"0.15.1":{"name":"piral-jest-utils","version":"0.15.1","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.1","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0fedaa114994aa294917957746f96430f9602ad7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.1.tgz","fileCount":59,"integrity":"sha512-wbZxcBT15EgDbOYvV01x7NU9Db8pmHYWEf0GBZ3Drcqog+LfRCShvIzIT+T9xEMZSJkiZlcmmkEKFSJPycAWyg==","signatures":[{"sig":"MEUCIQDci6LaX5+i6DUAR25BTIS+/wgzqzcvxVMADLU1eMAHAgIgDT4147M0wspWih6VELGRZYAx5BzAHpjBWp21gkHDMrY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgKqfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWYQ//SaaEPmWGH9RmiJW8HZ9fuxO4pOWcKczgvrrLzqmIFLh3U20f\r\nNhYr+2/p1OgcveHKsvj4jMNB5lIuO6aKndp4gyFAq35D5qkPhFD7r9JiGjS4\r\n+Nkv9luWcTa99da+I/yqGm41eIgVZArVQxBRgsrEpMOuWT8YmF6dI1h/HswG\r\nzfFYao6QYDpfJ8q9xjmaIC8w9D7ixf5I5M1SzcyEkzNVxBaieSzSt0Rw73Uh\r\ntUcAkIxgzxBZ3NXx/UrkSw6SSZu8p3V4J37qtvk3KODTCOTAdshXbbY72o52\r\ntmdoFIoDHyxq9Tux8guvI7Yh6+Sy5wcpaFnqCpqfwgGvYz02x2dQPYDJJabc\r\noQq3BZetjzsuP0zAF7LJJ2kUiyzsyAvIMTmQ6zIXnQs8+sKxArWCZZcLr9L6\r\nSHna+Ch/htJId21xbKCey0fC+4zud/wJaN9fivp3QsCLb+McTtJw/niRqDSV\r\nO/yUwirGZYckwT12EqiIaHsSdLjKf/H7JUMFgsF8LLZgfkR3Sy4XxGCTh3JU\r\nbhUosW3BZYLM4DKiI4/CmqRCjJSBm3VUbEgYYwms7ep2aaaRmvIUfe83TrbR\r\nyXzzxjvSm0WDbJn05w/E+MjHDh++Vn0NxdLjua0KvEK7gP9DM5tzu5WSndff\r\nG0dDFtMyOkwEzDdQ5sfVlMj/devHh6dnaxo=\r\n=2KgF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b1e17ccc03bd4a256ba20ff7e7bb2b899ef35102","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.1","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.1_1669376671346_0.8829066639621959","host":"s3://npm-registry-packages"}},"0.15.2-beta.4915":{"name":"piral-jest-utils","version":"0.15.2-beta.4915","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.2-beta.4915","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"eade7ddaccffb68a70efbee661a258c5198ebf87","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.2-beta.4915.tgz","fileCount":59,"integrity":"sha512-yGBkDFDUWHv9/koQFTpr8Xvd1nSi/ELhHY2Pm2cd9k4cKEwuRkleTbBkaDY3HecEg7B3sqotvUF1+/ej5DPAhA==","signatures":[{"sig":"MEUCIQD8QC1OiYaiKQeATotXgrNNZuTE/HeTTHgZCI2x+42FQgIgFIbsiULSyxsSFes/8S8HqGKU3dDEh+YOJq0ngUJxWQc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjgxnMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/sg//Q20N+X8m8ILh2jxY6OMaFyXROVMkTHdkVAaslprCjlk6G3+r\r\nK2HntLAU9tckKdRIbkXwc7oVEqs4OFwWth/CNWeEKOn+zlYF+/89T6nsQUqn\r\njMveR8alE80wlrxSA2XQ2oRMZGSApZ1xMMq+HHUNzWFzmcoKsVQXjzShclLB\r\nJD4Pwjlmu7mHIDwgX0n//7AUIxEr767UekH5qohmlWOlPLfRouBZVuMC3zQm\r\nQBZgmDWU6JGbATgcqu3YX581N38p9v5EJUN543wbQ/Rc8ldE5c74xTugZlo2\r\nSq1h11Ush0glJR0FYLq7TrZTqGuMH+4SRMxzwPy+Aldf5UPpYO+mO88h8C7l\r\n2MrGNSKjKJGaQ6S2mVs22vQKlWiJliGyLQm6KMCPZYGofQD0FjWhHaXGGPlb\r\niLkCtL5MDqKNti2M7m7oKit3eVY3H//44zcOj/J3no9MHDb2x+2YodhOu9YV\r\nWE1Vd4TO/O+oJKaprg5a0DU9zNgvu/wQKbMPCg2/16QhtdzMPH1fWbkGn8IO\r\nCiH8+vTPOl4O3VmuKSfbp0YrupZKRzkEC4jwOjCD6/xSpGv9+WquwzviFAnQ\r\npLMPrOmWFW+4sHkEK3Wm6Pa6tlUNXqpUh8P+kzqiDeRtxoPF4xVKAIfMnK/P\r\nlKmHcCcJpZOKro1A4uVmFteYzXxZgXt9uLk=\r\n=w0er\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"5ab47435e95f3a568931505084459f6b59bf80c0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.2-beta.4915","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.2-beta.4915_1669536204443_0.37300655000465555","host":"s3://npm-registry-packages"}},"0.15.2-beta.4921":{"name":"piral-jest-utils","version":"0.15.2-beta.4921","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.2-beta.4921","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a84228b782b60032e7b9bf7fc5f5a58338fa3d95","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.2-beta.4921.tgz","fileCount":59,"integrity":"sha512-4Z3IGYJJMcon8pqnznb9ivWrEhlq5h7A3DffuoeSvLD/v8PKpzj0n69f0VA7q6DC2/4Dfq3Sxnb8DOsNhaPt/g==","signatures":[{"sig":"MEUCIDiEq3V7+mNQetseUPxQdpGWvcUxEtk0WdhbqH6ccW+1AiEA69nTERmn58390l/mXi50xQ8wobocGMRkM2J7ipWU900=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhAQaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2EA/+Ox4qlh4xOo38HSkcKftoX9nTerPIBbo5KM3EaeoJ0LHLVMsR\r\nCcTOoN8Gup0fi3HBuibIYnTyydvR4pjGlA1TOcCOrRE3hQnPwng8y+O5O757\r\nRb9MVOr3GO9IadWe9Vkb1cBlPldxvr/tDSLyYoxWSP4Z8+3Iyj/83Z1F4ZTL\r\naX3W1jNM//KdzDKsgU3a1hZXCKZ85JzlqbROetl1z9UltExmRkiaD/+ceCY/\r\nA0aEN3G9e7NpiBDQWIsGokkTkFN/gJegWd1D4RY/jmwWcZQl8/REz/oHp7qb\r\nuJDCSesjywzVpCLl/be+QYqYmt+4JMyKsXuyNwZ28R5bkwbdwFdX1dy5e0CJ\r\nDWWzZ621UUi+MBM4E9hFrZJEpUunQABmkSan/8MoEp26EjHMG746GuADERBv\r\nUhWKNCHBNqpKPYX57k/c1OX5xckaddtgVynNlAWFpOVnaopBkdhMDMJvLtbX\r\nx2sMTHcVRgMnN/Je9XWZenzZcwKj6L1Mwx2nszNyN7yQPSC12EiRXPHBnwfl\r\n8Iwh32342Jjnf7Kk+UxjMTPjP3EXgEhqZUm/BypO0QXD7XDUC/zTw1oec6xS\r\nezsSY0RLJwqSehf4CnE6lMn0aFwk+1A+xuUUviRodzW5A3Tynh3bRzvITXTd\r\nzn7jMS7pIO8RopiTk44BjBe3sCxPNliaSd8=\r\n=NkML\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"e112a3859cfe8b9f7a4ee02be3cf5493f2482a94","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.2-beta.4921","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.2-beta.4921_1669596186232_0.7497502977680084","host":"s3://npm-registry-packages"}},"0.15.2-beta.4923":{"name":"piral-jest-utils","version":"0.15.2-beta.4923","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.2-beta.4923","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d664785c2ff85f3a9335906a4d7a3f08172df4c1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.2-beta.4923.tgz","fileCount":59,"integrity":"sha512-ciYwf8tFIL1HMn7/Ostweh5sF5Tm6TPkSUBXkhVwQySqnp0fV7XHLQxPTKs1PQfbyPIFLmnBOVYw6ZIsj8VLHw==","signatures":[{"sig":"MEUCIQCfkL2dwTblVInsVWVeX9tGRGKJZCJAA3+/Kc67CyY2VQIgJJSUih7zx98tBfsMofq82a+fy7t3Af17bHOVvsjvOtc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhOFKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplYA/6AqiDISKM9mvT0NftTjyn8KbXJuiDNCXA8LN47sR87CoiQKXB\r\nzC39Bg65aeM1oi5Et/emaZff6O3Z0mzXDpvDcMcy5EEMecQMgrKvTTIAEwoK\r\npgCFwQpcs8Rf4Mc2hTgIawTSv5/2odejpj/CMZM73wlHAa5OB6OZ3h0fNwRN\r\nFd8/daAMhkMOa6jTn6LkzZbAwQf2QVSsXXL8rHR05WhZ8WtVsT+49j38yPfH\r\nlqaUQmNseskoi5EPhqd+/Lz5RK6bcVRxyRneH2psp3zCWwCpRm8E4mxOlnjQ\r\n3BYGDKNW557tfY7jcT9Twfvd7ZN6NE0Irq3ZeMBP7pNzvlfVBLQFg1kupySr\r\nFZLF6iPO8HnI+erKffqUKH9F0l+f4bYC+zW7WxtgMcWnq6qhdWqcUojS8EvK\r\nSQYaGNtw38b3F20CLZRwYnVMRNrCYm9VyKgRGhmz01P4drT7a5AODKz2k0Zj\r\nl3geepfzB4QhT67nagB1/PTJwshRMUMXZp/ybMoUTmxv09w1yfdYawRqJczB\r\njfhc1ws8EnNrM/eibyIW/pvDO2ZCBUUjo0i35mWIgyT5rXG6QftTc+nB3qaK\r\nJ90u48lEIlyF8RQlQAhtSLxAtg6RKvbkkJE6JPIgDlNMxg+fQIZqsqTTq/hA\r\nACbc0Jen0ZVHoPd+PTEsiUm7UCsmVTtFbtU=\r\n=la+U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f4547fa8ee856430f74ae3c46f92df77c6700b8d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.2-beta.4923","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.2-beta.4923_1669652810083_0.5966701452819883","host":"s3://npm-registry-packages"}},"0.15.2-beta.4932":{"name":"piral-jest-utils","version":"0.15.2-beta.4932","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.2-beta.4932","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6b2c1000635f0018f2bea2e259e71cad35c8002e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.2-beta.4932.tgz","fileCount":59,"integrity":"sha512-r8VD1t+zht1kwaGGiFriTv2ORdrroNziQ7/jIIuAo82bkLRoomxjXTxk+wx7NJksPcTExSWqs0Ds8cqv0c5zOA==","signatures":[{"sig":"MEYCIQCArvKpMuhatKqH06/D6QvM/YAMKgwbU25PwY2KJyV2WwIhAOaGQz2PPzxr3NRsgTjzNAIreQXXjz8VOMdLsMCCEpYD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhrhwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqNkw//Zc5pIClr9D/jGfc51VrKIG5d+4Ks4UvGpoiwCXaaFKHgAv54\r\n15kDWsKQqZnM4sDAIoFdFQIXnLvKHRwA3AlLKbGfr5ulg5tJOBrc8m7qkE9Z\r\nF+rUYRkZUKElVzmiSr+NgSFTtL/A/f5+qiG+xtD4Hlrnv4iNkAF30Vw/V9vY\r\nVZyCUh33kQUuQsC9aE8IIry3nNoSCY17p2vbbTWhB7Ufpw4uQnS4eMEvQVja\r\nFFgpBM1dlTJ19A80W9DJT67gTd3yjnzw1Uq0MlPZuSBkxS9gfra7aLf58WLO\r\nkDeJ4il3Ji5w+RfMg1CQmETqJdLkztfF+wH1pCaKRqsbDM4Ns9V2MHlbWIIO\r\naOyZUtG219HoRh4m7rIszBS/lHaIsclSGe3o5OsOTkTiJwo8DIogjouu65Fh\r\nG02cmlLo2Spubf/LssW/r2jZF5VwpUVKsanzKI9wDzVG1jvCVBkvZmQ8YAle\r\nH8+wiZo2iLBYm1Gye1ehhllL4K9vLQSvznpO1XoXYtA9syOaq3hRDSgzemT3\r\ngcxTb7mQKY5Uf8T9MKC+F5QT+P4FXclQbiJ9RWR375OcS4GkuxmBVVIdNoLu\r\n4feMYBSVr/PbG+pG3XqoFF+r68cC18sHMAdxj6ZIAmGTUqHSmKD8WQHEAcWf\r\nydNf0jPhlIDAtphR/oFoQmNIPbJhmilda5Q=\r\n=T4t4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9c1242edc9f7bdd2255821500ca5503631cb7569","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.2-beta.4932","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.2-beta.4932_1669773424354_0.828145618807723","host":"s3://npm-registry-packages"}},"0.15.2-beta.4938":{"name":"piral-jest-utils","version":"0.15.2-beta.4938","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.2-beta.4938","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0fc86cc1e31302e9f6ee84abe274d85c64711f3d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.2-beta.4938.tgz","fileCount":59,"integrity":"sha512-MnLxqJiiIjy+NloqAsvpf7kkifGXlRX3CSQ7b4Ie61F6W6Gh0f4jLmsHV6JxcwTQmh/XZcrWAtoz5UbJ0VhhyQ==","signatures":[{"sig":"MEUCIEvGzsoEYU04HIBdnxwQwmowEJ8SJyZ7FVdfH7CHzxZ9AiEA3XxQmqUwvVHJ3a/gzabfZJHaf+LXPuKnDdqRqAvROuk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjifMpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcoA//Ys9TW8MuCjt5YsOKCbX42LZFYX2DlJkHwklYptylKOhmL20i\r\nCqiM3a62Tw+dCJouzOFtmohhgWHaQxbzxNWFVlKwsFyQFUmTTfu7i+wzxb5r\r\nczO05aMH9DZJfodn6wcfEC+eu0N9u7tBzWO8p+b2d+afwLpD4t+3w8iyr6H7\r\nO9r1gyFc55F0M6FJ48sp1yP7HIHZ/Zz/L6T0PdG77frDl2pSb7eMJKu21s6y\r\npZWKY2THaG8zne/2FLd84aqI6Ok5Rwd6IVA2MK5N+82a18JAvkIFZPZoSMvj\r\nFumTc1DrdZzqtcsey6XYB3qZXFXtJKw8/4xIuqVKmPzb0S98T28va2AYVABp\r\nwgR89Ek7hFgYbOejaWDSTTywEgw4byK/yeREpPKZBWrtSnNbBWm+Jy87HHG1\r\nI5PWFD4R7qZajeQbQanoXXvgg6ydqoZqPG5Gnps9crwp2HygVIwNWGcfSoLt\r\nZeNBAZJQr7xVLTgjRVjVNILuJzNeRsB6LJDasze5Pz3UAmuvTX5hbugYe1yi\r\nbBmA6+fhBAVvarFTNh6qGMwntRe9YfEbCEdXMa7GQMB2lVl0fWwppnzftGG4\r\nFOBkrp3p7fb9c0Q4EzJbOBsubVbYKOOKtqsYCX4Ew5NcPwC68iLsN5h9JzF9\r\nrl0gpArs+NlK4674npkbiWsGah+9qbN8CS4=\r\n=ny7Z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f0447352d4b8883b6476b5d1a260d4ec9cf2660d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.2-beta.4938","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.2-beta.4938_1669985065772_0.5470497104619576","host":"s3://npm-registry-packages"}},"0.15.2-beta.4941":{"name":"piral-jest-utils","version":"0.15.2-beta.4941","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.2-beta.4941","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"28164abaedadaa42903bafa03591fdb291143c93","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.2-beta.4941.tgz","fileCount":59,"integrity":"sha512-5BBmpTTi/819vM0HJJBylUc3NxDNPKUiMQkVq4EP4SBnkirVvWE8/Mb+EHUvheHgl1P47sTg4nz7m5iXsISTdQ==","signatures":[{"sig":"MEUCIH3cZM/rhpRg9LLpp5NTkFKt0X1F85EIBXWNRVSNpSqXAiEA9rfphwxtkhXYTL+JiUY1BpTzTOJ7HcUZafmfQWIK6UM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJji2FcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmruuA/7B7jMiYUJc/Mq6+icTGPr01fY+6pnw2jWRjAo2WzfFpeQ7MIV\r\nVwrM6zhB+EmfMkJ7+0vwRXXHX3LbSK80VXA6foTkFVRsc910mkQxaX1Cmcnl\r\n1NGWtUgHzOmGHPWnrTzRCtKjsHKE+JO+oPQB8ejcTSlsBgU015SP2aJP16rO\r\n+9Cop9xtk0cfIuc/IVFNHDiUlfj7xbTKAwHF8Uu1nF+Pvyl6kkTu3Z1xWs2B\r\nE9tF94eX9qsB3j8tCNAKgg/pHMtvQ2Tl87vronyluwct3alGJuf2nNslD4YX\r\nksOJQr2dMVsLxDzCZ0JxaGzJXuSeIkdaV+S4W4+YXfMpmpRTWZnrL69H6SuQ\r\nGusjDScmUTt0lehmPWoS06JCVuoRkDlJ53IqMDpjw2Y7N5veklKfS4+njSmQ\r\nsX6j1embupVsBdoBW8GIaJD6areK2iDwCzL9Pqj/X8SRb/GL8Q/eQenUvt9J\r\n85vxw5HVfzwjb6yDyI5x6UbDwkxiLuvUdKdQIjGep8Ntm3SE53ffdKWTm4zB\r\nYWIGcoJl+Qj3IaH1u57AsJaSPAGjwOMRXxSjMr23f3irUMUfvvlZts3JuV4M\r\neFatLd6TiNZdRdl564FN2ehQc7drHiurR9K9ksiiECpWwp+GeVT0ZJrgQVSi\r\ndUnYo/QfP4vK9JY9RdkO1Z9r2hAp1L6Fg18=\r\n=wCSl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"4e71a1d41d662d8eefc520b2d9718d5d49e3df20","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.2-beta.4941","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.2-beta.4941_1670078812128_0.05120264109007944","host":"s3://npm-registry-packages"}},"0.15.2-beta.4943":{"name":"piral-jest-utils","version":"0.15.2-beta.4943","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.2-beta.4943","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2e057eae3d5a4abccb9b0267e861019408923bcc","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.2-beta.4943.tgz","fileCount":59,"integrity":"sha512-HdjO/bof/WSjMyBqnmS8RxaSV316o0LON7MMunuIj5cyGrSA5RQf9YZhAAl4oHWighNQuZZqO2aT1JLbq38m6Q==","signatures":[{"sig":"MEUCIQDV6A+0YAOhiTshJZ+kocWDkhNQRWqhVjmOkL6KMCfaMQIgIbgzK6OqfrXNW59kbHcrmzRnxsT3VRXJQXzOb78qJio=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjSxyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq59xAAoghA4hiQXWZJ/78UQ1x0Jqb97vZZhWnEmhGC6HnsijniCnfa\r\nmr1Opuj/f1KPSeUDC0IlMjdyUoWHSHD+02ihhFrGLychG/X8FIjQ/DaL+dTQ\r\nX/ygsanv+Dd7hxzwWgzQ4MCI7sKb45GIHLEGMkGgAusrRZl68/xvwZr8LKNR\r\n0IG8kjedlX3pTQBcydRazkioWn4AS7B3W+T4nP0CmWbWlc2s5lT3ATrSHJ+U\r\n+lOk/OH/y8FrEdfvfALwjuyHVK/7mBdvCktswcHzZDqoQgNhK3B0Ce5+ap5h\r\nHN9Bgpf7t4xUNdWnTm/P2qGu+PehmKjcZTGVZKKDuB3urWhddarhRG+WDCmF\r\nxG5QE2lXRS3fgUEehn1A3WG6OVVIMJ+H91dP2y/uAGtXADXhQ5s1Z23hLFZs\r\nsCD8Xq8ALH15KdSAPQk9ueMCttaeHdHy5zFbxOiGsmMw++ZT/VvBmR9XJIhE\r\ncuvoFC+QBBns27xbSpptYy5ZsD0EvfwDcZtaCao7b9Nn5HsFbSJe6i58cOUW\r\nW+5b7AUetRM+v1m0U6UDiAA03U8jnmGIvTMYwbJBywC+LPEFAYvOIMWNcPRT\r\njXTDJjnA/3CZ75vvtMWt9Lt4mzIH7rdUkxfBflSd+DfqgWDg+LoXfXCOwWvv\r\nwArAvY7S6dQ+S064vGxDKuTTsShd+/kG1wc=\r\n=Z62B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"af611d19717d71e6fa2504d040d59cff858586e3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.2-beta.4943","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.2-beta.4943_1670196337970_0.7576881817046457","host":"s3://npm-registry-packages"}},"0.15.2":{"name":"piral-jest-utils","version":"0.15.2","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.2","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"dbc46b0837f88a830895ad55772f817fc66ee7d8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.2.tgz","fileCount":59,"integrity":"sha512-DJ6EYs3+2LH8w/UFS/TApFcYN05mr9CCvtOojoW7Efz5C9J2z+Tq8M6wLui0AAhmit5urLtG2uVJXqnJuN4FqA==","signatures":[{"sig":"MEUCIGBsrERtJGK+idnmVADb6DVzqyh80v7JGCZUia5wJL67AiEA9s35B6eePBU4SVKTULGW0XhoUFumXsR3XdlZyt+nXw8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjjUWHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp94RAAjRm34DZNIt49WUBssrwSUPBps65f1ctMJcZ4Z3DLOyWNxf3b\r\nwXoLyoob5GUAxjwuAEkg7Iqy2pKkWVw+YNG4pZ2NaLn9QJUjlVtTf+f8zRSj\r\nfS1b842ZLS7aAKPuDYnStLct4Cpz+zCA/cXJhqU50jpxF61zPaR8U71m2Lp+\r\nGsvKHKY0J55As9pXSD4VXQozWH4OjB54DjrACGFZ+6ZBFivjOf4n3qSw7Muf\r\n7rUmP4ELVY8u6JApmOblmugQLbqRtDyCUvDDTSa5Auka5Jl+vxSKDDZm1G6X\r\nsb7FrlXOxgHnLRJXu+e5tAG82wmKR8rvdhdEJl/2wfLZSLPrVmR1t5uamzKe\r\nJ5grwIGtKy32vgLDG0QCoAna0LTI8x7/Injt5x/ODfIamW4Qpu/FabLIg1T0\r\nQa4Vmkl2EINJH74XYoOkHAxHHvOgR+b6Lft30FHXrWcH8F3dw83rQsiRV1tj\r\nTwC14GKlmbB7MbL8San6aaVY7bUlaUpqROGyIzJWfcG2XzL+Vcp46ukDeAyX\r\nelVFduKxHuYUi/FFQYffb9sNhzvpG/Fq1QNDHql1IJa1wp5bRmml2v39JlSV\r\nmBecm80OozkCXmpROH9FVcOzbw0V8EgDb5//KgbjTQ5PSvzYCQd+zBu7Tk8d\r\nXCh+7xKE+XamVKxjBSoWWwOXyLioJWHzbhI=\r\n=qrZO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"bc75b95ab53edf3f6bda24bcc7682be0c578f68a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.2","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.2_1670202759201_0.03965766414513783","host":"s3://npm-registry-packages"}},"0.15.3-beta.4955":{"name":"piral-jest-utils","version":"0.15.3-beta.4955","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.3-beta.4955","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"904927e808a5ee037f88ffa4c7ba8fb57aa06477","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.3-beta.4955.tgz","fileCount":59,"integrity":"sha512-LljM6Dcy8i349u5+MdD3XeD61QRB16yb7/Ic1z3aoW+o8T6u4U0oSkuEx1M9OOnXnvEBypWQs4q4nXji5cjgRA==","signatures":[{"sig":"MEQCIFgtoQjP19gplcng4qGigECvGCbKNjVF/WCb0LnPBUa+AiBkQrl8oYTGA3Pte0LtpyXiNE5MRhHBk1JpnVV8r/BQTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjk27vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLAA//axMTXlYh6z/C4Agmfed1T9M0Eln+ta4pj3EMNwJtmveKn+c5\r\nTUj4KwLAw8CX/cZm+eLUPdHis5ufjg+yVValBygkkwqMSxlxTJf0hgGgnEzm\r\nlyighVfsQMv67xQouhwfSyO+DGA1vldO/vvBdBIGUum+HgCoj2gc8MOfx5UJ\r\n4J6Vczrdyut98ANmfYef6TcSJepjyUae1ubD/52lNsMKiIH1tI7waA9u24aZ\r\nGDUqZ3Utw/aTEiNzssuOkKW1DxwWyW87wNKW/uBLEsuKqTVxWsqiVdlMBh43\r\nJQrMNF/Vi7f41j9wGx/G6RDsU1ZG6V4CqDtgnq1JsYb9V+ilTdGzMHmiEdta\r\nSFT/2Zhf4jIjiYNFnQVwRsVXmbrdkRDebUxYgNkTuyFl56NkKbC99eyWlVLX\r\nef8Uzghnkwc2P/rZ4RMaduEcRnXJpHMvzMtXqWukfmjd+6VRyX2gts/ndQYW\r\nYVPPXutUTDzDhK84jzrV1sQxUQDFHBQH+qivr3L27VxtX84Cnmyh1Zky9B4Q\r\npIOTOTOqaU8k1I47HQDTpNWqP0I4huvZmgrOEC1JBlsmnHwIrEEq5xrG8lmL\r\n7fZvu8ppOA1cjn6lvHdp46RNUaZYx+e34+6/l3aOgHfgbu9aIOQE4wO+cv6l\r\nvQn1m9Y12cSXczirNSQKQXeiqPWhqxbHie8=\r\n=urSW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"598563720dff2995e2ccc4acb07167554ce788d9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.3-beta.4955","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.3-beta.4955_1670606575658_0.41700569188218295","host":"s3://npm-registry-packages"}},"0.15.3-beta.4970":{"name":"piral-jest-utils","version":"0.15.3-beta.4970","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.3-beta.4970","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"dc3f0f93ef997580c42fbad20f1cfe4c67e0b59c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.3-beta.4970.tgz","fileCount":59,"integrity":"sha512-izZ/WVCHahjsKUGiEVh6uNTYinVv9PqjDLbWA5KVGA+WIpM0zoVh+ziWFuJhsRwYtZ2xsdgEzWG3DGfyYpE6RA==","signatures":[{"sig":"MEUCIF5luWIriPcfrOOteXnNBPvjEl60lSUTM4HU5En9P00LAiEA41Im/2Tm/00KOvcJlZWEHLoylkh5n1nLM0kgzi5WbC4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmF+bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHeA//dL5vJqxX0i/RA4ouU4eIskQ5r/OmTUc6oTkV9gkCMAtVaMG7\r\nN4H6vzWLUh6BFD3KYSHU/WbnaW4NJZAs4lGoTYRw23q/5sg9bnBU3Cn8J90A\r\nJI6XhAX6UNayTdPeuMzKQZA01l/dGWegCxVnKo6vx49SaPABz9xJdrrIYikS\r\nXMjKTVKvDIX1NhW7sfdyiv2U2CE9jKtE3FiMhv+yVmFeXV7gy1K49gyfTZGO\r\nbcA/8EnJjEIs/bq85hfcUtyPLgHUt0iqHy5U+sGt+kNK87x8LJEFjbjcNIh8\r\ndor7mDP6ulHTFaHOwVdXRXZ+TqSlThTAQ1YWcSHOuuvBrLAWp61ByAB2kc+W\r\nT975nJ2knh7OPih8rlHtGaeBEHP5gYi4/Vtf+b3g01YB2veKtPGXNqNSQdd/\r\n+WusHqPYV6qTOOdIkaaEuRNiKoyr+rX36uKz3cePyJWMIXOkJVunVIHlQAKI\r\nEubKoQAr2+nsMJ29194af4BVQO2zusvMhS37H4UE0l3a8KKSROZwqfLHIE/H\r\nZRHCtu3p9hUa5U35xpokwIQ0j/EN2V3Og8hxp1V040gHzWf/547AzksBFyEJ\r\na3kmjdT93bA+l8b6vgsjcXzl660vGy233AYwcY7VgQPMO+SKQk50rJCWF9+n\r\nSs1PTF6v8D7ZQHfPOZGI+57JEUzcpEO1+1U=\r\n=rXT7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f82139bec739a47bf7e7194c5e075e14e6064a8d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.3-beta.4970","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.3-beta.4970_1670930331672_0.6029003365795649","host":"s3://npm-registry-packages"}},"0.15.3-beta.4975":{"name":"piral-jest-utils","version":"0.15.3-beta.4975","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.3-beta.4975","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0bb70d0d1aadd6cf3e5246aad22c2da45424b710","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.3-beta.4975.tgz","fileCount":59,"integrity":"sha512-WeyFh/QhO44VdrdIFTIfXEzR46DqzwhTCAEF/CVEk94xUjQsGz2Iq0FGGIJh/UgX21wMHckFt/CKhdzEXRtxGg==","signatures":[{"sig":"MEUCIQCOeqD2NmiqkC3Jk1bAWFHde5vJZvFFpAa1x5/60uaZtAIgB/bBCAhWnLJAgQaVbnEho4pjunDr80a8csDRUhhejz0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmLK/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTKQ//Z/MVT4ku8u4/cpauf++ZUUm36BePYm3w871O9GtB/zXMsyc/\r\nTcrhbTGdP/KE0ojhyJAeNuBmIxuXE1AJJgdpeb8V2Xi6OXi/N5b2qsGoHR6i\r\nIGIgctnU92f9HXK5cpCZAEwk6Wr40PFHxGOV9eo1VlJx3gqpUxbv3rGJpwEY\r\nhpfMlW7q9trA43e5B1DRnhnxS4Wj+tvHnUXpT6g7wleglh28DzkWuHK7SAUP\r\nbARKezCLJsFVAMdyZAFx7jM7uqzCYMdoMHdJu4GI8NzgAJz91xfYSLAx1udM\r\nGTLvvikadm+nC9st1pLkmmxzws3wwlCHCCPTgtz5nEAhH9PvEdanm1z/vGsu\r\ncojeiXotnpEGP5fc62pxRAM7jRrZr97wExaNBeZ2GjaRL8iSN3YaIB/2HACG\r\nuehp5yykHgG8bxxOLOlempyBuHEtiUtqZ7bPeOltVRC7Bkbro9IKvWJgejOA\r\nUJi/B+efN30en3jO8d1cLcQOEM2ufltcbKQSkVXjVVxs4/LA3T9/ImQSdqrV\r\nc1fmcsfQNeBfAbOPIzCYXeqBI81xcbZCQ12FXOzXns/dND74cwBlJtdGBPa/\r\nPpfxo9RNC3WtVxWSEbB3QDvYLoXi2sDfIp94w8k3U5zmgzSPZ+ORZ6/bMtAU\r\nU8hdYvJhrrQKYThpSTMe4doiH7XINlGSCp8=\r\n=Kb4a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"5cf09cee48aa723ebe3fa9e48a98ff118f3cb6dc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.3-beta.4975","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.3-beta.4975_1670951615095_0.8990712376377723","host":"s3://npm-registry-packages"}},"0.15.3-beta.4989":{"name":"piral-jest-utils","version":"0.15.3-beta.4989","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.3-beta.4989","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3bb1587d2ff770354dd28c9fe7dfe207000b7a41","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.3-beta.4989.tgz","fileCount":59,"integrity":"sha512-V7+XIt2jJ1EC6kc2umPwO+Y0dO6V1tJmxpnBrmnIdy0ENAyAKDSWmAMXg7meMiwsP2U2aJ1wyz/cz1PBj857eA==","signatures":[{"sig":"MEUCIQCrHzo0eCMxVrCUp00WpE5OJRPLVsJojp4LqTci+jH5awIgCfrC1yFlj3MEmfHr6VYD1JJn8NLi/a81uhq1JVTcVMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjm74xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+1g/+JO4ijucRMUwstbdbECddQtlMaYVYroEtnudq3L4MQ3FfKwTY\r\no7HAdkqmU9OQEkkJhhxQ70JAVvX8sqwa8VbasNXJKJvApTc70QHGoLqJ5+oW\r\nDAD3BwjdZKldnABHPOweCixaSxr5rz0dcYuxndmCDLK4j7otLroEUoh8eMzR\r\n6xArmskydDG8KsbE+BSqc8NYSS73MT8j0bwFVggdjNgJSpk0gcLl1EWSW2Mw\r\nTyf++G7cNPJobIGUY5EJV2H+bouBasbsXA1NyWeOcRkPCApLtOQg9NE1opHx\r\nJMIoqDLeMocbjrMXttoKntMLxJGY0muDK33YLvIPAAaGXZb3LlGs8uxnvPWC\r\nCB4N7lA2bJhEmigehpj6eiMUVgfRHdxSg+9pjHdliba+FwTaiv472M3Ma85+\r\nOQ4/PzWrhs4Lty55r+57M/QTO4PTSl3ORnYR9gSjxZB+QIVI4tj+hvKfv5vv\r\nMWKTryBMuNRfuROmOna6g+VYYsa5CVFHDm9Ej/ZgX2kKAtomeZqPy3aX3xI7\r\ngG8XY0NoF8yGRTCaZ9Y6tjdN0GvogTV7h/5VDdMKjr86cJI52aV4+2MeLVDY\r\nXn8y29kCIrugf4WZpuL197CBpE0aKLs7FWZi99GeBwfkD5oOhmhpYivoBOkL\r\nZBvBoSJS3FUENJ7ctL824tKbBvljGKZnbAo=\r\n=4LS8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"57af209be93d79b5bbf2996f2c3b55fdd8e1e2d1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.3-beta.4989","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.3-beta.4989_1671151153517_0.3659404251207461","host":"s3://npm-registry-packages"}},"0.15.3":{"name":"piral-jest-utils","version":"0.15.3","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.3","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1c232f3019e7a5307bb2e5d8c13a99c5d5ce0451","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.3.tgz","fileCount":59,"integrity":"sha512-GZ2GobyMw23XtTJnhE9jGLHux6Ug3qC9rqbFBI+JRpO3jXhIoKiBPCUQHExr0zAsPeNgATyg3e+aBQ3/RM6aHQ==","signatures":[{"sig":"MEUCIQDfr+m7apKZrizk0EMXXl2tfsGakvaBUzwmbvLq8Fv0TgIgGBpGWhJAdXgAWRWPWKX9qSHW1QlOZfGjetiPa1Q7RuA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnJwpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPdA//f1MheXmUWAiEh9cj0860c/GpZC6fKuD7A4Z4IjEqDwFkrtdE\r\nqNjuMMwy3+Aa+pNB2hZ+eO+99k/RmFbg/SnKIjXvkTxxarbVdl0tLoBs1c0T\r\n6dXvHJCcYr1fLste6QrSSPrHsgoNG+F3tT31uPRK109lkHE4Jr4AgbUYPfFu\r\nBFzNCtSCkdMf7HPVQv8QgaJiMY7ORrv8WtE5Zdi+90jUBdVsJj6M7V6oFeB2\r\nKoWo/yQ6TEERTnIgnc0UPQew2MeY2FIoVAKgkyhxV2wZ9rg/b/1qVbymCaxD\r\nFHj0XyC78ahLf0obdkhGcBb0fCxboOhvJvc03ymw4+iMmwiRdb2t9y0ovutS\r\net78ULAtF3HY/TyhN7YZnBfSrBS7cLLEBTVv8BfM3Hj6MAYeZmgr1Wkno+ak\r\nfgJS4IqDO3ju6NvwWyci2oNSfPZrKmYSzbBwSqrGSCztd/gVFgW8hT1hB6Ms\r\niD5sJIkVc69N71fPaYT3szZG/6XL9mZl5lpwm+3Ol7+FBLACvBFFKNMFMWR1\r\nBnL7/M/lg0DM9YhgnMOJrNGoPvrGATuvNds/Qr6oopiZNTUCXi9iZOBwSMlu\r\nd++rCAHUPRyfbpuPyvJhPes9uPJRutD2QAgok8hKBrOpxaWaBwBksu6qJNV3\r\nsO3iIYru8WL1irQO6CKv4fiSqMotqSCifEk=\r\n=GJqD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"14b0f1a34c86dd85bd66b66ebbca9c1dc5eb7f59","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.3","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.3_1671207977185_0.8554625104165572","host":"s3://npm-registry-packages"}},"0.15.4-beta.5008":{"name":"piral-jest-utils","version":"0.15.4-beta.5008","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.4-beta.5008","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"64e3f1930199e2d8de563baf77154698895d439f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.4-beta.5008.tgz","fileCount":59,"integrity":"sha512-G7VfadXKm2XIAA90Knv6GS3wRwLfLvcDJdLHL4zzsZZXN+yWrSGhu/FLKE5Isf88ApX4rei2iy3wUA3rCRdcFA==","signatures":[{"sig":"MEYCIQChjwEQ2miL0oB6CE6/mrxw0N3vECjYejZHrs677VrIWAIhAOTk6t11XphuHgSOh8T6QyNyMLxIpcj/R4Eli2H3X5Ub","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoIyzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmof9w//eTtXyh3fT8cw7F/kLg4MIHxdJICitmSHX+t0RKDKmPoj3iTf\r\nMYkYS9OskkbUOJJGGjqg9ykLnxFNqsaJ5dUlZ8XeEQO0Mf6mCZUTqVYA1dgr\r\nslak4AThlgyan0LOdI+2rX+qaAyAzBxtiYqCNnDFBsFbY530aEf1vU7uYYU0\r\nehD5SQRJVXA8PcKh7dzOm4I3v/KODkPTMxpLCRkV8ABQ6JWcng/vREjTW+8+\r\nvkWDrzIRp//8R39G9L2gBw1wdnwVTiIBsy+21Ae8r7E2fLt4Rimnn8Lq925R\r\nfg9UpQwb3QoZDEM+DNHL73/HRAysfgk44Iw0I7iQnpzJEqznxwE2kJ5LaBjC\r\nxiKmV7gMG7n7d8jgp8eD0tfA5CLy9f+cc+HYRM21TYvggCZoXZ/vFxa2IGd/\r\n2PyDkmB2aY/vQtDjat1XpE7xTFSF1zMQHHYZoDfQD2QyyVgtTTc1pFojyHOw\r\n0jHLZf53DSvrlCqpxCx+/8ucYqAGucg8t1i7IM9IQpGnEgSDoYIH4KeWMIW6\r\nukXYSFgmbhFbgR+7namaN/AHXV38gcRMraDnRvRV3Q+rbpPLJTiiGigXahLv\r\nnW7ktRbprMjH26ieYZSBpawbPTx2+nRb9X5FrbFlEU4wuVjFqlXJ/72V0c+c\r\n0hKSso1SjQdt1UemjQvK4R+v2KBOQYIPc+Q=\r\n=PJaD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"5f49f50dddc72a067e51f83c023aab066e5479fc","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.4-beta.5008","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.4-beta.5008_1671466163675_0.405739215460883","host":"s3://npm-registry-packages"}},"0.15.4-beta.5013":{"name":"piral-jest-utils","version":"0.15.4-beta.5013","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.4-beta.5013","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"171b68c3b78a6d8c215606f9b3b78eae75ea165e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.4-beta.5013.tgz","fileCount":59,"integrity":"sha512-o8Yb8groguzjy0VYz+8jyE3f5YG+cecA7xe7Y74C1CdMh9NUrP9Ztio1OHo6anHUyZO77PHf4+wA1UZ8M+85yA==","signatures":[{"sig":"MEUCIQDcCbIwUXfHHm/zD4cz4baHX03mS3oMRZb0lbpkWQI35AIgSTR3auHZwB6/1qyr9DCFGCn8pDBVO3D00GcN5HXvcys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjovdbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLpBAAhyh+K3BIzrPGaGfZMWxedlL6x+c2MTFU+fXWdh3O0FiGIx95\r\n7uC12bnZG+ImRL8rn+OnbkeKEuTfZrRigwIy+QEb2QaoMumP5ejnoc9xtOUr\r\nN2tAcP0vMNFFIu4nVcCHsJknaG/ISf2DApGt03qf7VQyXZuRANsH6fr3QTfd\r\nBuihEbFvkbSbYYezAxMyHUnZfxIvdGkUbEr11Q/R7lN7aH04egxmCY1DzJOs\r\n9pYJWmzvsSkGOLChCUKVkCAXa6j/J4zoU6dDcxHVCnJ287mqhQaVezfBrIqd\r\nsmMBK21+oBVpZhG76GTiWKlzIbb2bEGzSjbGUvPBzGx8Hwb/25iZ7yA94fFv\r\nunKvBZM7je3/NgyRzAaRV5ZI+S7fgQ2AvXbxINdVHczKYxuGwkSwUuTsLJ4G\r\n1BMU55jrdmkyznTBfg3RQ5P9h3DXVutxoAXknbAJqzFoRk2waUQCi/b4HiL1\r\ncWMjRq/CFmd7Zz2ngTttutdx9aa6xPcenPk9aOzWRs8Ly/CelaXPjjVyibtR\r\nQZUMY1aEy+6Q5DU4XIUMn1Ss94xa5K2yxW7XfSdWEh3NDSzqcdzJhx1+LH5c\r\nNDMFTwiZ95BjIPmZT6CP0tz0oJ20LM+/J+7MQJLhyg1E3Sj9F0ocmrLMyurp\r\n3cMjaD74O97sFtrc0uYlRlEdRNOkIvwOnGo=\r\n=vI5W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"58a5f43b7d8f4ed1bf34b8cf79ac6f38de998419","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.4-beta.5013","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.4-beta.5013_1671624539223_0.4535320109733727","host":"s3://npm-registry-packages"}},"0.15.4-beta.5015":{"name":"piral-jest-utils","version":"0.15.4-beta.5015","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.4-beta.5015","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fbe6dcb9a2d707cac08f6a6cb6e4d10d6c71539a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.4-beta.5015.tgz","fileCount":59,"integrity":"sha512-Aco8794EBZ+/bmY1187Kyp4HgpeIDEVHmvadbscWxN9fBWkmjmuAccHyGnkmOdPZVjTuq2Rmq/61NOj87/WS+Q==","signatures":[{"sig":"MEYCIQC4kKgFtzsr/Ex0nKl9EcEbvszOsAhjKEV5yaRqsgyrDgIhAKcEhdl2vWBh1MV7HoFUvFqKMg4zPf0ZDBnTkyulUsZW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoxn6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmok7g//aGP5cDpL765SkYzhk3EeCSil6Y81DnVoPqx+uimMuOF9p+Po\r\nxVtZbx2EmXPT6sdTqp0wQOlZKP+EdzMhBbnDljbldZJmwkx0/I3OJenqZD1+\r\nRn2k/KhQNWwExNfZuvVaxvoOTOqxC5DLRIKYVXqfFWrcLhVmV1dDUjAp9Fot\r\nJLbXovkRWQEPndPZdNJ7pX8q3btGILfYAZCmo/W9vqbO2iYv2jbQr3NGW/YC\r\noXkcyLdjIWfahuXx4NWxT+o4k1qLEmLpcb5WZDbdu5eWPpcW2SSd6fW/jOtO\r\nhUzJpDkpYyiaSZfnxy/2U3j8zfVpD2Ki1C6lSO5cwQZtoJtYSZ9Vlc7E0H3M\r\n169vjY8fW/MvChvGiNZO+zChej8ysuCQr1MFtE9+avaozTwyADWo35t0Owr+\r\nZqce3uCRraCQJl0bU1R3EYBTNju11wDjMkb9T2hKHmlF5SknytQGKDWFMvyA\r\nonycaQYuxu6I/xnnmfZlOX421SmpXXEAIuRS7VxOBA3oCN6W13kb1b6Y3zAe\r\nwdtL5vB8cwt/bnmCJi4jm1uZ9OirfMHjTPkMMkvFLopj8vZGLthMnZweN/PT\r\neKhqKZgMfln1QwlnRwccq148xhys3k3Tk5qwwcubiOkGFD4kc9C6MBsKYUO9\r\nPdfysN/PKCp2qc3GutaCKHzr2R0ziUqLZKE=\r\n=BSzm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b82a02274c524dee34c75f51744de1e1a1e43b23","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.4-beta.5015","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.4-beta.5015_1671633401804_0.7551688752073482","host":"s3://npm-registry-packages"}},"0.15.4":{"name":"piral-jest-utils","version":"0.15.4","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.4","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7f56a74d765d097fe245f37b7aa03ae467c5d9ff","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.4.tgz","fileCount":59,"integrity":"sha512-6bo+V7JYJ6DIv3ftbas2EmIM4W2M/hhrASgkh4F9ypTBqmbuuWj6n2FgE3TB6ZMs2S9IFhXv+gDJqWs8XtN/Wg==","signatures":[{"sig":"MEUCICmmm5tZ6B/c5dY199bJNzM8jM2MSQOmiaH3E05VnzxjAiEA5dzOXBCzpLG1+1jMSL+bkzDBGK1qxW/ciSDuUfqsxDo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoyybACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpPCA//UZVlWfoLcvacHG3y4LesjX09YOFyU03IdxmBk94XfclPv0CZ\r\nb0k7hfwNcdHKVpHj6OogCEo6vDtPn+hhRqu77wK5VKhbcqyvYkZvwv9/KVUi\r\n2Vo+lzRgu/PcCqeSplEqQa3gIy7RwlQROk++ZmAMcOfMUPMPuOrdprdX5FmR\r\naLITCh7OVL72xr0v8rIYXpkFqXFxSbDd9G6cGziT81+C3ftkLWSqzBMH+fui\r\ndiCHhN0WemmDpI59jtQ97CmdH9tQL25SndsKdyrXdSeCV3RL6paWkbgd6YYH\r\nThLN7P/TytVopIfU98UqWigbJY6juhW1EkuZQefblgVfyIc0kfZEyiWbjDg3\r\nIYsbcJsixLN2abD9oF4JqAMxiLBC5uEj+qZ3XgTFaR/xZ40fAfCJ7JiNEo+B\r\nf6WKKgHGDdLjrco6lR3ct3jDSw11kjBoJmoVH94QNYVzdIWAJAXM99w7fQZJ\r\n282qkQvB8sSgoRajOQ0IPoqFIamRIq/v/CnenjLXl1qeLma0xPZN4m2b/N4m\r\ncybi5vuQB2jLEPb+dgKUvyi/QHxh89i3kmj+4iu5xgqBgRK59Is8nHejmBzI\r\nnkQ8Zr3LSjtawciWKKVPik+Q+n2+8qj5okCm1fEs9h51qLzQ7bgBp/CvMaA6\r\nhaQjH6NT04NaCB8QXjSyiB/NQFlwQemf3Jg=\r\n=AvU9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"dd411b8135d77df856bd8b5b1cd3b7aab7366ff3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.4","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.4_1671638171253_0.08427580181068284","host":"s3://npm-registry-packages"}},"0.15.5-beta.5022":{"name":"piral-jest-utils","version":"0.15.5-beta.5022","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.5-beta.5022","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a3868ecefb1f158a24328bfef159ff234005c415","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.5-beta.5022.tgz","fileCount":59,"integrity":"sha512-A+93jjH0YzTLydzkks+/xOGe5ZMx67Utg0mHZe4zcIHAp+hyTBUh2+7cDTRkP9T2SA3DlCcKAIbhE3TpGRJl2g==","signatures":[{"sig":"MEUCIB2RiFiPgtAM4kCAyQ+2mWubCvWWZvBvTSvMYo43tu5dAiEA2Y6/kAlNsPbTXCXeF9T0rB9wCiIG9bqYXFcd8bU/cdA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpLumACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrzMg/+MPJPlrn54uTc5w7dxyHwCMTpuoOhyadeyOr2lt7dN4EloBhC\r\nUrsai97ccNS7BYZphFP4shqNuhr5IQuehRTZzz23Zx7YNJdBB3OznQu62Mcz\r\nFK1Kr5EEf6UzwiYE1f8lHL5AmfiszyUeuwJW6reHDKsf9qT64s9l+cWvoME5\r\nGFaU+iPMDpFbH/DrDHQXGrJNtFEK4dJol4TAt2ofFyvd4Cfn/crTVY39zdPR\r\nCkz2BaOXdv5JyowKhTppVuaWPNUbXBQpJfX7PqVuQIJeKa9IHAsns6wvdK5L\r\nL9CUEERHsSB2UZpcKfUm3C4NRB5inaAekQ2+/1oRDJDkx6JDob/bndjDnFbY\r\n5n3447+WQnr5j2wFH0r55Lu+ztYpNDRjOLvyIYVsFk09V2yiS3ops/Ra9oGg\r\nNAjFtTHTqGEXxbPle9zKm/KFFx00AeDChUxDp26kO29Kwo+/zCAQw7Ihwrb/\r\ne3XGNFA2PalEQX3j/w6u57+NJdOTNlXac/xtfwyGvWhLal+FHkNdmVQWBIR3\r\nu3uRWpQ0yB4rEsRhjYhCyln3PRewi3bAd8wH4kKZ0h2RIge8DZigXX2A0Twk\r\nC2K7Swbc79zJIVj2wSwNXzAcFHqEx6zA6K+p95p2W2NrFi1Isnq3TzR4btrc\r\n6FXtIEdVjHOzPRVRm7mR4BHv8whJG2dnVCI=\r\n=+VXB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6a7d7676f6ec04815529ba9a8e4ed012495a85c8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.5-beta.5022","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.5-beta.5022_1671740326101_0.9026644251963925","host":"s3://npm-registry-packages"}},"0.15.5-beta.5054":{"name":"piral-jest-utils","version":"0.15.5-beta.5054","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.5-beta.5054","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"780828537992cc188bf5a47d132c16728f8b59f2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.5-beta.5054.tgz","fileCount":59,"integrity":"sha512-wwpcZ5WY0ahNvDXcVj1kJI0EY8VXrZL8qflHbpm7iUxCiHBweMb+Yseg5fhyMKT4x6tAsDSiGBiBifbPKft1Sg==","signatures":[{"sig":"MEUCIFZnyCnM/guFBkIc75YSyX1UHYFn92GMKwwh/pfQih77AiEAraU1aAflNhZNbqxeCJm452J25LsCkkJsaZfM9++z9jc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxSItACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrf2g//cob7wiJ/hH2xY+TzxVxrSOJ67xcWwiFTIyEhOnx8TUgb3qF+\r\nUeuFUMuHWfpLoPG87Atw/a29PT2wARvzjmgFrJLR0h1Wky+Q5eq8Ha79UK+s\r\n3M+BRZ7dYvKjxMtknGy39/zxi8xMB9eMK1xDvD8bXpPC+aa6tmFdjDUSgvGl\r\nMzX1+TPoDipSVeZoCrU6+S3XdMT/X1X0EhCxUdKCpCLThBMSASX1f4OcCkVM\r\nDIXS/EstnX2/SzmMt6V/iSL7fMkUlb4MMeKKUytwbTSoNX8CzYXwOR/xeA8p\r\n/WN1b6edB7E+walOxqLmQcg9/zYvpjpaQV7zpTzj4U0c9d12jAIjVt1oolll\r\n/c0EXezWVvPLLvqyhHze6+GvGRgE947OnjvIkjwD4Dm+LKLwTH4u4r39Z5fP\r\nU99nZoh4gqjY5fDkgTaYBy637qc4Ihrsq6uo3EHNrxLQv+CKUsqyugU27VX7\r\nwuMmpTwAFAkZ3+qC1PUJ4K3dnerwephg0gI8ZbLQakYbI3Fq0n3eAsgAiiQT\r\nibi/mo7+QyjzwfGAULYPuLq/35KubdNsSGQ8BtiNKpXZac/Mr/YlnK3w9bxm\r\nakiFkAbWKYSfyZcs5f1rwJ6Tyw/32N3Wr0rPYDKkMwScdlKwhmlCUxUjlAyh\r\nefwRgHSvClmSfuuQhNXfSOWTxukk+2eGqQw=\r\n=8NZF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"88a63d822efb26c0716e9364b6028b806aef1776","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.5-beta.5054","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.5-beta.5054_1673863725786_0.9579386896358038","host":"s3://npm-registry-packages"}},"0.15.5-beta.5073":{"name":"piral-jest-utils","version":"0.15.5-beta.5073","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.5-beta.5073","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"332c653a570d0821e756ba828811cd71ba875d40","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.5-beta.5073.tgz","fileCount":59,"integrity":"sha512-E4mDNbt2wyLF/zzPd6bU7BjbqaRsF/fIFDW2NENTX1kbx86y5GdJcLXKz3vF1emUeSh7QPs3HIjNPi8jPY5pfA==","signatures":[{"sig":"MEYCIQC+MofSpSeW1IHEVcIWzibxBlWdWhBOlIXbijMYpPV2HAIhAPW8h0HQ9ZogDW4F64iUK7/Ag6N4TeFd03XEJY/bJqGe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjyduxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOBBAAh5NspXunNK49Bmp+33KUbGr+xsMSx0inad7pBR/N7pSaocd4\r\niqKtZdhM/hr71HZmfm379MZt7jB5vfscyceiQ/L3p7Kle9H86O7acMIkc4SQ\r\nniJbU8gH1ljAm5UxGM/FRt8t40cdAdldUCLZ6z7QEpfTHc//ICfNJ72ZYrEw\r\nGMvMQcAtZ+xA3LEYn8SsPTjopl9fY+cks4AuspW+I8nEpe1uQP9D8b67phIT\r\nFt7YSYVTxMzXGGJymlT4lkJE/EG3wl+ijjbltiTVcPU10RQkj9+g62J2RF9I\r\nwTm2VNv/vjvIvPX5IpRylRKUQgUot0Stoa/UXgvLOGnodGJJF8bvSaOWP2WX\r\nmtGLXjCZiisVjDg4jdmtlUYGHPoNzcDQw0I9Z8TqPW53ZK7dsDkRh7mx5swZ\r\nHXiIr7BOl4axqpQ7jLTKRlj7hgyY18QYSRiIp53YeDdbWyDdD9pCRrkh/4GC\r\nsyZngCmfh2ylPjsehvz3OofpYilgOHuPNPxYKly2R29p5FLDZheA7nNQj7dS\r\nYnD1b68L7wcwhvS+mNrTC49+wyhtHj0vEBJdKSkz6tnsDIn//IaYzZdi7C7Q\r\nDbCvveTR7VmdDackYOG2d3wM3xt68Sg29FchCYwQ9XqhWEep2UvvIW0Q9P1t\r\neUAkU77RbEo1G8LLhhtMFsdxNrwxNu09BeM=\r\n=Pn9J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"40f4b17bd2cef4cdd5f38d71bd25d0459f043da6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.5-beta.5073","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.5-beta.5073_1674173360879_0.2725896527808509","host":"s3://npm-registry-packages"}},"0.15.5-beta.5087":{"name":"piral-jest-utils","version":"0.15.5-beta.5087","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.5-beta.5087","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"38d0ee3dbf27239c202730923300522c9a6c3f4a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.5-beta.5087.tgz","fileCount":59,"integrity":"sha512-WQEA1thLDfUsjkTnMxviJNx3mzr1aFsxYlZaAmm02fFIwN3NwYZMNmTa3KajEK6rYmiWy5O8XbPV3V8dBs0rFg==","signatures":[{"sig":"MEUCIQCO2AYnRoJvQtcD96kTADiSaItp3QMlRuCU91uphibcpQIgGAxy2czIL9ZHqH7wrj3zL+kvewvFhyP4PmD7yoeVy6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzkG1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpalA/+N9DJJJqRtgT1QkNmtpayQ9nu7J/L0V0ltulfi6+SBafJguOd\r\n2ha9cpSE+87xr/BbkyCtLuEtjFWeCyIfmBC+mxJZ9f42kUeiiqfvgkDMMdQD\r\noupYOtH2IfPfaTqKg+u3/II9AGZxBZKxDfZgfCphabLvHAKswChDNZBkH8ei\r\n92G24YFNIr/LiREVqZuZlm9Sqw2rM4jeE6fd/qPTDi4GG/LcACMFyGxl2Tzw\r\nRwnmG9sffFns74uGJ+CFb1JkLvV7blayMbl/T0z7aOo9FvoMiuys7aY+HLY4\r\njMNcNugMjb2tEpkcGfh/8CCKbESt0iP30mT2sIwkF3gM5l939wmUf+We5jOC\r\njvhsJamPPtK+fnyXsRyJHWXU7UXHtbSBoijkOQ+XMt7HgolR/DHnQKr8h5Hj\r\nsAbuAX4/u60QtmycmFEf6E7agyfzRF2GvjbtgRt3tyUOixmT+6SexsJ86AA0\r\nRpUEh2ocKd263V12fxT23vohIKLDeANqgVWblhKE2xZstImXODZ89yv9QOj7\r\n2Yj6ohyz9gJkDzimmc2PqrLzJv9vLUBiprww8hpUfamTWjHKkwhWxqaM5VbN\r\nHpvDWkdvdOjSd0s64lK9OJZxbZjN6wjXnSi1k+PcjuNzJREOWu3Txud/zpBd\r\npCvXJB5Fuurcn4BKRKoUSDcMeLuPwZi3S5Q=\r\n=kfTP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"1400433d425739439cf54a288334766ba0e84498","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.5-beta.5087","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.5-beta.5087_1674461621422_0.1164406409374088","host":"s3://npm-registry-packages"}},"0.15.5":{"name":"piral-jest-utils","version":"0.15.5","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.5","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"69df798137867991a135a3eea43c7421e3fb8eac","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.5.tgz","fileCount":59,"integrity":"sha512-1SlogTjj/RzeRDiac5/Yw0cO4PMyCwOs4J252W/LRdII6bXP/GPe0cXsjwrLsP61cjCmXRSPxNHAe2xHEA9kAQ==","signatures":[{"sig":"MEQCIFAq+X+MovfJoYY7gpO60iNSjmAcaFtEtACN4CEv4URMAiAJZS7AQvnXMCs94sp3waL8LT8EOvlrSKR0kOMNzSjNoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjzk6pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpBKg//ei1b7UMoOWh/4dXDZsMuHFNzd421eMdDQKg+1hRbv95aEONb\r\nWzBAT6rXsOeXlFkzh7Ifoo4fkZoBXkVYTL4e4Z5WuxZ05zOWyYAkDnCjJNoe\r\nWgXYaXwkYg4or7+i7B57zmaNYPy62KgPXdsaFMjRk/S7QvY4nct4/y6ZG2Ef\r\nSN1sBi13ij+beqGTZWsFfvrrB6lxuPztgDETYKoT7EQ9cohMQOOvggx3HdlV\r\n7AmVMlvj1X62hi8x9XqNpDWDee2dbOp0IOC+DSb/vOV3Ebjk6wFVrrFD9SVo\r\naZNnqLYtLyUEdMbSfoClL7oQ8d3Bt5j2xZQMOdy5+sX8EAvLpbK3Y28E4eT7\r\nd6+bncwh2+9RKXyPSTFCjyTXxKEelxyKt1zqGpSTsmCHhagOkhmR9rDzFN60\r\nyQYXrtcbH5dzwTTF1ql5j+OHGH+lT0omXPMsr2nHuYQAIebndOUxvoJM4URv\r\nfyD37HrA1QXrsePhtx8plMet5WXXogIVKJrqxt0krs10+nRiD/ZJ0WXX7tK4\r\n+GwARZw4rdnqsoew1aDf5FkFa4pu3bWR3Zw5/P9MDC1i4Ln2q3Cv4j6FYRJL\r\nCMQSHNTiTh++Ux33pjQ30j9CZFQyYmqxJ1fuT5MALarR6GfkttLFm0GcQ3MD\r\nsM+MMQXzCPjy+xUFJPknutcxVSveflkqLJg=\r\n=bTQ/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b11ff3cab9580040060120aa6f1b122b21668459","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.5","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.5_1674464937083_0.8011592894173936","host":"s3://npm-registry-packages"}},"0.15.6-beta.5100":{"name":"piral-jest-utils","version":"0.15.6-beta.5100","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.6-beta.5100","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"33c41b76212396a245283c8b0f4bebcce898c0f1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.6-beta.5100.tgz","fileCount":59,"integrity":"sha512-7vDv/HnC1aqsTL4XXcvjkGr5qIDkQOGN5urN0oIxbP2x/6Zc/dqm1rJpeH+oOJO2ajv1TDmB96t9JeGHE8MBdw==","signatures":[{"sig":"MEUCIC5DORan0XH1Ze1nAWuqLS06x6veZ+FL1nKuCBhDphx+AiEAj9ZnEX4Q8E26yx5KE+62D3AHDuIpCtTjB0AiHzvtgfY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0yENACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpN8g//cWkUk2VHP1+IFGWlf/q/mTPU335dVybPEkFgDKNpGXVjMgMm\r\ndVdFB4u00yVlfXPz3B9A6Iy51RAhZpMi1xa4OX8WX9B/N3U8tVafNyj6x5Hu\r\n+RNdPWGEQZCa6czpyDnuXXSploYsvNwa1ZFs5z8r8Y9p3N3qpMC5iOm3VL5k\r\n0Ls7SJOZfbOOzda4KONT9SDzHXj4iTwG8f5qkjswFZZB/uG4VooqTzqFMriV\r\nUpaU6xKJbgAwA3ThEqEaTvThxku0ZYBKLSjHDeyO/qzWxfiOh2kPTuisosIj\r\nLguFDlksZHEf/46PcqWd9vio8aQYgKdVoDEmq3YUGqGe3WvDJqZDD+y1WyBz\r\n/ZYyvPtebqWK2Qg8IP2j+r4jMQtTMXaAGSDyAvQjkAiRZ2I5KcBLTr6DT/2M\r\nBrEN/Svw+gE2a5zRZ5lxtGvxr4sKVSZ4Vr/fbNsMgdiB9BXAD+XgAB1ZBodA\r\nzlE2U2ylR6mVj0lNZbuJ02CiuyRDLaTEJrMizKuNGHCZuy11/bQheBA8wtJw\r\niPb66JMwEY+9FynsS1P4Vwo2sXVn+pVzEIp0nVY99pFn/33qcqOQiyjIDve5\r\nCvB9LDzWnjL2m7S3t82Dkc8dOYU4c498Emus7FD4V4lcqEiA0X0RssDcDHZu\r\nK/EgRMgbGTtaxv6X8EcqGoc0+5RR6wCbR0E=\r\n=dDX/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"e3037bccd6f8bf036f49a057a9b92ca79e4b5442","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.6-beta.5100","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.6-beta.5100_1674780941469_0.16451121484626574","host":"s3://npm-registry-packages"}},"0.15.6-beta.5103":{"name":"piral-jest-utils","version":"0.15.6-beta.5103","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.6-beta.5103","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b899083121451c2d955bc02d2a4516cedca45d38","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.6-beta.5103.tgz","fileCount":59,"integrity":"sha512-yt00GNVLJHFOQhJy9OgESCbcAeyfgD2Vrmi8VfUn/AikgUh7iwrw9s4UgLdnwy+vLxygwoVhA6AVTY++Dwo+Aw==","signatures":[{"sig":"MEYCIQDfX0lInY69cT/PCKWF+0yKAQQu9YKHnad++2qr/YTh/gIhAPe9WXGpMk5+DbtC1lRbmsipnmmQ670BH9TYmUirHJ79","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj05SkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmomvw/9EJE7PEfbp2CGHFO+E13mqpMGGLbGsr85IXSfjfeiVcoAK06V\r\nD+08GN+ZOFave5zHKa7w9RAjBq368bWojleGqvrAkzDZUSozQOrbfz3HS5/n\r\nxQGzEDmiM8nJC9JbwWcSqv6Yy++FBLZPcU4eF9367dNwAs8tq5bH1kBDCC//\r\nuo9zJ7EeEy3429N0HfwKCHmAdAK4P/NYdoG00NyVAsIiK7Sy2zWm5ZO2qvwl\r\n/zF6+fIjinra6yLMQB1LLh92eRgksaRQS1oyg+HVn/AVEZCfMUIylupxTE88\r\ngg6Hi/gsozfP4wkY6ejHqu3e/fGpchftGZrFZ7myh2+tl2FQK86FZb2rGS1l\r\nYRFwUTlSRMnrenxQaJl3nDd8fymg2MSh5qUEW43nd9sXI3UIK0YxctmE81Sh\r\ns70EXYuqF4IDVG5BTuwfbyYBAxoBNchgPqKKsAqs2CqrGU/3c2z1/ApSUlBB\r\n9G2G+ihuTLv2YlcHg7S9k5ODZ0zgD+6H3i6IWZFgeMLcVr/qSDMgY4NuuYvL\r\nWK8dtzyXn5neM/z/lCDrWNEVtNl28Gj/SrhoJ6JzlstijGgrnKSy2lV6MSWb\r\nChQnVBT5w6bA1zKsn6gshjh4hbtCEqaUlGyE/lmnJuXW7I8kwlj06mXD4dMF\r\nwvfG1ygQbjG0ROWO1Ffe9BKyx0gU0kTJTbo=\r\n=PIOx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"82e92cfa7ed1bf3ee711a1c22c5a15ed10ac902f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.6-beta.5103","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.6-beta.5103_1674810532418_0.20457666911367967","host":"s3://npm-registry-packages"}},"0.15.6-beta.5105":{"name":"piral-jest-utils","version":"0.15.6-beta.5105","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.6-beta.5105","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cbfc0ab9508be60e06c97e394fbc3b0cd8ddda5d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.6-beta.5105.tgz","fileCount":59,"integrity":"sha512-+BaNbx32sY2+DH9OPehVHn0wINT5XYJ/ZkiXP4gJTPr5LuyueKvZVCffTZFEZexUSVMCbSXkYIU7af233Yx78g==","signatures":[{"sig":"MEUCIQDwsDSarDqgQfmnurC06j07QfhLac81556CMp7NG6f22QIgOkylzjzl3pB2cVfTUDNuFUSBPkPe2DCFuSNLhu3t4R8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj08z/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0dRAAiMPReUlWQr4bmkMABpZpuT2x0Ep+NH5A/bkTzU6wlNLDlipC\r\nJHH11ufZz+AZS4I5yNlrnCI5YjBkKwtJ6qhejYitMynSePNQOmAKmQ1zJ6hV\r\nSQ/JSzhb2asL0REyPyhWXLeZYG2U7vSQ94hzPXeaByZSIQMI4C/4Q34xKLY5\r\nx2HVXQmnVPcqzg7YjWdUuiFTVMtai2lqoPxf2jMP40zl3d8KMedf29JiU+9P\r\nJIUCNsY2U1IuxPbpbfUsbEodKQDLxi7vpFcrpqJJFM4r9XvRPn56wFEROkWe\r\np170m3z+Vy+xyHjZZWQ3t9qQ1HvpKrz/iGnws+A84ntdK/Ac37lGdgf9/xa4\r\nA5jEBsyAsEQ2RcpJl5j2mIb1KaMd7AcUc/PqwtMKs3opviyQb0z5XNQCN80W\r\nFrTGEMMu1JrXjr1zkiKXQhX5r8EygXNjYlaRWqk5fjeUtGeVMHLdXAVUqM96\r\nR05GzYc1ZOqaQmsmgT9srPmXAJQ4h2OI6/OQGlPpBeFFh33R2XIBE+zwkJ78\r\nQdvFJMHrHlgLRVlCJsj0D1PFhpGyaIgZAUV5BBE9NLyvcN8V4+pioctRxjv8\r\nD5L9N/gcEy2aEAnHOB2bcysY729lZv1AqwtdTd8FU8MafngMyP4t0FrQzknE\r\nEM0KlqwD9I8V1v/yvfmXsuR8M9AAjcANvzc=\r\n=YQlW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fe9f4af00df8a9281ba22e253e4ace0171160768","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.6-beta.5105","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.6-beta.5105_1674824959650_0.3108498561723596","host":"s3://npm-registry-packages"}},"0.15.6-beta.5106":{"name":"piral-jest-utils","version":"0.15.6-beta.5106","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.6-beta.5106","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d8571891535ab2bb6e5e224f337875286ae86c5d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.6-beta.5106.tgz","fileCount":59,"integrity":"sha512-sJNzzovN9aP5bYlAHZ1L+P+qzo9F66utFRLfHiaOkwbVc5PjiEt2aXbSbi8uv6zyqrOhHz8wcrV3GOIZztKN5Q==","signatures":[{"sig":"MEYCIQCd/l2UbPRx3nu5JjLBQzv9bGGKfEmmdeEsiC7wf8QmCwIhAPtnalaV68LF5GNADU12Y87oIwTQt6aZD5cULPQHAd94","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1C4dACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMnRAAn5l5uDjhIHC0nHpTGsErYdUdA3WqCMa88lnmJvUs5PJmQSEi\r\n5Qya4MxMte1PdOSFqqNAsNvShHWS9gLcg5z5MH4zUxdriGXO3SlqMqJpKgn6\r\nWgGrEuJ0XWzC7E+1wH/48LIw92VjqADqrd3LTtHg1QXx0/mlGni9nLbjkseR\r\nXL+SWg67x1ma3IVwt0uetszJxAwZri54DsvXkE7ll8jdHREqWrnBrdMAmF5d\r\nxFO0pvSYgF2+ANGCjve+Z3v+zmZxXA+PuJoH2ExC1lyfCIIDvoR6F8yUMVgF\r\n1BacN45L+aAlv+oaePUpwCqQhXwA/Lui/crXvXy3CHXzUwg9X0kZ+Fn9n0LI\r\np+/mV2rrIedLve0h7cnrXSv0Dzn3L44zNcIdFNt4YhCWylLres++pXzS0IEm\r\nh2qYEeZMsYSlhbfkxoZjBjwBzlq9WfThRchyC1TUrYee11KkbNr+wc5l7Npp\r\n5cpq+oEVxpt3ip59hk8+OCFGJtL7hiUlttadFLKwKuWXQ1zAqmbi1VaDh1eQ\r\nHhd9saPZ7EbsEcep/cCNffa5TV2kfwDCP4UL51r3c3BXX7c6KE536XijQhil\r\nmnFfKZmZIi2sEPJgyTPNiQE3c3PogB0/X44vOkhP59H2fHmejLqeVID1xf/6\r\nJw+IQVX0wVRVOCozekkOimqmD3l+kbuKi3k=\r\n=mZc2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"98a0225f584d2da787255341b7e44df7e1137b94","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.6-beta.5106","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.6-beta.5106_1674849821509_0.38460045926368136","host":"s3://npm-registry-packages"}},"0.15.6-beta.5109":{"name":"piral-jest-utils","version":"0.15.6-beta.5109","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.6-beta.5109","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"486531d03b532209e946c3a4b0c02bbe6f977b60","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.6-beta.5109.tgz","fileCount":59,"integrity":"sha512-5oF4y98Z4y0gQxSYheC4vqb1JRd0l0hNCrjegl3CZPB9+mRdtx5bxojKjOHj9XWw1RQcmWrc7L5UbAZoGt7ePQ==","signatures":[{"sig":"MEUCIQCxEaMF5eMwz3OdiLgp3tW1Sw9H72hXApKSiozjKpQ6KAIgUiKNCB403M/XjiLiGJNQOEkacLeyjMqnZYRSylGg6Hc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1YoGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrRjw/+OFwcVxv6K4Sa48t29fGcvJrCypQQV4pEgHkYpqC8Qy9hAOmP\r\n2uZbXrJuhdqzT1JI/WrNeO/NG/M2c9nwVac+CzeIERnyOGv0e978h+vaGrB0\r\nPmtjBu0AHI3If2fo1/k3Y2irEuFvO6pMdfpR8S5OVm6EFZjx8aqIaHm+k9Mh\r\ntxoUfA9+w3K7dCTAXRKAT4YZtLHW1S3gYyalItwoJuhvRbPrMkZuewD5Ooql\r\nl56QuLVC6cOY2o/PJhug7Lf7tpk/TDVzz0JKQ9hSMojB6M5ptjyOv21KpN/6\r\nMSpY51f+kqo3nu2iK1CyswuyAQapkB74tXi9CSeTyERV74ezlsxJaD4LNetY\r\nN4oOvyIWBfduZvOoAUInbaYKvFWXE6fcjXNmUaqEK4ENPveB0teE3nXCkrIa\r\nmfP2mYw+DCczmy7/+ePkC3rN9smTkiWagEEM8OZY3za0F1ZX74CObSrAnk5C\r\n3swP1cjm2grYY7XMj+ppBU4KadVOEg2ehOvRa/DlFBcilLJjKaYCO/Srd9LZ\r\n0zClcvGsQX427BC9EJ2NOOwfuB7dfujqUk2333f8J5TsqvSOPV2pI0T5CzLk\r\nLySbWqqMe1WMWZ/EsiL3FtTymNWWyLDFNqz94sySYYyCW6TD/Fy+OPMA7LO1\r\nslPedLaZ3Ua0+S+nyrAg7fuUJRzOVms/2eM=\r\n=qQXi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"e944c2737f6ede8187b599509961f2314d2534c3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.6-beta.5109","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.6-beta.5109_1674938886353_0.006319503338088062","host":"s3://npm-registry-packages"}},"0.15.6":{"name":"piral-jest-utils","version":"0.15.6","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.6","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"343c1c61c1b11b61727ef13307254c481b66b0b5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.6.tgz","fileCount":59,"integrity":"sha512-lyU4XoDAtFGnIZIcNxT3qeeIt1qXyBnYOV5uszlR+FswGgAKPdpSqDe+AfJUUBECe0dDzhpQsHVbgZC5csaGnw==","signatures":[{"sig":"MEUCIAF+B+wb3g+62H+waK6bqTFK2m8myQu3sX2p3ixJHFFxAiEAtlNB8k/LtQM9/f+BMtdTFbXpHq2MnH2BcUrZ1QrqufM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj19JqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBmw//U7kAFrSKp7DzuAy+Fh74q/FZl+1sEjIiXgGBMxa+y2WHzYl4\r\nkcGfFbO+miTs3qmGyR1HgrjdNtHHjNe14bYI/fvBG5LbfE1V2WzHHq6/0C6G\r\nxp+VDI0qbZk+j02TGbVRQiQDpLvIn0G0wkxWeQ0D2c/2DuyTsh03sFuYqAuO\r\n739tougI6+IAOn2feWcJlDbqbzlBvTNz3GRNeLZGpHGG3rxfZWw6taDXYj8S\r\nsm9r9lt4v9f87yHTbc45lF9Y01WOmxEcUcM/aC5nKA4pB1pxCN0JM6npE8Ic\r\n5cQTW4rl7dQjkxb3yK/SPYdLhW0pluMF9Tm92k/oroesqbuWrSYi3FgD6IVR\r\nmtz14BolEipELre5mXpDKn0Mbp0eFq45UTm6sxtJdX98qjCSyIr49DxsXKhf\r\nqr8GsIdnTw9f8+MNodFqXf5fT77uD44Rf6eyOBNCSpz6g9k9xdPSAGPVMTcr\r\nMVUR2nhImuXMoCVpsVANt0icff8h7NUJr9dNeWbt/bu/4vYSlHs9b05CJi+R\r\nc91QaOnXZiP1cqp3EnnY3uO9zhgk61Rl5eYzDI/21LCHA3VhCoN6GswVy0S8\r\nvtQpUY9X0HA4GxNABeVXC8C9VHmmc8xfz6/pWSIDpl1sJCpC1pkkTSNRk0l2\r\nv/SFRz71Db/KdypzfHiJOuTYM2wteM1mWUI=\r\n=9OU8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"7e96dd17512148b8363439879f40360c1527854b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.6","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.6_1675088490118_0.5673047507725171","host":"s3://npm-registry-packages"}},"0.15.7-beta.5126":{"name":"piral-jest-utils","version":"0.15.7-beta.5126","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.7-beta.5126","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"92673b757c7fb684c887f445b2b7ca12b16616d5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.7-beta.5126.tgz","fileCount":66,"integrity":"sha512-e+IyfjdvwPYJUHOp2gNHpDrF3v7GO+MT1liLCAwC6iXTJqb3La8bjLHf08rRGUNzIZkPfsSNSfZz88LKj1ttVw==","signatures":[{"sig":"MEQCIEJ85nFYelUYs9mD0IHDkdJLak+8YKfFzZvb88LfjxbEAiBskUTHav+fZ5MxW/U7TARw/nTm965HHTWW6S8ofZZk1g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2jKcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQ1g//eRNxZCAB3DixtyL4YZR6uLMY1OKNhi4AWVQdykoanI/1QGbO\r\n8Hhx6X62kk4/CFNtBJcMBgCz/pzbP91sSZGeInwL86T9u6hpvwMJQrRRBXOu\r\nQ165etYCHa4ciHFGLUpEtChHEAg0G4ytrE2ArZDphJxXIQT87UxLaskNCPwI\r\nVBp3nHId6VqSscLN5sUm0b9Lyz0EQPU8h7o4Q/C+4rHpRV7yBPQ2xWU1uRWT\r\nn8efbvv3xSXm7H0/dalRG0oBLY6cQgFW44gizjFsRqEDzctx7rVMnlM1ZFpy\r\nA32uJIVC0w3YcEqEZHonjH21YSTyJjNkxSrdKanrfKEMzIsa/f96lVXQijSw\r\nf06Plxy+wl5ZBIgfk9ISACUrCRIGcc8HAKmtXBVa6taasDn5gW4c8hGABfZ+\r\nSvJzFxpkxCE4YapMN7O6b73xZJTubqr9Bp313iE2J8gL7DaeY1RyjAN3V+kT\r\nYZVD3uo2+ehRkjMEbdptrqThGOnbdonCAKqNEpGPkg2oSAK56xWe600CrAZt\r\nVYbnRtANXObSseoQQmxECqVbrgoVEgMaXLSAS75LhMJtCMUPTrrLWdW810Ya\r\ng/stASmp1sgUWCxV1jF3JuBsgCcrfMWiKpuO0HA3b6PXCXoOA07HBvw1Qind\r\nLVrpGSYFQRXeNR4M0FyE7GsXg7GNhmZobgE=\r\n=+4s0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"e23df08a2bcf0540974ac610ede2c9030fddcb82","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.7-beta.5126","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.7-beta.5126_1675244188151_0.6038173980727217","host":"s3://npm-registry-packages"}},"0.15.7-beta.5134":{"name":"piral-jest-utils","version":"0.15.7-beta.5134","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.7-beta.5134","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"868eea3ddb1f4fb2e700a72404421b2126f656e8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.7-beta.5134.tgz","fileCount":66,"integrity":"sha512-EjwIg1vCyeSiliuIAfLssxBgMhbCQBSYymHGKicPE9uxCyU7e2+40kAWIgTnG78NSJyAftHuPvp2bV6gdrFbwg==","signatures":[{"sig":"MEUCIQCI/3Ew0bSB5777PIQ5PjAYtTMXCVYqidECMJoSKeUCCgIgL02PLrvNxQ0R4Jubw9kxValJmgkLR7ExW+mx5gP9LNM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj24KsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqbvg//UYNMFxTmd/0OrIsAqE4S5AMs+OXWmG/krPceH0Oo4lzQOOSw\r\nZ2PERqDsvZ5ow904Wt2j8sKKYdjPLuWb8nrVT9QleTQANz4MFr2KrA5rbnKg\r\nLRvT8F8wvBU3Fow7Gh25AXanb6lkVTgQUXwRJSoqrFqdkUDI7hi34gv/RzlJ\r\nXKqJkzu5xEar7ueQ63n/ySKWoGARyuyx8hETVM0FTQY0x0PBphjykVPHr6l4\r\nRazsn7v2F8m31hcwRbv6TjlNHm7C+edTQf/bq2uLpVmIowwB+H6kQEXBAZEm\r\ne15zxCipcwNPtoe22ruWfy9kzOEivUc9droSCqnnfqLXdNIe/AKknmGZkttv\r\nKr7V0WlgkVe089l+z8ZENkUbWZ5DyjzKhFNZyApsui7rddMB7I7r4IhDIBwx\r\n20MiEtoEaZ0kJr1g2EhDSX2frVgruT9PIBPu1web0U4CFkNCedvetlIuHCHL\r\n/096FwSgCSRFXjpHnj/7JFAYRWnrA3yhdH4xBkEBuXYZtbmt/eXMsmmSZ8K1\r\nio0aCvf5gkqfZbLrOYfrNZIVrBOOGhzH+acjpDYCH0kpRAMP+Df4Tg14Eq5N\r\nJ4hGlZeCUYMDtpiu1U2YWI0j5LxZV92iEF7aECTCn85/N3JtqqBprI4SzCa9\r\n8lmQUUTRbP6jzMj642ZEKiNvJWb/TjEHAsg=\r\n=Qddy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9741d20e4f4f6c6492ffc7b40012f7a1b23cbd24","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.7-beta.5134","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.7-beta.5134_1675330220157_0.46782623199447704","host":"s3://npm-registry-packages"}},"0.15.7-beta.5135":{"name":"piral-jest-utils","version":"0.15.7-beta.5135","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.7-beta.5135","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ea06378ae58a3dc9785e484071d879328ccf7a5f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.7-beta.5135.tgz","fileCount":66,"integrity":"sha512-jtWorcSbtMNJZlz+3VMOJfFiqmiJopIMXIPGZdG0UMRENoCiGnzYFu8mlJ+hBuKz6tISrnvLCeGe+j5Cd160dQ==","signatures":[{"sig":"MEUCICVwp7G+zpl4iHt42ulnZiSnlzViJaNULeDLTKZcdAp5AiEAgsqqVMS8PTJDI6GB8oSPepOpgJ8DylzxRixGrEYE7uA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj24M3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYphAAoqaWLDA8Hr/kPR45UFXQerV4nWhmlcw9Kz2enrztkrWXFsXn\r\nzBNahx1cfVSrfUS4tCH8xZCGMj9HAMcUvr9Cd/kRGK3ftNs1QnmM0xZvj0Mt\r\nN89PcWC3CUSiMQfZ08wU7IWz4DVU6R4yL0ST79WbyjHRBwDAXgnSr7ltHoV0\r\nFjtZIt3pUf4k/s8vUjvHNlhdRKchOQoQfgLUC4vSw3690y7M6Hirws7c+JZd\r\nug07ziQOGyd/POjK7/EOgMd1WJLBjJ4RfHM4WZUJHEw84gb6ibKClKXvIb6G\r\nikFCvnYzofCqD9eCj700QP1IKLOGGnpbW8j+tba7Dd1RW8J9KncSVoNyTDP7\r\nXU3EhafseShcfydEslmFvs3MwEbquOm3lHp3qkdye2qnk2ywHteysTzxZThP\r\n1bYOrqhAIKlK6Iyc7hemwuSWf5lTkHkG/lBDyWHjhPPwOtlyQMrzgZ8kxX+R\r\nZrH8nvvVJiOh5D4BYv3E8ZxdZmZRMWHkOYwzws27Cs94V5ONTAA8U7fOJFeE\r\nY10YlxmZnFxYyjLVT62N8F5nz8oc1nfrkEPMPtI2XI+9yjV4qAYQAsMqdSsC\r\nNtKWk/2vF04QBz5511q24pKg/Mny4uSMab4Sy1YtWhgtQTcF0YBGbi5oHAOT\r\nMxID5Ob7koNO+2rhSvq8hmhx/7qst14y0RE=\r\n=zsvl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9741d20e4f4f6c6492ffc7b40012f7a1b23cbd24","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.7-beta.5135","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.7-beta.5135_1675330359325_0.5613243546106408","host":"s3://npm-registry-packages"}},"0.15.7-beta.5146":{"name":"piral-jest-utils","version":"0.15.7-beta.5146","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.7-beta.5146","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"65a6ac26cdb02402b368e633decf4427af4e474c","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.7-beta.5146.tgz","fileCount":66,"integrity":"sha512-vo8a6jxVtSny5FzNSnV7nBN1nAzJXqB8OpTlfh8+XcO5QtmorTk9D+t4Rn1CKc5L25UpNmpFSpTFdQbnKZyi4w==","signatures":[{"sig":"MEYCIQDdiBOPN8AFy6WqC19uREqhDZWz1n8wFhepF1vgiQZ+bAIhALTs1Eosv6hW1rig0a5EWcqo2X1CI0nLin4+836Q9HfB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj3i0PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjNQ//SITVVMY59HthhfGLfwH1ta1mNiZ/SbUukyc9S/w0ZTfZL1Lu\r\n7Y0FJlUQvMRb8Ss9iGZ2+LsMvUkFmihThIT885+D1u1qnqVfwfnoXX5veNCN\r\nC2r6RFVgEw14ui8zF6bOSaDCZ2PCjAJfuxs/RCSw641SvsFc7v4pWpwA6/gG\r\n4qh39+MHcgutxK1SkCGA/JjfcsVoAIqMfNFLL5ngRfEZGPI/dZP655qpfPZf\r\nUex2nbnTlogyZhxqmIywi0RHXGPAgkVolzNfu3uABmmVkSsts3jkg0NA2pOh\r\nK7ovnrgyoSIrMklIm5SDIzA8snZATS1IFaWh/PCDO+g+2b+KGdsr1cr+rIy2\r\nDOWH48aFn2zYt1uuy90NLAIozGHi7fnnh6vonIHGpdhK+4HGYLDicskj6+72\r\n1pKnh72v7SrtBYNBmgfK6tvVUWI4Y39sqCoMkSBiGoa7SeeUyVJlGu8i3vgh\r\nfSYFGPTW6dePElgrMmxyfi9mcjDuHCTLNObSTgt/H3GSo19tZXVEg9Wjkz6b\r\nHQPd7sq9FtCUzYy7U8m3c4uCtQ34rK/oaDkN3BgwAaPX+VPJEYGmvTRef0Df\r\nyRUlVheGkJupdkSXC1k97mk6OJqFakGp7x5SOK62oaRtQUH2cXkRgrubERDC\r\nbA+x9e0QYUhDuIK2soOhHSZNMh9RHkdHxyU=\r\n=XcAq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"991e7af022c233bc3662e4017a6b8ea1dbbcbc92","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.7-beta.5146","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.7-beta.5146_1675504911362_0.25449482493867825","host":"s3://npm-registry-packages"}},"0.15.7-beta.5147":{"name":"piral-jest-utils","version":"0.15.7-beta.5147","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.7-beta.5147","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c2ee7089ae2625441105bb4dd6af59fb37b05d9f","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.7-beta.5147.tgz","fileCount":66,"integrity":"sha512-FHMHwlWLIV1goWBJHejNsCo2mcofNtv5xRzq+afOAwE3FyTKww7ktxrsWMdWgadBC/QEzfOWN733FN+kFkUD/w==","signatures":[{"sig":"MEUCIFGORXm8W6gvHVbJ8GCQTOzgeGWznjxjHMaSnkEALDZCAiEAom1sj1QotzEQ8Yfx6h0hC12EGUOZbGYzK3YtRCuJN2U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4AvzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQ1g/6Ai78R0FHOAGTdLxrI0mXC07rR8JhmyV8RYducgTNQeKmDW/k\r\ntxdSHa4y/Js6THIrhdFQ24LzBPY7i2q2zoCI5nxGmo6Drt1qQbPbzjNFvh9r\r\nLBwYk1aLLkYmf/GFl0WRG+sApKVoGpI2APPEUccqWKOFOcMpvlnQ9Znplbdw\r\nERmaIzj5eaciPlBngAkagQB9UuXny2fgIteRW+EoMD76Tw7tsIE0yZ8Kz6Iu\r\nL/VFtONvrvaLNRsTxPqjBSxCiJ8P8TLChFXxnru0Qbwzz07eEvKLIS2MoiBs\r\n+5YwXFXnwOwO9PUEXtvF9YF05QwPJexjN3zkZKblN2GpvUhZR6g+DwIUxpzt\r\ndjs7zMtMnc18coomYlV1g34TzN/Rtiu8/EXm/F0gB7FBlajZd8ZGrpNmCKtE\r\nBkl3+YaoKj+eGKr0jXVCdgfJDmfvzaCkTo1W8rKpal4BK3LPxPcVc3wvDf+a\r\neLx4yAt41JQulQchlJ4IakzRHFsjxV9JZC/8Kv0PuNSnAiBiA0VqkcNUG6V/\r\nsgZRg1Tv5glpoSkAJK3KvgIRBnWgOOT8NvbSJH+PvtqT/AHAWEfztLpqpQ/v\r\n0sBPnhL14qfguMZKk1f4yPez41O1jzOXXa/JNzDQC4wMBkLcAOeJ8K1ce/A8\r\nny3nWh6fuMtpwZVgMlRW4E9bEfI+9CmKrJ8=\r\n=sH0A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"8833e0913487f5b11446b6dfdf5354e9154cbded","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.7-beta.5147","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.7-beta.5147_1675627507333_0.9308632955354927","host":"s3://npm-registry-packages"}},"0.15.7-beta.5155":{"name":"piral-jest-utils","version":"0.15.7-beta.5155","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.7-beta.5155","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a75595d271a3f0dce2f67f62bd916c6b264057bd","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.7-beta.5155.tgz","fileCount":66,"integrity":"sha512-7BoQFVw3fm6HgKpPXi7yUJhqf0q/f5EncfHGvuQnyeXak+pm0+C4tugeJoyJCJ6FUCbnh8Bjp0SywVgc9rAtQw==","signatures":[{"sig":"MEQCIHzxtt0mn794VFzNT1pcTd1hOZBKvSdwkOcAJQQFU6dCAiBVsMBbiJBhLysfNO1DRkAE5+uY/336CMtrXFj1p1ayqw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5PeQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPhA/9FyHF/bKFKg683XiQQ2QgH7uj1VkJ25Qar69M2sObSW4Uc52Q\r\nG5hnmAo36pZ6VbVSRaIzAchRAdNPPx2UoRuHwrlzLmvIDKgFKcZLJ2M1swLD\r\nNk2X7hDJGMldWXC7Q6e97yGRykuKeS+PdKP4hPfjaWXTtzueYkH9ambUjil1\r\npPbglTiVRIiIVmx9eqU00pOdUB4vmc0fRqeSPIAAPXLnNLEdH9LbH8QqTUU2\r\nrBXCNe/dIl0/7/XXOztkepeJgXy2JsxpSCyobdy/9PW1zTTi8vYE/Rx+akd3\r\nc62TDtJe3qfeqvuyl+u9H00oXOrw93IkfBGoICHQWPbOl3dNSmQ4+9iDZMrb\r\ngnBfDnJHM9twq37UMbVNqxnwd+v2qkf4tqFWqtTR/SHfJR7eFwvbTG5PmOhQ\r\n2dMWSlrIvX4I6gRPchNDccv6Ly/3m+XNLx32OBmQGaIsMGJ4aRXACT4OpQ1y\r\n+Q0EbU/d4dTyL7Vokd6pcl7SqWk2uMn4yWQN9eLfRmGYC6B0ZA9E+LkEb0Nz\r\nKX32DmaX4lW26+Ys1qqt9KPhWveAVGceleEAbOyHJKLJ8BVsw9xa+x11xkAh\r\nsx7KcvJ7rhpGPZTWtoSZ82UICMvCG5YKKuk8uy/Mk29lV2fU2kDtKUerROWj\r\n+PjEFvCLkGVv2ljaMG8DpGKhXYH0NpVZIP0=\r\n=/WEK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f4d7b20a348a2474a0b7c5bfbb265e544732865c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.7-beta.5155","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.7-beta.5155_1675949968553_0.5615911348796057","host":"s3://npm-registry-packages"}},"0.15.7":{"name":"piral-jest-utils","version":"0.15.7","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.7","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b25fb9a90076df086126f403b8b0c2e2b9b1aa42","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.7.tgz","fileCount":66,"integrity":"sha512-t6QWv72o78axqQNq5hNtcX5qwSw+/MG0bgkyFuMjdoWYligCoyGfBX+LGYaP5dxddSm+JZL4rcqreCbQUgA0wQ==","signatures":[{"sig":"MEYCIQCq9MRBtWy77OKYuTAac3FiMxu2KCRFnC2mgz2TgXG68AIhANZtMqUrFvqIr2n/YIe6o2cLWnF8jp9dPTIEcMN7HLIk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5goJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocMg/8DygFx8pjuU8xPlula7zshiHOYLs2D2jJ4qB2/z0g8Mtvvwnh\r\nd4SE7KQYo6lqJvsgcqf6J19njTkVpTma3N2yymVma7X++dnPIKoZXOtnKO4M\r\nO6HZGv0ewoHgpOZgrs0Bvj/5bhjiNlOfxgybgTEBbYRKSRBLgZSpiiCbJTXo\r\nuAbQGPBwaBDwkFmp0wyKnsxuyANbx0bGXjIK3ya9rFbtZep5lstIrf9FbFrG\r\nVXVJE51K7zAnI/DLyvjfkqFxLVTtCjyuBbLQjJkp6CB1tk0b0Jf6gUujq0al\r\nbO42wrfn6Erz9KobRhiI3MH91wHzo+qY0d+t9AZ9TddgJcWoXXmf5JLq2n9t\r\nt1Fx7D7iHDXwQ7QZUhmv06jNPmidXQWEdIGAcq9Kweu/WHwHMoj3MV16Mk0i\r\nTluQFV3WGX34NtIskUx3/klvQfNPzKdZvUhVdnC4PlVeRH3JK6cvYOhIDcY7\r\nEUiUGdF7aguTNeitJ3j3ErKOYze7n+RYOkCFb9V8jcA2OOO8C6JDbDH6bebB\r\nHTBD0cF78ZaTEE6Xj4dG1y567O2R6pFCEdzAke4ytBH8Qbn3gBiXfQ6WMKbP\r\nmiAN+0u2WyXcvhHzrFVL79r6cBiQEnUypJGF4YoXTig/LeU+PGY5Sw3gutK+\r\nPBX4CuHMwlpDX23R+OVoGBN1IRFP6j+0uZo=\r\n=ydhS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"79157be0d737c770cff89b1c3a2b802f2b13194d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.7","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.7_1676020233535_0.04677025163141191","host":"s3://npm-registry-packages"}},"0.15.8-beta.5168":{"name":"piral-jest-utils","version":"0.15.8-beta.5168","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5168","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"2c3dfabdc398b23313ec08757792f500a7862023","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5168.tgz","fileCount":66,"integrity":"sha512-ZeLXr+2W6R54sN0jf2BPuK2hqRUY2LpiFSourar1Y+j+Z3P9h/IuXbWUMDrTZwdkAefAaVS6J1xFKzWwoS14bg==","signatures":[{"sig":"MEYCIQC+LuQcoiXM9eBpup6IZiemU5B00M9XoEwYBaJk3h9bVAIhAM9d4RLToVjqFE8aC98O3GkGHe5sn1KwyQMcglA/tITe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5qd6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoPg//TR+iWKmHSZBgJ+OWCMnErgt5TJjrT5yx2tjSENxRpsWgdDa5\r\nKZrjyvy0+zit2iBC/fc2Bz9VDqosSivP6/k8FYmnDnFYiaKBMinnr2IGpAR/\r\n04JKKHjbJYK7Re1I4az7aeH7/x+dTHpAhAJs7OBFKUndWVs2DDdKnolOOVne\r\nLvuHLfunEmXwO2mgX6zxC7M9VAlLLcROh8uRPqPeCSrE9d6TPbapho/wsvsl\r\nZQZvK2Pzx5dtp83UnLCjhEnpYcyQ+gz4w2umSCw7uPFbsotPZcNAZc/fD7sM\r\nDUy5ktXXpXq5v939AkUr5H54uo+tawzeI3tjiVP9yexrrAVZqWTQW8HH8vd6\r\n0NBi7tKWObF8cOj2VLTHkIvOJJc8jPu5NLC2T1QZuMNUnFxAjC5Fi7TGcgz1\r\nN0D2VSlHZnomoyXEAn0hIcxm9vWMeTmtcYd8pVJDdRoLZ5ottaqEKuP5mxtn\r\nMt0T2exK05YPnW2lh9PIhLOwkJDe0uUqeZRHlu2UIXdokeOiMtVtRGDYMPC3\r\nmzwyNDAwIFQyrSZ1xCajj2EkhPAoP0+vDZm6Y2/6LhRx/JBWWNGjT0V9ZPem\r\nRytoLhTErO+cv/aKuQcIInjdMvsDZDTsiZlKH+3Tw+hOY+/WDlfDKtJNreWW\r\nNuzZlJJ5eo/weMAmDKCziCJSJ5MMF05c12o=\r\n=Blab\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"43b50df63d9d3f75b2c07911d8275786157ffabf","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5168","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5168_1676060538375_0.2629252416961856","host":"s3://npm-registry-packages"}},"0.15.8-beta.5218":{"name":"piral-jest-utils","version":"0.15.8-beta.5218","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5218","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1ac8bf711acfc10ddc3950a477952f77fe6ce1a5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5218.tgz","fileCount":66,"integrity":"sha512-tdMqc0vkZFCphtWWBfFSzHZnc58H4UaKOQP7rbtOTtmk1iV2wAjCsPZBDh+t0r1FGh4piISLkCP1yS9DGPQA1g==","signatures":[{"sig":"MEYCIQCdZaREvFi6BdDLq1oBygK7xDlPbiTgMou1LN1eSAmwRAIhAMg7ekFCcLb0LvD7V0JbEOvIG7A09NTq+msNxKKfYQD8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/414ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqi+w//fEu1zbg+6vkX0uhJXhMiTRZ43QYn9ghqqfdNn/KXNqGhpcer\r\nzfNxfnaOV+T1deH2L5DiPRjuImN7nDVjxFNZqJviiPqCLJktdq3HBqE7jTdn\r\nkQuf/98hszHtNxlckQZCWuIkF9Mqw0tSZvD9Mav65TM0EPzO4CktAWbKg2nV\r\nBXX/qblyD4n5V9FYwoFY1Kubj7eHqgXPKmliB7Lgv3HQjFDlJWOgVJ1H4gmq\r\nTPUr+7vuRyT+idiugIMaCnwgz+GyfSRJH+un38rgzY/SczbaRyPQsHe/iUoV\r\nqylRFsE6gYirwezZ3GZPAiilFk5nQ5ESAVtM9FwlxCl2JOY6agCrt4Fwi19T\r\nHn19JJxd0bcwEqbyvMMl7V5Wl/4ocYJJVNyFuiGVvuB83GG6d0rzwDlLtIYe\r\nBreCt2NmRncp6tGLRloALySFNnLPv6/bZwd7XAhMT2Wc2PZd8FeKOIuSrv7y\r\nCsJn5eqS31QrE+eK5LFsIwJjHhoSBYu2LwPXLVhDTOzkO3E6oJafmwEvkqKW\r\nwBjNSpcAhRxGtZR1cIhxNeaYo+b0LFbScLhohaAWbzsjY17LrA3KZd4PuyU8\r\nk8ETIYtJvDFlUti21UczmE3WrFM0VMlrEieA0dUM41oBse15FRFtaspPbFhw\r\nQSWefoyOqc1G4opQzpNFp6pinp6Cju+XrTU=\r\n=Dsmw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d4382a445c6188d31622fea15a6e0e092fcbad78","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5218","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5218_1677692280603_0.8919300176043139","host":"s3://npm-registry-packages"}},"0.15.8-beta.5219":{"name":"piral-jest-utils","version":"0.15.8-beta.5219","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5219","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4f7186972a208ff0259fdca140bfb2cabf4ad111","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5219.tgz","fileCount":66,"integrity":"sha512-3ZflTwF1BfUv24+Ksr9c7V8YUj1eDIXm2GeKH1X62FjNzpxGgk1XZl1EyBVKBRWqjQDlG7mnZli+6U/o+cCaPQ==","signatures":[{"sig":"MEYCIQDQfOViL2/5reDnLJL7pfi8bekxp8nJnrvadd8vb5ZrKAIhAK4ktBlpBq4p1sfMMuCcNqHkGX3WUPgaWbZXLN1hNaGe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/+TmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqCng/9HOj1yag8fZ7HqcTPlZw5RWNzrEw/boD6k7sID/iYWwXWxsX7\r\nptYYfLL5GKKFTS+qnqW93aqDFuXxnYYZJEEE+ZH80LsMWV97K6WgdAPDSvf2\r\nsZ/cfoBgBquFgiYHYXIUdvCpgD/KDyA0nhpkdbYv6PdiHNqQRT358NXtTNyy\r\nwrkx0vPL2MaMxvmr2BB9fQQSeGH9XmxWWI3nnWkfmOPLJK2xCAxhqO3DZidv\r\nPr9rkn6niw9fiHT24oLvG28QJ8+zwcI2qmlIIBq4MuD309WIRkwmZtVVm0x1\r\nkTd5efE6eI1J045ghlxbD+lsvTazFssuNl1o+Wfw6nre6QV3xLbEsq220lsC\r\nXT5eILHV837NBt9q+oOo8HC72Rtkbaw4kunkzU/Q42TE0R4biRE5rJvr66Sm\r\nP2QTLQv/fljOf73g24J+2pKTz7yWZCjhTffJquOfDj2jIg/FZci5Ep/t2PuT\r\nx+b0gmYHNcrW9LOV207ce3L3UoRi85aicSJml+KvZUg3MH7SYOhh+ZOOiq2u\r\nFJWdH5So9Yu9bvSPDjYtyCyAQa6KXZgvwzsDPZCkM2SS4q/Gx/inLVpsfpok\r\nQcvK3c9Lfa2Jdy/I3F0bh1xvwcDgLmeHydBIcjSp8+Nwgs4TzZVXwAK/SrJR\r\nOcRlMYMhXsVpIfyv0rB1/KEyAn3n+0xhyEY=\r\n=Lfya\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"11e6b6a60fe6082d6a01ec67713f3acf85e04b57","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5219","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5219_1677714662610_0.5175685334952447","host":"s3://npm-registry-packages"}},"0.15.8-beta.5224":{"name":"piral-jest-utils","version":"0.15.8-beta.5224","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5224","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cf7a2a134bfd985fbd370d1ea7a93c2c31ec61d2","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5224.tgz","fileCount":66,"integrity":"sha512-J7uiTqafQB7rT7ybezlU8Nv3Z7e4trdGHHvKEfTcuqGXYIc9PTNChlMhaitR5MQK7EQU0vyw7Zb9ax8Q56h0hg==","signatures":[{"sig":"MEYCIQDqMdSc7p0iSWA3CiECKBCnBDB/Lqk2+sXsCRsSbRBtPgIhAN6Xrs0sSIMjDn/fbvhPQOGawXlIHDD68aKzPyknpukI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAKYfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+fA//VLKy2jc58eTlnHWa0PqlAijbohwAaAu4J3jvvw+NyY2zEB7R\r\nhyQUN8arA3gerLBxocT/KBGwJCZSb5jlwuui1x6UJYvtFFy1/ftbAnpxUjqQ\r\ni+3738dEf8YaV+jkFgaw0x55lrnj/MVofFN5shOZvTDgswqFzteBgdQVdwXb\r\nosGzdpG2rqyzO3sRuIPiviU1CtMfZKhVxrzxw2O13t/ApCaByRHgFboKj/hy\r\n2t8zCV03YgPn9aZG6cMkGEPbuj/WIYzmB03kZOgbstHzmzdtK7Z1G+iI5KC3\r\nXN1YMe/1K36sjiFaTIFPxSR9NrKhxHxRWnzoXfYOJ8z8DaAyNc8Ba8Zes0nM\r\n26Ulj9vmtkdEeQhahCr7+MlXcdwuk6tx8CG8PQX896qv0whmKoRqpE/TE4Tr\r\nkF+km0bhgx3K2KpBPKm5x/I50qhAMswBARanor1cRMGCLFt5WUmY6+ejs/9F\r\n8kPW7ORVoAZS6kCs+yty/YZAUwkFsjFsBBcqt84WQCIAqBhULN2glS2KLMD7\r\nrCmIMkcmD5FDfiaH6jsCBSM2fWSFJXky7Dy67zdKXWQzyjo3RpFXBXqs2wia\r\nkJZ2OcnIxai/sycWnRlU41CN2EEsNjpfC/GRFNoMPYjFrC8TZXCx8XaFf7S9\r\n/PeRJ6CdiMXwMmyDoGAv3iiZDOaQMCJew+I=\r\n=T193\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"8bcc3476fd84ace954922e3ff11c394a5b9da7a4","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5224","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5224_1677764127320_0.23037186040430457","host":"s3://npm-registry-packages"}},"0.15.8-beta.5229":{"name":"piral-jest-utils","version":"0.15.8-beta.5229","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5229","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b2e3ad6ed6b04a16572082bdd67e7a1fb38429c1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5229.tgz","fileCount":66,"integrity":"sha512-BcxdKMUlVgl9BKgq8b+wJroFMeAxr3ck9iryL/KMar0m6qaPFGv6n6leH3MYq2RlDS4TBKfUdJAPblYkUtiW7w==","signatures":[{"sig":"MEYCIQCsfxasfZCN4+wO8YWbggYo6a6oI3wxkXZCPEkIGQODVQIhAM3ksrzTpQRwLv9pvN+WLeOt8P/mlxJ00YkHp8tJ1ev2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAOUuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAVxAAo2NR+LCmJLgYbWhicl6cEd2XXsAefafMWEV8yjRPqLFVbAOU\r\n1aehyGthNHI0jhD69dxUYFHRMewhbE+vcK783Xi4avzRILT+79rC0o04XifB\r\nCEm61rDKTOPXr/BOG50ZjGY+k6rXOF0YdOBw77k7Ux5SZHny8H7F/hTJivr0\r\nMFcT8hlaNWIMnORo4wI+JMQH954fWWjtp1CevqqT1UuQ04rImsSHXwEBIVGV\r\nGSV+ucq4RN4VwnqD/9yMDrecVyxiiMxb5vJ4ZwDMJaFRxwshyjDzZKTP/7c1\r\nhso4uzTFGysTT+DoLBXrGo2zo4/hfQl4Cwrhy+IneA+UGCH+nxgmDsn9TsPR\r\nCiXvUPyZAFX0KWsk3md5vmLl7JFR5vG3R576t5qfQODTuktd/4+rnEpJE6Ri\r\nxZONEc+T52774Ohr+/esC9y+WSL6zmb+YfKQ4JYnl0RXRY6/n/GysQbfTOXr\r\nUoskXuIrjyzFaJPNsrqRmDVOzil00XRS55eg0+acQ0NO/IOYg3K4iOFOZeI1\r\nRDh5gyawyspWE1cYYT7DNKGRP6eTpM+zj7SdnTGhNvP80hSLzaK0t0tkG1ex\r\nNYLms0ifALkM8zAHVdKskkcLRGNqjFlMFvSMJcKAuPO1GRam18lRnDpyMST1\r\nyN6vsyvV7RYzczBA+VAWkFzXBKX9QtY1NCM=\r\n=AEkr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"8149d15bf5ea66fb4af6f04b6da9242ebd4db1db","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5229","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5229_1677780269833_0.6285871714954612","host":"s3://npm-registry-packages"}},"0.15.8-beta.5238":{"name":"piral-jest-utils","version":"0.15.8-beta.5238","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5238","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"5d16757e33753071db6b66e906f2fe87e83f367d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5238.tgz","fileCount":66,"integrity":"sha512-gWDCvW84MC9r2nPPSqVqsHLnsG/yghsaEwnKjvhu9ueUPx1EsZworSNyy9yE2460OG/T4LC4dtWorf+ZiWPKGA==","signatures":[{"sig":"MEUCIQCBVlb8GN9ZZAvKPyyoiqtcmzskNmyInsSn4hxw+pKznQIgEVo1rglwuLr/YT+KBg7IfI28njlbEHo03gVTMY/3M1Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAbW5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0ig/+JCmLl/H4ldqzhGjMUVRJZdu8CkSWVTpUj+c3XTXG9XJJtQMW\r\ns3b6kIbVk9Y079SbUjQg5xwWprY4pHaPN3WC9Tse6Yp2WzG+r2AcymZF9mRX\r\nWb+HqZ+OIDKfmU14G3Czw/9FRRG+/230yT1L/Oh312NbdkZ90ktr/u/QTKrL\r\nzW1wPZIIM/6jGuC68rJXCvrmsngizeMylEtwFSK1xZhc5trCJKD/UDj2XvKV\r\nFNkFK2OvlcJGtXtPXO2YytSTb24KShOcW6FGmC1a4f0JSgoANBE/xb1P3BgO\r\n8vKEjNFusJ3ofQYGf0JNBoMGen4M1AWJn7j8Fa0UgdhcZvLpJwseW77Ngl53\r\n5diT+y1FDaU3BUhW9tdHp7a2TmDRufVnKcvrdm935p8OAtvySKIqfyY1nnvi\r\n/HxTyC00xZz/wof7f3H+d2hzqAe4w5POqmxkyy4B9CutsUfQxPu3u2vaEojY\r\nPc7hnrvkANJ6DoSGh0oaE8EkoZ07b9b8oJrz/qS3EdzKena8/8OE/8Eal7mT\r\nI9OTpM/Mfy+FelhMES3E2eSEVF0aLoCKBQ5IxcMjmtXIpUl9lRhQ6RZfAGcp\r\nP5TNd+gfcJX6XkWYm5c1HnJ1BBF81Jjr8WIQZHraSPIRwNRAdlmRXaYGDFWP\r\n1DRTPhalB2CfIIgGfPVu78F3H5faTWQ5soM=\r\n=FAUs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"98d5d39c29ab4a76247695b78c9e73b6086bd09b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5238","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5238_1677833657668_0.5391544176508019","host":"s3://npm-registry-packages"}},"0.15.8-beta.5261":{"name":"piral-jest-utils","version":"0.15.8-beta.5261","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5261","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0f9b99340c7ce61de1b40cb59b805be00b85adae","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5261.tgz","fileCount":66,"integrity":"sha512-47yrrfofNbiR2mXSy/6ka2QwqNsxvOiBA2x5082DUlK7QriqWJJlOZ4GYeN7SfNSkuwVX+Mr6Nf1nfgFezwfww==","signatures":[{"sig":"MEUCIDS9WHTmq5creFOtMS61Hyx4uOkD71t3nKNsqYtiismJAiEA9pmW+TFurnEXZkY+2gnSP3you9BejjSITcABQpr7+ic=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBg/hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrccw//ebgTLhtlAH8JugevOWMxLs+0hmVQqzyG2Huzmwc+CfGx9gog\r\nmcrmE5MDz4oD0g9K4bn2uwgSxe5oMrnipYU9Gfcg5g6FRwTZAnscx2TR4Fc7\r\nXWz0gW6zlfDuWDCN+6HAnYsKtfw6UeJZSIK3wtKcYfgEhATAgJRjn0Ql8drX\r\nhNjPo8xRBnrAuXQAUXTAXtjn0M/6t5ENZRMh47b3z4Hi8G3U/1Hnf65+Bsna\r\n4K1aClQJO+xjCA/H2Rv+muX+sghwJfzFWvw0nUg3q+Jd7fE0yVUUVSGmD4zu\r\n4gdwFOAKEFYH47gYtNfjudXWNoTKR7pnmEvyyPPLZUMzLom4udU8AkLvvBRQ\r\nMypb8P/lCWRaH+UR7eyXf4lyMtIS9GDBaEIZoKHdkrXcOoWRbdaCuJVFx5aI\r\n6YzY5gb1GCvwnytsN1IzstOzpbXi5dwnE2Rb0YMlbOy42WF3EfT8wmjghhf3\r\neVsxZ1nGxNqS9iP7WZCpzFav510FZYKpxQtCCVfU87FGJ+ms4L/77iuoz/2G\r\nW+Y2MocQj223SQ7sskW7SuLMPKcOjuQfNPZvjoyLDmWNYewDoetKy2BO6XAO\r\nYStwMfqUlKVfcVyIBQPHiWAf3zDc+JcUUauLmuRx3hB0JtQyAlT/dF/IjUY6\r\nLVhmlcTjOg8eanxcvE4G+wTMgxvrZAdSL4c=\r\n=R6OB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"cd42da9486d7b22c942271dda8bac0d0625eb92c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5261","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5261_1678118881401_0.018224689587446052","host":"s3://npm-registry-packages"}},"0.15.8-beta.5269":{"name":"piral-jest-utils","version":"0.15.8-beta.5269","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5269","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"54bb77043e687bd75008a96992e108bfc34c0284","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5269.tgz","fileCount":66,"integrity":"sha512-UVG5xvOh74fzMbJWlm8qmuqmolKuwNBnwrEcaFj8FpbndNsWWx8okb1u8nL7MJV67W4TF0bd39BvqD3LAGbd/w==","signatures":[{"sig":"MEQCIDc4aRLNkR/HQbSLfOconK8sirMZzv/ekuaP5lbqHGwbAiBg4PIWyhwc5czR1Ft/SBFE72VfyKQ8KOdMeUqM7d8OKg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBzHNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXXxAAhwYaDqgr6zOi9tsdDWeJtZgc49L7SpLkASmIELlpMjJHfmqC\r\n6AORb2twz14Q51C9bPNz5rib7+tOVuT8muWegHlb5uC/p5MvuZIVqXOhYmiU\r\naVXa17vXDvxWf1pPN4j343iHiIO/w2Vj1CHm8t9JIP9XB+heBzwbq6MFjcuE\r\nIvPnjNqdBGzpu59ruY+W26QpJZC9yinj5bubwnGrngRO2fqhXaDFF26xLJEA\r\n3IK1vdtLuPFbXXGznHCxITv5kntqF5Ce0pQIXHm/eeS1J9gOqEfQ0WsjT31Q\r\nzDqGFvY1PuKT1J8v2Iy+qX+2kzDQpMqFdZ9CGYOSGNCV5TFRdgnr2eMcOsOS\r\nh6Av6BdowfftKwnbrCc2riwZJRSFVmKo7rcV/ObTD8+iICjqU3DDRv4Ma3Ee\r\n3O1Z28qYxgPTHqKyCvd/uwhrYqRHemFFRTzNCwGDozH4SwgbKostTI5hDqpp\r\nIVLmBlCKz3pE27uGKAAAAXrKMO6lpywSBkMW86AbJeJ/WMfDucJUhke4d6D5\r\ndVEMrrjEv79E5wE7gFhz8n9unujG1Yq7ogGeqlTtVBcAR2j8I6T0BBjpYcRH\r\nWuFbneNRjgAzFN6dwWXN+DmCkaM6HDum61IHahzyogVzZ5z6kIIq7YcOSQEk\r\nQUjgM6GfLcYiaT8t3GJIS2za5Me09zHcOsI=\r\n=9KSt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f372d7442c3aadc61ffd5951104f084744b2fd5f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5269","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5269_1678193101663_0.07720950689737016","host":"s3://npm-registry-packages"}},"0.15.8-beta.5276":{"name":"piral-jest-utils","version":"0.15.8-beta.5276","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5276","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"199a955f01c28f03f9567c5d4fe5fb5e7bd2ef39","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5276.tgz","fileCount":66,"integrity":"sha512-8k+pXuAJnP0pRrYN6I0HHzT86kmwomrttxS85mtdUxYiPxlLAbrQ4DSZCYb2g91SB4TMvDKj2X8ofJF9Acumuw==","signatures":[{"sig":"MEYCIQCTKUwtxELuG+KrnORi2AoGXJyahGcSdp/rVrLcz4BOcwIhAKwSDpR6vVR+Z9ROBrigCmfKXCtGBBr8p1lzSMmk7pIH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkB7sdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpceQ/9EAAoSXWoliZDZ7nP24D7Mg5mRzRfgo6Upz5qPWvzTKe6bIRG\r\nSmlA+DBLGfSHybax3DkqwBxnjy9miaM9p1joYYfz+ZHzduORpsZIyYWRsHYd\r\nwWojtXv5aliUq0CyinQcHcVl0cC9tpru+xI1NeXocufhjQiKsVnhUdm9janH\r\nuGhXq5GXEVrUUlJXbGkpEmwtw1vjVwTY5fvu6q/NFMXjT3bHfcty6AE+R5uJ\r\n+3c3wLv8AjxBMTOjfj9XphLt4WPMq5md1LayNmcwygwLwAXRG+Ozbo0PE8UB\r\nC1ZkK/W5UvFSdiK7uRnushdgI47b9yNJv5xdMTJcpal2GUWrAF8QEpu5Hhel\r\nWLTVgQMBJRSzqSaLEVjtmOZljEwTNRrIBqk4hqTy4TPFrC9X+wrRiYUvAtDR\r\nYircjwEfE35CQrBhFVwKHHVGRw/Vf1riNLjsKos5dQnVTM7MVVXiA00PLTZ3\r\n3A9+RGMGjxTHBF3rjafZT+lfV7swTmbQ7DgSsb/kcL1gFil5V4oGBcERyvwo\r\nwREd92c1wVChBfElWgHHBfi1vu7mDa+Yz3th3jth0WjkvWhSc9uDaW9Fv3wv\r\nedHG5Huj7fmoQhj3ix6FXItckmX3CD5PQYwcxxiz5JnL2RadRF2iiacml7Un\r\nTuR1KL3K5gaiZhIbH6WTwtAGSzv9nppXllI=\r\n=Zxto\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"1718c338ffbe4be963c8e70c1265e4fa56d5a1e0","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5276","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5276_1678228253004_0.23104575225322121","host":"s3://npm-registry-packages"}},"0.15.8-beta.5281":{"name":"piral-jest-utils","version":"0.15.8-beta.5281","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5281","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9a5a10d6a8e30d0ed24e5208dc79b35859598c4b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5281.tgz","fileCount":66,"integrity":"sha512-HzclAfM+ur2zMbxremD6+YVvo7FBwakZw5aWwPRZ1vt1r5PHq87o/5FE4sCYsA2ebpPNPkoe3fHhqQj0ZbKVyg==","signatures":[{"sig":"MEUCIQDHsJn7WEvIjJ45Y9da0lPkVu0DgOTzSqp0TwOgVcIRMgIgF+maxPKARZBnJR9elCL35eSb4zMauYt7RERANEbiMPw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCEU+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxHA//cACxfi8lexOeUtEPxUbw+Dz+gMb2g32zlO28GGj0u0nQaqgE\r\nhPjqycZTPp8CuXmS7xTJkOFfJKIWXJWuE4FPHBX8A8mg1mogp0EsmFmGZh+D\r\nqBH5Kw8IYSPWzeWBT0mGOD/vb9I75176fqNfZ/N37Mc/hH1lDpfeyU4gnCf5\r\nlFHT/+qP0eGJ7kVxYYjslC6Omf0tPbVSOVusVxUF15noa71LvBRdFrU5GMmk\r\n5VscEE/uWRtyABODF9BTT8Cka2Ct0LxT6yH3z3ZBMEJl7oUkH3gJ3t5ILbbE\r\n1AhBwuaUeTAdJsdDAS4rvrGMBbZkmZrKqbTEcFTde9UjrgsOnnbYJ6NU9Nut\r\nPOT/SkufMx5nmrZc5bLeJgOeZ5SAvcQ2lHtfVYxtb7u5vr+sRsKzixRbgNXx\r\nRNOhJbE5cGP9n932Hkyvw0rRrciiePvuLw+wXLTjRwc5t86jeuclGo8uflQ2\r\neSFpr1l69yxeosLDl6LL+dL8Wr5jJxE0znzs4NH4Y212ALnZic03HZlUCESW\r\ngJgrR8zq7g04eHzssgMGeEr+rfipiUo7rh9CSfezPA4U9FZOmCRoVdgpVjXK\r\n03ATu439//yDyj7EASHdJKu26AXxXdJtA8qRvhqabcxdOUPBUaH6Ntl64ibD\r\n2rMPTawCczOrEln+/A/p1r/V66lIKeOTekQ=\r\n=LZLu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"2e9e94f7a6e4cab98bac439ac9faea95127a00c9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5281","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5281_1678263614535_0.3685575161643557","host":"s3://npm-registry-packages"}},"0.15.8-beta.5283":{"name":"piral-jest-utils","version":"0.15.8-beta.5283","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5283","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bf952279a8d29ca17a55a16210e0e4afe0f31d52","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5283.tgz","fileCount":66,"integrity":"sha512-TseHrdIqwDdWyPvxI8nMdiF3pZTCw45pve57pQN5/HUwgsmTj/J+i77Ws/4cB5ko9fyGz8vddC9eNwLu2r0JWA==","signatures":[{"sig":"MEQCIGe2p3a//gl3kDNwGZuc8wHW3dDFBLWgfWJLLPnyAil3AiAZQBIkZQ874v2TZemg8JFatYnum//D9H4R/4zPvGMFTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCEVEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnTw/+Ij8SMAS1nj15WtzUMJHP8oUfMmFX6nLnIOOA5Z5dNj/uhe5V\r\nD63M4QacwuepeEMYi7c6hEAdP3RRBsLI9EBTcM0/EsmkwXwKMl+DLFG+NoP/\r\nMhg/cfGbK8OAnKh3HUBmrbOWXBF7hcIJT4o2QJniWJNyWuRgONzkK4rgGZ6u\r\n1OevdV+Hw726ZEFO8Phjxdejcz0ahr3Mik2IxhWpgzzTm9CWOFV4q+7Pfw84\r\nlRhi4hvmHLAt1slmZ9EK0GQyIlNXjf/H+tIKdCnxhxaG6aqtS74AWU5PlRDI\r\nVRL03JKYcynTfEs3GY9Eo6t2+10m1nkZUubIfSzsNi+9nBdbxslKCk39h9HD\r\naBR+6ds5ugZ9z9zE7y7/uqugtXit3rKehoLtHQSQpDyDENWsTIJOEeIgxQjG\r\npE+sbZtIGQyO7VCSrlcQfUX0S8mY9WSM37UwI2bPrgtzVl8+j4GQdfRSLCLU\r\n4TMkFJjDXtDK1Xywos39X4GmNOfcsv4tVdafbtFhDJk0ujyV6yFbpKt8iOd3\r\nQaSxIgfZWw3IbwbCactP6fn7yAwjt1tkndrw6B0vOq4Pg8MFTy7yz8wges8Q\r\nGkQnss8/SvVbzzf29QOzqcLynORqQS4GOFeNFrM5AoIHmzW02Mxh15sIV3V/\r\nvbHiCOwJkgG8cIFVxFM3ak5onvAUoKhbAW8=\r\n=jAS5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"2e9e94f7a6e4cab98bac439ac9faea95127a00c9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5283","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5283_1678263620377_0.7956063520976273","host":"s3://npm-registry-packages"}},"0.15.8":{"name":"piral-jest-utils","version":"0.15.8","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cc94bd4decfa659285245d33ee415d9466396016","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8.tgz","fileCount":66,"integrity":"sha512-TRmptuAl8mouVVUgv/meZQuVCNdgkRnkhEWC1T28FMw25FA69NOTTkUb1br7awmg+5pTHt3R5v84MulrT9Pw/Q==","signatures":[{"sig":"MEUCIQC02nnPGe/HiEq3NZUNFVMsmQVCEffc8tKi8bVv1llMfgIgJQR0hyrdmn4vRSwygHK1CFEf/uZ3nKxOPDoLwxiRbNs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCFUaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrZJA//TehGYwMgvI2lD+CbBRyjigPw4AXoHkpvAW/E1VGQ9VpZJUgG\r\nr0mTwPeMczFm2tMqoSWvl9OW41u8EbfjSp7a6Xa8Z7nAtCh25l2DrZYByLm4\r\nE41P2V/0eB1Bx2casgYLJILQZvaYFWB3uNEt23erg/n3V1guVyXJWcnw/36l\r\nwdwWo0sym/w5ujm9TUS76i+4Sacp8QvB16HVbSbPkOdSfEvMP+bH8DAe+KB9\r\noxtR1P7ernVtjb3PNUheB6CLz608gJJyBPaprxvUSeTPiVwGvb1QhF/WiMEq\r\ndB/+mFGHxXU7NnoAakM3W85s46tDKbuMxKnC2/pT0t+ZioEsignFbo6+rQkc\r\n5Z2Pp+BdnQV5F3eJLvmdQ5CRpCdO2TDO78UvMPDBPGZyMNNS5LchhV8BuIL/\r\nWUbQrFr11ZHLPmirvRygn6abwzwNjeDTH+Lf82uSdmJIOIBEcsUJuAW/xKGx\r\nU4HnEqJB+nlF82b/Qqo563G2j73qODHeBleg6Jlxm+VI+x/9JmygsVVzC2JZ\r\nDzIFh1/aPo0jqNwBZAAisgpDQmDog6ClZbb1rOR7AK9C7vKLKi6a/nbA+Wlw\r\nKws9TdWDzlRZQ5MelBSmWOHYYpM1JMNFPknaNZEeszhzDja9W+2HP2OD5uyX\r\nEKvH10ZR0tEJgqorSl/PlLi/KgVti/SxTrQ=\r\n=GSCv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"0d9486dedbf2a368be8c7debf9be8a8f89b8139f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.8","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8_1678267674140_0.8887878428569456","host":"s3://npm-registry-packages"}},"0.15.8-beta.5316":{"name":"piral-jest-utils","version":"0.15.8-beta.5316","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.8-beta.5316","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9b0d9e2ec61dc219be1a4eee8ca6570af5cf8e54","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.8-beta.5316.tgz","fileCount":66,"integrity":"sha512-6K2gXP3w3nzROeCGX8+JtikU2Rbmpc/huOEMUf8GGD0bdQsi41poDwV8kpacUMdCpnQ8vQMOGkXndeZ+sOVRiA==","signatures":[{"sig":"MEQCICfqQseHY3w+N7jaGEKsGUgKHdFQML5YpG3R6WRF2gx3AiBNpihm00E2l4NZ5QKpzTqEC0QANikpXarGeQEVARBmCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEYE1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoG7Q//V4UWLC852eXKrLs+X2J3QW6v2rgkLeMt2LFT4hpZxc2/FfCY\r\n3Wnj5UQnCpqttTfVgfwwhE3P1HB02hcfvuxjj2yKK+l2/U1vVKJUsnJ5BZ22\r\nnweGX+/L9gn8NagBdsDMF6TXiAkBxmyq0q645al84LC+wLwwlz1Z7ERr2Tjr\r\nAzdXIUpxXvVyGraA+fHMzMvQc7+AbhBXhe7nOrb1SOy80rRFwDvlYkQZXYhs\r\nkyvD4h0F1hpM53U+fGmJwG/hAoWU4oMdVGIt9EdEGLRR1ZDAVuD7K7M8Y/UO\r\nPe/T78Z9xE21uZS1XzlcE/RpNHg3lJg9NYWADAfT53GmyJtSxOc/gRzJWV4V\r\n+NOZ50pwXSpXW/2co9ygDmL7+U/CXGfUx2i+t8ivIAQNX+8IQ8UKyf14h6j2\r\n5T4KRlhf/89ZNKLyINcrH9TTi61tJF0NZG10sOFL3NChG0eVEEpSOSsJN+9K\r\nyF5YeKvy2zNwRWnLROLLsB1qIY2+2RL0NrtCYVzWmqXpkWOIiwsRlLZWv8sh\r\nrOMwUHjI4t0vCw9JFU3oP/dScQ2ofBlI0ZT7mH2kz/KLNESJiGds9+QKhyfg\r\nmn9Bt1nq2P/XY30eQJGN4glB7Z8QV9VOrq5Kdp9/d26WsNoOVPqzK+/vKq8f\r\nnhRD2sfpDMCmEetMr8fpHcvu4q37XMR1jnc=\r\n=Jhld\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"62cf3e403a817c02836c78d987d04d1b987ead3a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.8-beta.5316","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.8-beta.5316_1678868789162_0.08284081580636893","host":"s3://npm-registry-packages"}},"0.15.9-beta.5384":{"name":"piral-jest-utils","version":"0.15.9-beta.5384","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9-beta.5384","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f1c193d87aeea02aa5b03a5e924687e2b622c097","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9-beta.5384.tgz","fileCount":66,"integrity":"sha512-HeAiaVOK4ZTY3+GXCsDziRiB3m79hrzhGc59bJJa+2yK9kdYAGqGWVo1alTCQmwUIrgZap9L/QK7AxT54UsBSQ==","signatures":[{"sig":"MEYCIQCBEadS3xyuM//mN+5/Z7ZOUvZE9ZBnRg/0NPq5h7ajmwIhALl9VkVuD5NLyzasZzeYNLsv9Ya4kvjgKvJqfttTD7D+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJAG0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmor8A//WoXnUA26bs8Rl86QnGTeA0LOycly/SOBoP3rYpbl5Jum8ynK\r\naaDpC4MGtJP0v1iGoykFo005OPbdw301/ds1nqYJmCDJqB6TWI99eBRsglgg\r\nDumkAJViHglDizTKyY561qU9qkjO/cBaAMv7ZzDXcD7en4R9NAuEJ8tiB/Wt\r\njXCYyhNUEPb//yzPGLMMRttm2+6EYQzH+g+GoyHQCg4aYEOUOAktRbJy7F1I\r\nHK6wdFnTItb34Agxa4SxQrphjoncWzwXXWej83wA7ilMIwfkb/O0hdCSYZrv\r\nUOEmBzDCN08goCfPMe3CCFJ9arZpHnj+p283xjPYI9hZjFyN5fZKVACONzWx\r\novjgH3+OvcwPkZxyxl+Nq5eerNsXuB+KGRzISUND1dZ7kHpvuYxjmdmjCDD6\r\n28Bj50QwzZNHUrq0r2lhagVyk4q5BsENm8ZvI0jGx3abHs9ehRINwbUrl+ti\r\n4HIP63C8rroB9J5EWXI9UxGKVtcH8ogmeoGD8eyiROJRy/ONXkIOuK6o0uB2\r\nvcs2R4WUFzgSNme1KrhREPrxqfb2jyf2O4p4dmQBGPG0828Ybm6wnMV6+Fp1\r\nP91b5yMoZmkk4uWqcXR/MeIWwAKsh5JxgDC0a1ufRZkL2oC0ivbAiXHkpDq+\r\n+ZL4BvI2ZuPtTRc2VONSOBw7JWiqgEVJ5xY=\r\n=gidB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"e1fc7342dedc2c0b0f099823e15d9e5ac4c641d5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.9-beta.5384","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9-beta.5384_1680081332533_0.7957670960306997","host":"s3://npm-registry-packages"}},"0.15.9-beta.5387":{"name":"piral-jest-utils","version":"0.15.9-beta.5387","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9-beta.5387","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cbc61aaf4d95855757438c4433c26abb5f49ebf6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9-beta.5387.tgz","fileCount":66,"integrity":"sha512-pwdUm73NW28rmCFc/y4+ReF6d15XzIc9fMIgkFlYw2iZ7RJOgQpdEBGYMMLU7/Qz0frKB7EDTjedDQpOYXOmbA==","signatures":[{"sig":"MEQCIDAW7nVDbdERBYH99wL48qcmH7UjMeIWvC6c+lpSuPsYAiBh742GpasX2RqYd4LHNk6wl3W+66KUp/gYDn9YQHum2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJTjfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqD0xAAgQS5OgDMwgZcnaMYMo04Ps1R79USDGwamOyeTeT9sYlW0LvH\r\nl9UB05x0k01EroHive+jbYSSrGpA5N/Ay3AzaP8wGU1ruXAeshZDmN/bckaR\r\noA00V11AEHeAel5rTXGK/eaO38CGeG2ztKnZ+Hyt6KlrEdkoIqgAS6kO7UtP\r\nismIiYFP4OPYzYxm6eZFqjyzd8eNtq0TZ0FQJmTnafMn56e9307feY4SLHRj\r\nutUH8Vmd+1SaaMcuPVLWlI4j4OhKaHh2zxV/FVPgVKeKimVibuHe7q/g9YWB\r\nKwaDUk+3SiyLHdt/mYb9TDBczZH/SLkNKDmcuyvlluiqgtRciaAV8GPLIpoz\r\nBScv/djW+Big4OLdjoOwSUriIQRoo22aMUcqqACysoJTLF3XI5+ay+5DjjjW\r\nODVXqGHPrpySJb0XjZ+tLMSM4x57fHI42FsqIRRBcmJR5LhwR2s94xHCV4et\r\nNHlKT1IfayAwbpETi+dsbxhn8pO2FvMZxc4lRsAISmfRL75qlADVcjucEUmi\r\nPqIJlg3h5RNEipIYmLU/j2SEsCbtfxMqgeyn5lOxVkY43blcT3s103ob3us8\r\nZImPSkN/SMYmhNlTkf0uLr5SJzFMe7sEHZCCeV0obCPbA5PON3BSDO1CtVyk\r\nZasQUJEw+G5DA8llrfXIOxQC4ML50D+7e/4=\r\n=PFNz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"7e8a09cd29f25a8986169bad38e270b95be0059a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.9-beta.5387","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9-beta.5387_1680160990395_0.32216660254212726","host":"s3://npm-registry-packages"}},"0.15.9-beta.5415":{"name":"piral-jest-utils","version":"0.15.9-beta.5415","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9-beta.5415","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"07e76b535f81a2ab1ef4e32fd1d55366c5826616","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9-beta.5415.tgz","fileCount":66,"integrity":"sha512-87U3GsK5xAl/+M1/vUOC4bIlcTL+Xyh2Vd42xqzlziPSAFfZw5eaFJK86lnCCKrNOLKra2+iBdcFYdjUZR/XSQ==","signatures":[{"sig":"MEUCIQCAE+n/USGlvhjJG8Lxen5mBNl7gPq2jbmD11U/OSIw5AIgC54eWvVntsUOGWlG/FcCngsRNkg/bkDe6jkevyIMZXM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMJrsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMIBAAnU+b6MWVeGKN+SEz1KAzsbjIxSSimbzkgcx+JVHDpcpp+UzB\r\nKF+r9rrgTzTQQ9xLkVkROrT3VuO7XIUiVSyp9uYM/pGsplYEN8WcC0vkBwnF\r\n7U8nH+gQIYor1v1+3o90cAC3STsQuElj/9wMRRbZKHvDp5fvt1ZAdiUvJFpD\r\ngZ3/M4IdhoxfgwzZhyBTte7Sw05YhOYaoOIcZWBU31LlMtzDKtAyMPowx4NW\r\nBaRdsRZzWzpmy5YJITw052o+52wnYVLr6idZUWr35DJmBxD5iSic7x8YMQU0\r\n7QTB7YDc9j77KIH4vmexIx8wh3LxokpClLbvjHTwep1w89KOSa02poJsRIoP\r\nHUEOsg0UVr+Qu+wD9lmhhiEBwmb0L0KVIiQ9qOD/NlIrUbUbNV4m4waJ/7/3\r\n5Qs+ELh4nObjDs6azu/E8HF2+X0W5Shr2onCfCkQsZssQ5kG+DtUS4Dn/+AS\r\ngPV4QUEVhkXcJS1qfSd6z2GqHMF68Zod8ViFwqjkiDU76FTY+g46MYtIDm2L\r\nAcQD1dohx2mMLjhWhILM44Mg2dDXv598jMSGq8Rr3jo3FW2kDT2B+ycI07ZK\r\ncRYZJDylVM7cPAZpXhPGs91JadZ8121sOepaPUBS/LpJWnqLTglJMRwVIw4H\r\ncJF3m6JAR8CyYnth/atgo4oKNmm5Zf3YqlM=\r\n=mnrz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"85149fa812581dc049a38da51944099330f332db","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.9-beta.5415","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9-beta.5415_1680906988266_0.07642863927187937","host":"s3://npm-registry-packages"}},"0.15.9-beta.5417":{"name":"piral-jest-utils","version":"0.15.9-beta.5417","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9-beta.5417","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"38581500b866bdcc4170765fa094ad285e055d41","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9-beta.5417.tgz","fileCount":66,"integrity":"sha512-hh3nOFuzanDgljcdg26v7lUuBbtzPpnlWmr0V3bWfPL9wqaTDwiknMXbBUhX0AjElnKojOLGucxmUkl8kBZFGA==","signatures":[{"sig":"MEYCIQDpHB4FGJqEWCOY70HcGb966tnPzaACH0meJYdB4/uQLQIhANxFO5amu+XgvaxUI4HW+dXc2ivCUzllTZN0wUCoZ0bK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMVrmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4lQ/8CMkCn0b0POrOEO9yAFPfxF32Vv4B+TszXlJ+ZUPByJohfUwX\r\nfm9Ec87MsPQ/qGOE84xMyWV3f/FGZ6WY/9RQSg/PhpjKEtDnlZFCJQM8ABdK\r\naxQ+clzWrkTy88a4Emm73Pv7CPGEBij40Wf5Fq9et8RV13U3gktGUjkQwidc\r\ne73irBnx7WkNzZd6fey+8cnDsoc5zKtw8nOlh/UZv+3NW39AHlcvfkHPR8Rv\r\n/o2MXHDvNTm+HGBhqeBFB43XJt27P9DRkieYMj1kqeprd7MfSZNCXDK6KaWZ\r\n5Q3IcfTxdMQPK/p+8KQ8SAMc8QI4+USTlzimQNF4Ps9wgJDnNou38ZdMiGxd\r\nrn/mW9h7U5zFxTljUPPw7Fa2PEzDGGzDqKvXCvXFU/vlHcpLkiLYTzWD2y7M\r\nI46NErTvgUrR+We5mUerhj+8tPzGEPhulR0xLtDlNZzjnBzI18lNd1WOkpy9\r\n7KHyZMSpeAf+sMM9egK0jOm76/BQLsv0K5SyvR+aHIYmdNjgJRgWqg/Lk/jU\r\nG1Jn8RhRdsJCoeKIOgZlwDaiCxlIyc6CJSoMnjULpNd20PVS3bK1dwu7xCRv\r\nmH0L0MTgl9Agncb1vlNiQPWt6TIdn9u2o6acp7810pCDP7brV6uQU+6Mksbr\r\nCdPsEeqlWqSrrt/g1ffDord0pqDeKlsdKak=\r\n=D7AC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"dde0a115d916010beb178e29abe04fbe116f63f1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.9-beta.5417","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9-beta.5417_1680956134669_0.5155592999105216","host":"s3://npm-registry-packages"}},"0.15.9-beta.5420":{"name":"piral-jest-utils","version":"0.15.9-beta.5420","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9-beta.5420","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"802ad56ce995c64f7ff1da38ce261047c92f0a8a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9-beta.5420.tgz","fileCount":66,"integrity":"sha512-RuXi+GpIxFe4gep4wsZqpfxda+tk6GkgiB1b+Ai2x/sDoR7zTIoeEhGwrfhbH0MjNw0dJMe4GvVhyRxvi+flAQ==","signatures":[{"sig":"MEUCIDusY9dUuK1xKSduTKXC1dcoHRKShr+hCLwYAzoO07SWAiEAxpFbwdqcJMQaNMMvKzmBO0FU+Zrrbb2wwz9VKd6tZFQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM9SeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmouyQ//YA7tk6f+jPKmOSSFRRWCa0fphxMmA5qAAkJkpAqSXnxR9BSJ\r\n2WoiNzPF59CiglrHFcRDB6rdzuP6IfTnoLK3oyN72UNaqD/Y5/iIz0FCWHvy\r\nyJYCFdjAJxmPiw0JRvVuY+20Kzy/HTz27quUnVq2lzj5hPPKNbKj5WNiFPw3\r\nj6+S3Xh0aHUrAsZZYEpTWVgtmHcxUWQgmFPvBWuc7lkP5cDwt5+dS9PSUuk7\r\nvAr10pp7hvsS4yTFVQZxXpPCgB0aXpttZgT7A/1bdu5kcPZh4++dtGKPle0C\r\nRIP6CBI1+Lj4tqdJL2JCvVrcRXG2URDW88bMZ94UU7Krh5t5o4ZqdnOvdC0q\r\nF5lQhwUtxj1Acwk3D7nxsKi3OMHntG09x1W714J8fQx6oqf6zH1sf1KuG2u3\r\nqpCIrbfavZpwlNW1SBaQyB7gkSVyuzfNw4hQONOdnkhQdhDRg7S3YqlQFGRo\r\nrdnmfaSVvYgAW+2O4moPOmYDZUNFxKG+35Yc15MfXnOyTWXqh3RnAILBG9nV\r\n0gjsIw5HDzg18AK4zOJHO6dbc31jA5sLVX1K4B0H5Gzc3/xVJdSjjspLT5ie\r\nQueHUSrXCjH2oDczVrpLQPVVh/N010J63cw0BIEU4DM/wvko9kldxtj0GUvh\r\nyHRscA4QeQ50HGBHIzaK9+AVvZybKGr8kR4=\r\n=ig4e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a4b6f7cb2d3285e0d486c7951ad6c3d6484b11f8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.9-beta.5420","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9-beta.5420_1681118365857_0.28523696380272856","host":"s3://npm-registry-packages"}},"0.15.9-beta.5423":{"name":"piral-jest-utils","version":"0.15.9-beta.5423","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9-beta.5423","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bedc293107a710988d16fc0b2e0fe0af00f5cd36","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9-beta.5423.tgz","fileCount":66,"integrity":"sha512-1b5O2J46yA2f+H/Mqwp1pe/Y9gNxpAhZ6RTwrqNTFP7OuD0T/1BDHl/xeEhRiaCeP2B1mTXtX5NUkh77rk9F7g==","signatures":[{"sig":"MEUCIEwyjhDuDMYqk9fRV8W/47PUl8097aoosLbXIzmbIGCvAiEA+MPZShX7G5sOGEugA6xyPQNsvlA07soPp16UK/wBJTQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkM+9nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqYBg/9EmvMp1U/oy5sOVo8gPKct/arlhAyZSYKp92RV+5CtFg+b11J\r\nh3WgAMwjXbrNzhPhd4FujWQAl/gv2E0bDMTTJn37U2nhJPxmB7D7oO3qDOID\r\nP7VL4HeaK7RcOrHd2uXqqy6X8OABNrh2WcJESXOpWXZWbG4sd/EqplRHGPgE\r\niSmFhTjkYE4STgepv/dNIk3jLiX8h/mg9x2UwAmHMBiCZwGKW3o0OsK5Srng\r\nntpQaz6sKiPbnBMetpF22kQQMF/a4iGmXvgmt5P26mN/Mx9nPSYqgG1PTF+C\r\nETeU9SaxO+lIlQNtIPaC+FvaW84slbsrGlyOGpStx16CuSwBKmrSwcHnQoWa\r\nVJbIjiP05vG0u5KjTPW1mbAynbkVKBpLxkkgXK+0xcVDCURBhHeFWKnlSztl\r\nUmjpIVN5oj4BeQ5FuHnembrHSE85jAs059GlD7l06v5USvnb5IXH3U/09MPL\r\nJX93WE/ADLgcRW+FZ8geET8c58agJwe1jRiOARL0HGZd3+bT3CPAA93ywXrl\r\nGcKiQdocA0a2PIXYtq+EoDENXX+2yx9a3Jsp36pNbJ8UuQdr18fMLwj1p033\r\nkgYKANPH3ZpTzkBLBvYX2giQFbXbZrIEP5oBX/4BMU49QP4V5IzL4tLxYoct\r\nZp7zy1g1ncbiS3+d83/UIWxiV6WcUJT+m/A=\r\n=se5h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"df7c927d3efbe8820ab9ee7969f5b1665a1bca40","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.9-beta.5423","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9-beta.5423_1681125223366_0.13672170037709352","host":"s3://npm-registry-packages"}},"0.15.9-beta.5435":{"name":"piral-jest-utils","version":"0.15.9-beta.5435","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9-beta.5435","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d32f0769103762bb65e3dd2e880ff6f12930b200","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9-beta.5435.tgz","fileCount":66,"integrity":"sha512-43aG4RFKKX1/tQTSxftDgXJVLMcW/MRO+S5F9b/eAR4P81EZaNPda7HHiCai6YCs+/lWCsU2+67CNyskxIDu8w==","signatures":[{"sig":"MEUCIQDuXd9aLkaO6UX4HqHjvDHdZDtM6zcibqCWASciwEn6/wIgEbp0l8IyqHWRMPCd+1p6k1VI3JE/oGkc+jBz7xgNysQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNShIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+RhAAlrYt4czGko/PNEzxlqSBpc5WMBHFDdAyx0gi17oSN40wg4pl\r\ntksmrlotP/thDisuxIkMY58QF5H2RVYDn3culvOQo0x/j5Bw2ZZntOrTd3LP\r\nGiBGyb+QxDv+cmrvteCbP50DyJIIbgXCdvPXOUXeuidkp+l66YJ6LojNUD/H\r\nTkimD2Y+cCN4JxDC2Ss7unaCXINMEVhs8RGHNQ/aII5CVVyWqp1TOodfVPZ8\r\n94gPQ3HX7PNv3a5e1zN6Lnv8bg6KXLXM4kgwL0HSHx274+BObqMyIEHHaWzF\r\nL9OqrvMda1QJWZKqlBDwv1cCuqlOfV+2Na1odJMq6GP3Xu7IuSe1NoqL3b0G\r\nJyXujROIt126EUf2JBC5a9U6SH/kw1CBl27t2f9Hem8tVUa9pPX+BoCus0Nx\r\nOJLohJoEKUcmzeBR9PxYYY4f6P0JBWwI5IIIWvreS2JTVvQVSQLyjLhHW5jg\r\nowcqlA6WZkFQBSTN4asWyp7GD+SHehgDcGc4i2YVv48Ia3C25MLeqvOoFH7k\r\nyNQ8DbkzW8SxFetTZDttNbi3BZofsjmN8ymb7+yNo/5Ot6RUUCkSevasnni6\r\niHsCPshNRq5Nydio2djp33GKxbOJLL6TuPTwA9vMZWMzB6QPbIonPlqPtv5Z\r\nBGefkK9+N7bgKATjGL5EB9StvN9FM9saJkc=\r\n=itfQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9a36cc1b229556a4a0fcd7075cc51bdfd6190fe2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.9-beta.5435","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9-beta.5435_1681205320112_0.7522421168599627","host":"s3://npm-registry-packages"}},"0.15.9-beta.5437":{"name":"piral-jest-utils","version":"0.15.9-beta.5437","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9-beta.5437","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ce822b1187a923f385978e475b779068da80213d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9-beta.5437.tgz","fileCount":66,"integrity":"sha512-OhRrTItfHgoENLED7RoSkNwHjxFpftaIrBOTKLbKFEEz02lEhi2HU8xWi9voQeEqKcWZ3ltafxIjoKRXRp/yrw==","signatures":[{"sig":"MEQCIEtJ2VMRQVqpyPFWtyT5/XOiesDww5skp31lCy3xm5h4AiAOaLe9IPo4Sn3w/01cgYbr3aR99/bjP0JdWMUf/g4z7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNT1/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmresA//dyEXYFowJkNaDOeBo8NSr+ka6WPEjn5ui+5ZECNnokgrOXuK\r\nIz0NFqU/ZUz4e9WkDR0xoU71UWr2Yyux8uHkv+1BndP0dvcJzTmreiYXe8Rj\r\nS+PsUI/MBHARhqyjK3z5gjb2cfdcVo9TzveN1vOwd96CaA4jG14VQ0K9zVyO\r\ngoYtP8RmX8g6Z3HH/6pzAwz1YpiXeToOnsNTVtjJHNKkY1eSiH0mx5jKR7+i\r\n4b5O5Qk6yIfquXb1XmEbCCXdVttX5Ed9c/xviAKK7ezvSrsqu/JrdDQRbobB\r\nrgc4qhVLoBd1DfukSJPdGSY/8ez3k0YCmMFCUG1qePx4d/mhDfVAwAzDeP7S\r\n4XpEcshJjn+d2ukeRN9qYi/OTS75FUbujcRE2I7iIcZAwCofv0+YUQSq2ZN3\r\n1088iZNsOAQmlJdQQh9u6+1zjC3BIo/rSYc5dUmccNOn2qU0M/6nx6F2hrYf\r\nmuiVE0q2I1ovYIlhFB4dyAtUtRgQgqQls1hMWXtbv0k6Zv9nh8bNG1eqCb3t\r\n+pzJ1rE4loKoVIOCjYr6ZGw3EjfTyMpQDa/SorH8SPpSaai/xpMd8yAlk6nA\r\nc7eU9LBDLPkRvb+Yws5QVc96aKyD7vhid7UWnKaL3hkpPQk5VwDXIg/YSX7s\r\n4nWA/2ydm9s1Zkz6hAOO2lL5Z9fawhMOCag=\r\n=aLaK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f8f4a7e9d40f1867843e52379c9dc29ee737f409","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.9-beta.5437","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9-beta.5437_1681210751358_0.7934224937038112","host":"s3://npm-registry-packages"}},"0.15.9":{"name":"piral-jest-utils","version":"0.15.9","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.9","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f84a5d57bcad82ceb0c863634d79152f22b15b93","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.9.tgz","fileCount":66,"integrity":"sha512-0ALMqjeAka5c2YKMPVxAx26bLnSS6gng7KWLsc51ijO/WrZBoSx1C3bsbFKTe8OYHZ9UZWCFs6J4nUPsMDTF8Q==","signatures":[{"sig":"MEUCIQCFWAxK2uip3vWqcI9IzE3XRbgHPsab3TpcTvvs9kBvCAIgAn15BSYuZsW+x/8Ch4QCrVSvWiadtSJsEV2d4nzPp+A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNaatACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonrxAAgjuuA8MSxJ1vuIFwMal/l6MEvcxRKN/ZboZEHSyF/UMxVy/4\r\nVmlZnFRZd4juJUzHc8R+6w9A/saOfNWZ9h5tJ+2DnX8pFNfrd5+S7W6DHtDx\r\nvV6H9FB9i3Sns3auNOZbiZ2zPZbUnK6XZr0G1ItYkIn/Ai0sLPrtaaz8Mwo0\r\nd4mDQ/HT9YvKTlG9ssGf0GuV9KpiS/aGqpLP/vNe/txeaoFWEvKHw8tJoAgQ\r\n7DeM0uwXP/zY3NjZu2wEFGfS+z1lw2x240TQ9LM/JuCu7q47aFWPKRtmpRPS\r\na5i2BssXejdB7TvXNrCW7LRHBnmmho2+z+7VMJBv6NjqpyqQXqE4IDWN0sBT\r\nTdk+0OKh39oaxq3CMcnBkENiatmLPd9FTkWZenADeyzATtek3V18JkQ+B5BJ\r\nh+P9Ugki5nNjgD9+XzD+cZaweqrFbuoeUKfysVI0YJc1LmfJtKQblralZvF9\r\nuHeTFLY9cKA7ZjcGiDlpoHNtpDlaJKlpkSPPxbXjThrW9Yshm4PEHRyuyQlU\r\n0KH/dlimPxfGBIN6AQg15Z8mwBTpfDet72LY2hI5UYglcEg7bi/rdurb9UGD\r\nCR+lxgxkHpfFwP1dAmLgSGlOka8oB94XgYHBV3EkcbJUf+9heVOZYd6+WxdB\r\nxaYy+r8x14GyWzuVqN/ShL5FottHwjzIMN8=\r\n=fByw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"aa0d6dc1feda46ee7a459441d6bdee589f49a1ce","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.9","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.9_1681237677398_0.3593644126554547","host":"s3://npm-registry-packages"}},"0.15.10-beta.5447":{"name":"piral-jest-utils","version":"0.15.10-beta.5447","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.10-beta.5447","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"afcd28b9cc9eed28690bc5aab3bf7810c9337ed6","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.10-beta.5447.tgz","fileCount":66,"integrity":"sha512-qoLEwzZN6iEdKHUzrlCzwCztq54DmiPoWnyEfmHbvnCh9M4467ijqVOwGubk9Eg2WtxCqOlfMkoLwtj+xlklaA==","signatures":[{"sig":"MEYCIQCJxRez0mBIChbUguH9qEA3uHPoq51VRrgYrU/DszHxNwIhAJ9v/OmsTxXQzIQGQ5n9eEPw1/Sxe1agqZi/rhCIY0TN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOGMcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJuQ//aC/AGqiuFnWXMMoWc5o0LA6jUWADefpEqilCKSOh5iJ99yqI\r\nCoB0BWkN6GAOre10uL5jcDhM00E6sBffCHJ5cEogCJw+wTd4DZKTtgIuy66B\r\nAxB5BFPi0Ca3/3XdxhgKwi0lwWhVhqf0yw61B2USpNkX4sDeqhys4SFzJoHH\r\nZMS4H5/O8OW1Zahl/2n5uQfi9xb2oJ4hOkinkQ5dlRGk4mPnOfR5ECgSKQci\r\nNN4NhGb0tiRaVfOFqrEOWLoNhDJ3F5z221hkO/bvTxueNvWQ53zsdQBu7MVU\r\n/ruYY6LKrz0duAYSqAjkoPcCJ+a+X7BK5IAC9Ej4w3MeIfT9QYxx4C9lcB4i\r\n1B78ul++1ANexhTJYQtsaInTxNoLH4LIiC+mBL2LsjZ7xFRpKy7en8MBT3cA\r\nR5NqZEjim4vJd+CneL2prORKtXbJwRM+JpLyigfxsTKC/w2jEkZMtIljRToD\r\nBbcMWhzI9lyiJEb8TqLZqA7u28GC+WmluXPEqtHSloAj+r9felCyrHrNFLhk\r\n5aNoG9YaDKrCFw479oNkddd8LdbUcy6HjwsDOAEOFSRKQYKSrtQbWaZVv2ic\r\nrWoDqjPeoWDYkOoLKoqAuQeoJp5B4JfsUFCD7QoowfQl6E3DBU/ll9sjAKbg\r\ne/QvlyzZGE5rcuLjoQITmHmKyScAp1ppY/I=\r\n=aWo+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"29c46cc421457235e89b8ce4e577b092d615a66d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.10-beta.5447","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.10-beta.5447_1681416988184_0.777422105379866","host":"s3://npm-registry-packages"}},"0.15.10-beta.5457":{"name":"piral-jest-utils","version":"0.15.10-beta.5457","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.10-beta.5457","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"18ee378dfb7df19ce33e478127f616d1885b9324","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.10-beta.5457.tgz","fileCount":66,"integrity":"sha512-JG58gOG8+21RE5xbDgO2LuwY2E0Oh9THIOTXnMbPHGHo8kQqkJDstBQIHD58emKQ1UdIX3FncCs3JqVEqY/RAQ==","signatures":[{"sig":"MEUCIGjtOx839uDgny+/XPMM8VIpnaJqXynLgUAjD35cB1A1AiEA5622h2Fq/XXVx/xENvH+TkNk7QF2aYe0Wl7/o0yXHJk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPP1oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp2OBAAj1WkysnQPy4xYpYU90ja3bUECcJCpSTLmV7dQV+vX5NV2vxn\r\nXQNnteJekUpOlZksRIK7Tl3RP0PnL43VHmBCYoEB6AUn6IjhQM9BK/cCdtmL\r\nzAhgEUJ2EmdRbVqphlnLCCzQl0dMQslDgtq+Bs5BGq5riryFohWma7sv5Fz/\r\na1kIRnv+nJjKOIDRikNjXQh4Ji8MMvocKFvdyZQmb/0i7d65cfS3s9MnQ6SO\r\nWDL2USV4PaJLC/eJEEJVEO949JgZvk8+10Ld12K50qGrf+u6Qb5HPefrSmh2\r\nrY3EqxV5LJE42OuTMn2V3E6r3zhU/kw7BRok3tz6+vUOEMJVUnMNit7H39Uh\r\nYICTI0r1tBbrLn/cg7u2+6T1nvY7sjfCwGlLxmYIsCji0ytTroY7FYhXlb/F\r\nld8dccQ+s2K+eWW53S72snNBT4aXhE0d0WjpTMOexPCDXBNirm0T/Ayl7aaF\r\nsds1e/rFMjTact0+cZcXZuZL0arxJOeVmqawnmc4n1jN3q63cbtkYpd934d+\r\npyYjfPycGZLOLoINXD+2j85CYlP3/HmlKpfQu5Arh+VeMtHlqs6GbKh4CLjx\r\npy7putTMbvaPSPuk66MR9Aeej8evDxeZK1w2lIUjboKEgkqTM4Wll0s11lDq\r\nDHrcv/N6vnaOEUVEGd33GtmRtlgM6b2viKs=\r\n=wpkk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"dd199d0645a2126ee2c5be59d725b4b752eac928","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.10-beta.5457","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.10-beta.5457_1681718632310_0.6196638391221054","host":"s3://npm-registry-packages"}},"0.15.10-beta.5462":{"name":"piral-jest-utils","version":"0.15.10-beta.5462","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.10-beta.5462","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8ab5b0ba505390eb959fde6acc2b38f73f4b7d81","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.10-beta.5462.tgz","fileCount":66,"integrity":"sha512-GVg6RKwHB/J7Ac2gE36MnVDy90+8Ln714fJ5JyRFJqIxRw4CZOwkNgj/CZuokkksFesn77QwxGNjU1fV7fP06A==","signatures":[{"sig":"MEQCIGjn/qpegmrgdg1Nm7dUYmCX80P5yJr5Se72djqrxga/AiByvwZ6wcpAKQRoUM1dTJM3YWzJO459DEja8rLwRqZBJg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPltNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9XhAAmvnHKywbaok2lwYUlSQKhCXIXZSOj6Ue4WWPt6u8KeRC0VGw\r\nvCcuXIV8C0MM8giyzaBJsZBtT1OAlLPQxhuPQGfVmNiSvvm8rr1aoywW9pUT\r\nFOxLszApERVWA+oSXvZ9DmcmXVPmY45ODlDN3J2EZURK6OV079ySqAlOGjV8\r\nsF31UTswtOAEQipSLoVnYS22MCoWZuUW2n/inCQHXeWRGwsrLQGamUU0UTjQ\r\n4qMmWo/HxMM9bNG+Uv3YrOIYma0HXLxUAecJQO8apgKDsHKdOXAfMEuPGtEj\r\n2do32FMlv8cbgFLZ/xT/0l5PDq9FJv/9h9Y5TofPWZmmxNL1KU+u8lbqbIPp\r\nGUoTDYHfLjYWRhiNAJBZq7j9+ydaKzGrZV0gVdA5jzeJ8FQk+o15vN59I8Je\r\nrYJf2/msI6u5MP1zFMzWd2Klbr8ctcHZ7fRb+fgNAdd17eowmElkpQfV5Ef2\r\nd/fMT1FHOjDN2I3BV5lj1p3HFR85Ev8IP6gwBc+yVyF3SKCEcmS2lw9KDHuc\r\nTYX5sxzg5MDSGmUmQdkiFS6LcAjgOnF9gYFUhxcsJiLzt8i0qy4XbMzUdJ3z\r\nF10AEZYqzSk5+Wr6EwXrY9oM7qYUejzeR84HrMXxmyhSfquY3FvyxvsTYclw\r\nW4+tx7x5bkZj0PKfC6wB7Vjtvmmf07fbWsE=\r\n=V01a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"11acf184ca5d2a56c7f9674b12aed0773489ef88","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.10-beta.5462","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.10-beta.5462_1681808205814_0.32953237635201127","host":"s3://npm-registry-packages"}},"0.15.10-beta.5463":{"name":"piral-jest-utils","version":"0.15.10-beta.5463","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.10-beta.5463","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4b15a2fb7c2b91a3ed3cae703a6b15d5a5a56128","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.10-beta.5463.tgz","fileCount":66,"integrity":"sha512-9In245wluPM6Uwh9KnXq/aIBpTaehcCLuuLlgI2qjLPju+UOmLY9SKnz4FqEz4VwUxPcg0ol27gEkitzXns4ZQ==","signatures":[{"sig":"MEYCIQCiybfx83NOBTYKZdX+joGdJZonbyc3bxbWskswa7CjmAIhAIg9exQeW643MuJX0Ou1v7s5RMkoY9iDyefQGgVPlLH2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPnNvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqrQ/+JL9OxDlIINOzeB1oOmCnSs+AWBuWPG+8KBNAcBtUmH1jVipP\r\nZOxjoogi0ZgpuuhemjL9UjBf+XnCIYIlEKhIVmp8e1c1zhReWsTuty8cptoh\r\nqbSboHsOZ0tTCwLRkqEkexTRKvTdBd1m9cYzf4m8ZgQXAA57jQg1Dz+ULHlI\r\njxM/aj4KJgI8SGAYzXmkR9hPoQ9tV/gH+NBQHO4mbAn3eeXAm/LmSHKGRclC\r\nrtuM3h5ucBYZDvfiitcAGkFRCSH8GQr0ZplPQO8ghb2xeSRW4eSMe6Y5UFOL\r\nAkTqJrZUwSpfQbwxIILK4GIq2m7hl20iAbE/Yj+k9HCcHemYWXXB2DDM3Ytc\r\nbFvmXF4jFnL6fiRabPs2QzqCYu5n/7ATyMN4H+j3FnDnSDL8tLiyzT11hfpq\r\nNTf7WleuJgXhtfKHZeCnhCONSwRdIAauMXsDapqx2ZpTNyI0GEWnUGzhHFiJ\r\nJhx04rUCBl+ONlxfDjR1YX3yQRBfYGyk4QtUyD7K51Ut41ulKE7tsv92Y/GZ\r\nbCMjDby5Y63wB74Vnv5WFUYIAG2W6scOeI0aE8anROEljnoDBfzfRbGpu0Tq\r\nUtTIDuUvCTtwMoDcYWTTby0naCFi1+VD36jSHJxflLUl0L8TnsH5cpFCnlF/\r\nukCmJ1j9UiJmP19hfpaIH+K8OcQY1y6fRfs=\r\n=+qIv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"49f28a0509531a5f15c763f1d66a4aeb7b8e823f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.10-beta.5463","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.10-beta.5463_1681814383704_0.8978543468074169","host":"s3://npm-registry-packages"}},"0.15.10-beta.5490":{"name":"piral-jest-utils","version":"0.15.10-beta.5490","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.10-beta.5490","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9b86160adb7f5822c3017ad6dcb0b0f7628467e1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.10-beta.5490.tgz","fileCount":66,"integrity":"sha512-myUT/QBfPTnfr7xC4Qp8YHOKwmW2oFcWAXGjP842FTLn4+g/XCpKpm80Rcb6jGWP/EMH3SuelD6SD3l/mcgvAw==","signatures":[{"sig":"MEUCIQCw3BqbVxyMDzDwtZcg+pvI5+oHZfXE5BYUnbx98RyiLAIgP2Eb0D6q6dTJokoYfCu2q7hjqmobKhOt8I7LfH8SUZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkS6ADACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpP0w//Q/i2pJCEuwlgHdOPQYRJQWvKFS26f/vCUn1lVXCY3F2uv7Cy\r\n+JiyQw1/HvQ2PJDb2Gk9SCD5pl3291foqRTJ2GsV0LBUK+9oQzE8IEkDiOma\r\nA01SNqk3OQ1PMVdYRENm18CFtfgWiL+8ZRPMcUZjE/D3ygg3YoquDhiwfsts\r\nRFBbYErN2HOnn9auEunk3PqMBEb3B7HzImNoXi9kSsiueO6Lu5Jq26jLrnuE\r\nqAZsnTn9dOld1foe4gn/S/uTREpsjlgbJ794wElcEE2qS6RnmWKZb6zNx4ds\r\nano/lLd2j8+KJ+qaMc7JRWDXfuaA+0X2nXXqeOofVyimpffEhgjxBcIWoZhW\r\nwO3EJKJBsrWaBiBSBT8sQGWIg0/OI7EOuUtgXUgTA0r3yCRC2XUe8+n4XtuD\r\ntZh3v552xHasD9GN/wIfQTFbTULVXNH/jx38nlt8EEIPYuhvs2EIBZ84rd2x\r\nj6zNrEFhg9SgnOkxQ2U3q6qTh18Gk6Ls2+zXqmaAM+BMPeqeIyZV6f9j1hw0\r\noPoRmH7hdYsMUGdaC0gikJHau3NRLTOymatrp0FryW6mk7XfQUTRuljc+rFP\r\n5kEPB7/QKo1X3rjFv1hvn7dkujdjRJXfxARDrBTGEe3BKwQa1fCaxlyr4y4I\r\nTCVnaREfupKeX/MCcP4vu4Ow6IdQqXQlpAs=\r\n=ZUws\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"c275a93204a80a1a8fbc40c266e9256982eedbc5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.10-beta.5490","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.10-beta.5490_1682677763366_0.6028181936598911","host":"s3://npm-registry-packages"}},"0.15.10-beta.5491":{"name":"piral-jest-utils","version":"0.15.10-beta.5491","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.10-beta.5491","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8bb2ad676e1e5b5e146fca97aaefea1d3d19e38e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.10-beta.5491.tgz","fileCount":66,"integrity":"sha512-FOw1itQBg0m+mQSqySwa8W0ubz6Udq78PtK1VyY+HGJRSTLO/hCGLVcBkkjDlUuIWk0aNWsLKXNBq/Ayjn/qcw==","signatures":[{"sig":"MEQCIB9REaVBo+jasSxrySxgvM602/BqoDDSp0qbLnxOGj5kAiAE0StxRO10DH/S/asn/xzevyDOsKj2xQyMAUetuCZgeQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkS+SNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYyRAAn2uV0Y800tY8ziQDygdvXwBeHK9Zc/FhRm6OHY0y4ibGeDFG\r\nIh0KbcJ8q6nufQsOZqw3GaI39gqyIGjuTcuNAt0X78HoBATOpsrY662TbFVq\r\nMLsWRWnvMxhYfKoG3O9UPb97E4gG4j+jgOAdtr1qX8MYKqTQzbr9yOJxuNfU\r\n8e3VsBJW6jCS5Q7kvb9BaqeZbsbfbrFgM85bM4KsT6mbLk7i7AJv9rOuGh1T\r\nDcZ9v8vjkl5dKfsWfYfM9CvZuEwRtPFqsSw/YFnL//yY/50Rj+lNaNV/4wOG\r\n/o1Bh4fe3VKvcD5p/GOk8J7YQvjB02COurZ81NqPFcOrY0scrHNK6eTNYMex\r\ncyMEPDVJKA+a5L+Yap2PNIvUxi4/rGjrINSLpuT4P5RSsyk7mQj0lxbDU7Dy\r\nt3gBp76OUkxKVHBLtvldkrlbdb95xvc3EQEeHD1+jTi3kjgvahXseymiYZak\r\nbvxrUBpkrHnR9ICGf51nBkMgmGU9TlTaUvQWPXgxKNZv3pe1VaofL1V65lrU\r\nr2LacVVD1mHg0HY5XYVYxPu5Acp0iOLGB9NCKl92M4h/JDzBDjF5LnATDOtc\r\n0FIrYuW63f6FZeDmLWIc05CSytYJ+E5qM6WY2pbyYP2dRaYi1US+nv+1paK1\r\nTWsUvZU1hRUrfflmsGFQ5ev7FPjyJ/NJu+I=\r\n=ITOb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"3ee67d02efb34989f4642076e302e0813d28bcc1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.10-beta.5491","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.10-beta.5491_1682695309540_0.9624761991000557","host":"s3://npm-registry-packages"}},"0.15.10-beta.5496":{"name":"piral-jest-utils","version":"0.15.10-beta.5496","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.10-beta.5496","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fc836e7c23c1bd34bcc972088ba7fec598bd8b17","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.10-beta.5496.tgz","fileCount":66,"integrity":"sha512-Dr/0y94dHVoaNO7lIiQ5Gg4zFvWUWEeQo3tlrb2hr6ys85q5r4bKFi/YlSfTRRl6h9cx/R0o4v5raiI3/Pk8XA==","signatures":[{"sig":"MEQCIBLvowTRE56Hd7oN7G1tZuubEgsVM0bRK4WPf8iIm42gAiBMAuaKMkFQtaoPCGqV1dpOWTDctezg3wwUJToornEv7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkU7mIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrOog//eZIAtjrK5BPF9MHlNVW3Kt4WoXznhh8ZAfOWGMoIK/6GtbD+\r\nOFmPXYaZVdB3HbKxm3etAnYdifCpGwYYLJkhGyNiBjGout0GGNVLLp7dpsEp\r\ngqdX5CRlZzU5cUUcQXuGVdwCdXbLIpOzgtF4J+EnJx5Pz0CB1sgfxLOgxFDJ\r\naB/vYJc8fSyxMdycXgXaFT+DkRGN0F5A/C6snmhoPyJbhIHsNR+dRs/lVlJ9\r\nEIYK4pc0Jcj+Z4v0Zkf6b82ghN50Y4L743boWSWC7yImzB0QJvy0nZ+WSaPp\r\ncHvy5L/QcrZfj5G42wO5TOPslo1PmoatSnoxX3H2R4SuOeXnf+VkUfPZDqPu\r\n/+upOT0Zbev1k3gV3X7E2Af4wuInc9FxHW4ZgvhpU8ZhfofFhC6L44jLOEgC\r\ncf8ru8GBErZYRLHI8FoT/hiUi3RiRLMuzg6t3YUVBhqv9mins/xIyITIQ8yp\r\nw0qLnS1s+TiIxTmVcnnQZEjpAOEliRrFzImeCqhqh6BXciABtMsl3NjZIP1x\r\n786q0kL/UyYY3MEugZIf1W6hLTZfdi6N5GlQmG2dncVw3IhIRoXnh5djHOcp\r\nDDZRAk/87t7mMBaX7j4JKzEYnloCIq16qVZ4RY9z1E6hWLmrJccKGE3maH4b\r\nI28u797dv3kgoKwLAKVeO5/NVx20kDdq+VE=\r\n=UqC1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fa6436e21e3115c53329d622ae4c8bf88c62b6fb","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.10-beta.5496","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.10-beta.5496_1683208584501_0.1325915206307473","host":"s3://npm-registry-packages"}},"0.15.10":{"name":"piral-jest-utils","version":"0.15.10","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.10","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4f2d391a0fed5d87fbe0a8d943b066e93abbef81","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.10.tgz","fileCount":66,"integrity":"sha512-ibyh+jxlp1FatLMzX3C79XYhFE5PxvG46Rd1sJYkrekJhj6SrnEPc2p4eKSwaqQrMz9od/5DSU/dP77kSZANRA==","signatures":[{"sig":"MEUCIDgxAQl4U7VPvGrlh1a4oRJd+7c9a5mN9yWppiHVzEaBAiEAzo1G55MLkMyHOItNWwka8MWtNDlxd6CrhKumOIHS0Ec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44822},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"801cd5b1af1b26664f84294c86292e7b27e789b1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.10","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.10_1683541077342_0.11691906658647278","host":"s3://npm-registry-packages"}},"0.15.11-beta.5506":{"name":"piral-jest-utils","version":"0.15.11-beta.5506","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.11-beta.5506","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9c31bc7219eefbf06880745b16ecb7c5bbe41004","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.11-beta.5506.tgz","fileCount":66,"integrity":"sha512-fhm3zF59t+HnDNRZ6HTamgSvUgcrwD3J5nAWfbarv1N8qkPx56oDn5g63hNk1WNdOyUn4QStHxL9F+fHXnE8Kw==","signatures":[{"sig":"MEQCIHUZwJG3m/RhHap8yHF2DmTCyM4CSb7sQ2Pqc57JdLzmAiAhqfQJOicoGPpJ+1IHcVfqU5XFBgqe1Wu2z/sEvhz1Hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44841},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"1a604e1dc6d75849d65f91debd27b5c0518140e8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.11-beta.5506","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.11-beta.5506_1683811634931_0.012902984656202765","host":"s3://npm-registry-packages"}},"0.15.11":{"name":"piral-jest-utils","version":"0.15.11","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.11","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f3f245034a4babf3e673a5ab59ef02bfd1a40db1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.11.tgz","fileCount":66,"integrity":"sha512-WT3tqsvewcRDwBn0wQfxHBBbC/aplBdB3zBDmNtTsBr+wFETDHELza6Y64vbAipL961YdxXoDcVw2J97wqpTzg==","signatures":[{"sig":"MEYCIQCmJ91APOLpS6OAvNAkFnw0FOm0BvYFA/SRN6Jdlakb9QIhAO7YUBHQk4YFohCFGF6oJRLTtM3eEeMyeQTh97Ftrh7H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44822},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"513cd05c0234dd02fdc95abb8f391e307f309fea","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v14.18.1+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"14.18.1","dependencies":{"jest":"^28","ts-jest":"^28","jest-cli":"^28","babel-jest":"^28","@babel/core":"^7.0.0","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^28","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.11","@types/jest":"^27"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.11_1684155575907_0.12658101627483664","host":"s3://npm-registry-packages"}},"0.15.12-beta.5528":{"name":"piral-jest-utils","version":"0.15.12-beta.5528","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.12-beta.5528","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7bf636f756e644f138690a2da9f4fef3a3d4a442","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.12-beta.5528.tgz","fileCount":66,"integrity":"sha512-wZuBhcd23p2+6mqzUakCzikFXhGV4dOqsqbauvVlpgMNn5rri+JogB16LBusWFXo7uus9+XZ+7TY8tot4q01IQ==","signatures":[{"sig":"MEYCIQCOFzRpL4jreBH6dfqJx57Rkruzrnv7Uz/3XyjAGB3U+QIhAMlhxARpApLomoP2XnHxIXfuj3pc0PzjPTqJqfsbgmS1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6d97a2baca7ae3e5fb19a754ba55d44b40ed137e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.12-beta.5528","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.12-beta.5528_1684281960650_0.15859940168584075","host":"s3://npm-registry-packages"}},"0.15.12-beta.5531":{"name":"piral-jest-utils","version":"0.15.12-beta.5531","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.12-beta.5531","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c78b082462ca5f0248b7917e2ae61f8e29b05a39","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.12-beta.5531.tgz","fileCount":66,"integrity":"sha512-WvykeUUJFoqksSZ6rLaMEnqGaARd3xn0hhfOWxXkHzwXDdggKgUYGhpe51sBh3j94ycjVa7Q2PmizE3YuXcf+w==","signatures":[{"sig":"MEUCIBXfuHFrXw3e7dFHybi8h8VYNy9YF5AsX6R/PYMFNNUmAiEAtuDYXmOp6jH9T1sciQ3v4YE1gA/WucIhLw3DVqcJ2nM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"e305bf2bdfa60d6325a7db20f550b58dabdea245","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.12-beta.5531","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.12-beta.5531_1684342504500_0.17270749000397245","host":"s3://npm-registry-packages"}},"0.15.12-beta.5535":{"name":"piral-jest-utils","version":"0.15.12-beta.5535","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.12-beta.5535","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b4c7379c3556bfd99ef5efc15accba0c8153649e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.12-beta.5535.tgz","fileCount":66,"integrity":"sha512-+A97V96HJSuX2+5CU8TmYsNJJ7bjDfM/Su+XtmhL1/EOOYH01Veu9UoKBMq4p6NE2nMWIZWmiRdX1yLrA0DKfA==","signatures":[{"sig":"MEUCIQDBOjADUIw2kFB8H7XSmJu5tkt8f1zxRB4R3E7tljpCYgIgCPM6xXehyIt51Y5F+xsskdvIimXENaa6wG3rKe+neCI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6decbca12cb26efb2b2b4fdec3d692eea1420cdb","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.12-beta.5535","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.12-beta.5535_1684481077920_0.3631277249485261","host":"s3://npm-registry-packages"}},"0.15.12-beta.5538":{"name":"piral-jest-utils","version":"0.15.12-beta.5538","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.12-beta.5538","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"1c5cdea2af12e2828146a8021d304f8ee70e2466","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.12-beta.5538.tgz","fileCount":66,"integrity":"sha512-nl45d71gjHCAiLnWY/9Vl6rcpZfFAOEblOxCVb8UXqCWTIjH5KgD0pjkOW+gXFqdKfhPoansdpLdwUI7zxbxxg==","signatures":[{"sig":"MEUCIQCeLs/BiO1ZcwJWMh73EAA30TRWXKJsNJH7N8rRq7VgDQIgbLySAIMLIruwUGTlaHKzA7lC2IF39ObGN3hC5S5gCzw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"edf6a2b34e37e7d280a949f0955105e07ac01542","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.12-beta.5538","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.12-beta.5538_1684498223316_0.6555796084174956","host":"s3://npm-registry-packages"}},"0.15.12-beta.5541":{"name":"piral-jest-utils","version":"0.15.12-beta.5541","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.12-beta.5541","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bceed10e5b81a869d3d8cec6291b9b003b475660","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.12-beta.5541.tgz","fileCount":66,"integrity":"sha512-NEbUl48t1oDT0zmxcEMWwWH3wF0wpsK9mseCH1ihx/zD2lRMxFnQwReKY7vcKtoaIBLRyJzKzr1L5MTyXrA2Tg==","signatures":[{"sig":"MEQCIHMUkrSunb9B20mS2LdLhmnxL1lTxsJHTCRtod5zT+uNAiAc8L1GpLTZJc3R3pd7UWECYMYzj1WW8Y+d+2iErzz6Fg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9006ea1da868b2647caf6c142af29f568ae76e4a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.12-beta.5541","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.12-beta.5541_1684513086960_0.813929089835888","host":"s3://npm-registry-packages"}},"0.15.12":{"name":"piral-jest-utils","version":"0.15.12","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.12","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"32e92ce20f5a001b9c31a10a4b75a139aa68abcd","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.12.tgz","fileCount":66,"integrity":"sha512-pkk9ONvb29IHrEhaih3E1GfPh4H4qBvWbK6SnkGZIl244wN5JbCu9xK+TQtvIqaZ5SQpU7UWo+4MuImLFrdxPQ==","signatures":[{"sig":"MEUCIHXbCYNTA9QHTO8cqw1qF/G6EHvGD7viJJAqejZb09GSAiEA4pUmVSmegTpYQMV89r19gSi3h0HgQBPjAmL6WO8Q29k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45285},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a0f06e81b67c81ebe4ff97ae593184fd1e0ba5a3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.12","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.12_1684538612189_0.9851014739868635","host":"s3://npm-registry-packages"}},"0.15.13-beta.5556":{"name":"piral-jest-utils","version":"0.15.13-beta.5556","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.13-beta.5556","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c93b423bdca2c5aef2f0182e320a53443b08ce70","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.13-beta.5556.tgz","fileCount":66,"integrity":"sha512-146IsoE+XI2F9N7nmiRtWg3Fd1PY8t6+YBLhZ/wNJxGaWCMM/pxv1uwczztppVqsAnBV5Hv+XDxkM9m/fWv5Zw==","signatures":[{"sig":"MEUCIBIrLYbELJftFj/cCEPrO9+vpweeW7ivYUayFCfcHbv1AiEA2dCaBgUAuTK6GEYeeBK1O3Z5GplXxyXCIO7rYhSq91U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d18c25ab3b042b684687ecb0fec53c2b241c6fb6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.13-beta.5556","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.13-beta.5556_1684766184729_0.5878269082425107","host":"s3://npm-registry-packages"}},"0.15.13-beta.5560":{"name":"piral-jest-utils","version":"0.15.13-beta.5560","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.13-beta.5560","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bed2057c39e7c7da6d4dfae9db01b055b806105d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.13-beta.5560.tgz","fileCount":66,"integrity":"sha512-FVTMrs/4+E10SEtn3NCp3ziYcu8GDNqsi1ZXlkDXTNUmKR9jLFJqp14LmY6IUGzsdAsuDiPjj1gN6lpEt0sqSA==","signatures":[{"sig":"MEUCIG/cHAxS/+UhXzxqj/JnCUQWvrtjFbSyi7WONER9ZSSgAiEAieDWnw9nQp25XWDiRuYp7oNtPpo46SQJGMoDD2SYcZo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"18136ebf42fac6b296b8afb7a5c90175ae14df24","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.13-beta.5560","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.13-beta.5560_1684931678152_0.5239249121583982","host":"s3://npm-registry-packages"}},"0.15.13-beta.5575":{"name":"piral-jest-utils","version":"0.15.13-beta.5575","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.13-beta.5575","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0c9a1a419949d55adf33321a450aa56baf41e9e1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.13-beta.5575.tgz","fileCount":66,"integrity":"sha512-rMZmvHhMCdGYnRiT3DrMf/g+YV1kE27oNHQeXZMJiZbtMKCqBufSe5WeEikl2sK6d/GBc5N5EGcs1VdLbaQSMQ==","signatures":[{"sig":"MEUCIQCl/RSYCvBrvwalVa0MIOe4keQwqnE4pAbcAcYV6giIywIgcYHUwRgDaW1/+GEoq1quIh9loZZfhrxusYHs1VN7Z5I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"44084de3fbae6c5b7891ce9cbe99740bf74139d9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.13-beta.5575","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.13-beta.5575_1685117275542_0.3134941729454046","host":"s3://npm-registry-packages"}},"0.15.13-beta.5583":{"name":"piral-jest-utils","version":"0.15.13-beta.5583","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.13-beta.5583","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"eb671b8725d045b11ac923d388a8e11fb49efc01","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.13-beta.5583.tgz","fileCount":66,"integrity":"sha512-mK7Yu6P7EY8e8G3AHcWNVb/z5WrYQyfaw7ie10htb0fM3x408Yc4LFBAuClLpfyJMjmtBqoO04XgaNYq5l0qQA==","signatures":[{"sig":"MEQCIFTlS1CGnEzw8pzdhH48EnrIgUBWCWQpei8/ScYEjc7rAiBJ0PRGmHPJVD+6G30Op6ROG9ZAjzkXpqMPHMwjCyW7rQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"2628b867cc564352d75a019f1700a5acdd9587f3","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.13-beta.5583","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.13-beta.5583_1685364990251_0.20675150910382278","host":"s3://npm-registry-packages"}},"0.15.13-beta.5591":{"name":"piral-jest-utils","version":"0.15.13-beta.5591","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.13-beta.5591","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d89a8a71dd90b71b4b56730df1cd261180e7803e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.13-beta.5591.tgz","fileCount":66,"integrity":"sha512-yR/ph4ywcU8FTUVGJxu2UQ2A+4vOupQSf7ydyFbXlChVxveLTAJb0fcbt5KKXW+3lEx9/WgXGbw/scMB+BgEmg==","signatures":[{"sig":"MEUCIQDBXNQKvSY5Oq9Sb0zs4p1qRBLrs6J2ycnPKr7vzsqzkwIgFk5H5eY7RiHqKcKTmPlzoTOKXb6/x6jSsZzZbhmtVC0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45304},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"784a1959701dc0f13b9b8aa0edda2c7ae7c7390b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"0.15.13-beta.5591","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.13-beta.5591_1685526442126_0.6100411660022822","host":"s3://npm-registry-packages"}},"0.15.13":{"name":"piral-jest-utils","version":"0.15.13","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@0.15.13","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"25c44c27f7e00d32b3befd18dbc0fab6b386b877","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-0.15.13.tgz","fileCount":66,"integrity":"sha512-Uu2KJwk4H4Ww409wDuXR63x0Nr+WKgR+00iDp6OTRHbKx2ALM4NlU9k+Js0NCY1sv8pxxaKvKXTF8xg/z8Lu6w==","signatures":[{"sig":"MEYCIQD3td/MCXtfaw1VCrNg6fU4ZbsMTh+0Zy+rSJhayiY7SQIhAO500LxvssKdeVGITokvP/PtxQXEl0VOgAFdcNC1XQIw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45285},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"1c7ef348ee00d0bfd2d8a5af20bb846d6d88f485","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^0.15.13","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_0.15.13_1685526447863_0.7922840146468995","host":"s3://npm-registry-packages"}},"1.0.0-beta.5628":{"name":"piral-jest-utils","version":"1.0.0-beta.5628","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-beta.5628","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"24a639a90e2fe7b698a130f5c64f1cb9c579cc46","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-beta.5628.tgz","fileCount":66,"integrity":"sha512-cbrTFz5UWzIPLfUFhYUR0KnXtjAT1EyN7frAZ8A8ygMadgiW4QGslmGxqfE3AO/+4MlI8fu0aecOSbmRY51gTQ==","signatures":[{"sig":"MEQCIArcsIAbT17yn/hM6S7BcX/PXUC3pRSe9PqBZxaC9VCOAiAmRmg4KI4aOhiNEj8gJ7G8LBuKJClcWorGan6s4Y4BZA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ec35b1d37a4a5cbb0730d9998f7d98eea898f748","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.0-beta.5628","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-beta.5628_1686442270850_0.3633126364163475","host":"s3://npm-registry-packages"}},"1.0.0-beta.5630":{"name":"piral-jest-utils","version":"1.0.0-beta.5630","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0-beta.5630","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"7627c361d3fce5e24665a577316e49ab5e8eb3da","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0-beta.5630.tgz","fileCount":66,"integrity":"sha512-QR/tSqWHV3JmaH/V3MSpRachtl/ZfNs7kZiZwWBjNGm4L7rSBCyf25cZr4n6QhTP9UzwAnnoeRH02oTyyTUMmA==","signatures":[{"sig":"MEUCIEywY+UHlfIWQyROSLPprXfnhOYIoOQD6OYhD058YpmSAiEAx4iDVpPq2SIK3bAIs5vQfd6a/C7+WZJ3TLPn+IjCgV0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"49c5d8e48e5cbb0eb066336bef094723d120abc8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.0-beta.5630","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0-beta.5630_1686527049415_0.3036408223974574","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"piral-jest-utils","version":"1.0.0","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.0","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fe4f255af3be0f0c413c55812a47cf10831ad588","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.0.tgz","fileCount":66,"integrity":"sha512-yvqKoGjaofwKzNsXNRpKBpwUGomGfzzLGysyhw2ySQ5Ys5x7LOCsH/4OXUiKH76Wy92WXsVybyWx9uvQ0LGaSg==","signatures":[{"sig":"MEYCIQDmZYxqXF+bAP74XOXkcz6KxcLywm8cBFAWbQCqjjnEmAIhAJcOsRm582VvvuoXmrFu8RqaOflQD05bxIud+UXl4rAY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45281},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"67d9a2920bd5231baf10bc87ae8985666b18fa3a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.0.0","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.0_1686557464490_0.579387257712463","host":"s3://npm-registry-packages"}},"1.0.1-beta.5640":{"name":"piral-jest-utils","version":"1.0.1-beta.5640","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.1-beta.5640","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3ed417a520a030273a5cd26f2a575c1409a02a98","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.1-beta.5640.tgz","fileCount":66,"integrity":"sha512-tYifuf+knLEwRdTr+oxA19VEA/XjBK6CsJlzU3Ryj2LVPEt7DyxhL/Yuk3tWxDmzYM6pIZBQ7fdudAAT7Y0mCg==","signatures":[{"sig":"MEUCIHVUTPBOvP87UybmsDHSMH5RiV1IRKV2GylyPDUOdm0MAiEAmiQOjSidN49id08CKnoTYARwmXksA9EtToiRnvkt4LE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fa0a72b28fd0a20afec7ef491ec19e93c090fc72","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.1-beta.5640","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.1-beta.5640_1686757712859_0.9186094999245107","host":"s3://npm-registry-packages"}},"1.0.1-beta.5650":{"name":"piral-jest-utils","version":"1.0.1-beta.5650","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.1-beta.5650","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"de79aa24a7879e208aa585b844b13d43fbf1a8ab","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.1-beta.5650.tgz","fileCount":66,"integrity":"sha512-eFi69NBDH6OU5I9O7qcaRt42Re0A0bvmS5gK0nM9tYyaUdr6+h/YkkH4KPbuoHxOF3IYyETjvjMdVQXgZdACcg==","signatures":[{"sig":"MEUCIF8ZiBum6qVWCvKDYewpeK6wGSDvcpbNSBNweOUaErWXAiEAyuD5EBWzuyfaswyHtZvgyflWJhwSA3wr36V00subaXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"79ba6a56d34f43c4ac76ed680bf131d009a9cd47","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.1-beta.5650","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.1-beta.5650_1686923665167_0.030854535970483488","host":"s3://npm-registry-packages"}},"1.0.1-beta.5652":{"name":"piral-jest-utils","version":"1.0.1-beta.5652","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.1-beta.5652","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a291d47bdab784f93bfec187e6257dab0b270958","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.1-beta.5652.tgz","fileCount":66,"integrity":"sha512-erhN0sFN511jNkoWM9ZUMDFi+P18+7lVaMT5BUlRVQLAyJ8SAnOQmBmPhOn7tQbh3gPfK2KLCZ5OWtEhJevvvw==","signatures":[{"sig":"MEUCIDSa3Wr3tXG9yWK/dGpy1gGpCoZJgo21O4uXJ/E/2F3lAiEAgxdSzdJZjOoc5kUmzIuUYS5SqBIm+syI3ITaaDId7So=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"bdeaa5673524a88bdb90385158b8181019b11f5f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.1-beta.5652","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.1-beta.5652_1686927550688_0.40912076429973543","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"piral-jest-utils","version":"1.0.1","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.1","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"c5c774434c40567f6006346a09397eebd149eb89","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.1.tgz","fileCount":66,"integrity":"sha512-f9oWegkjA0mqmUg5/dg6tvgvtSNWSdkyBI4NBUNhj1y2Ap9XpvH+eWa1zQub18FkjM1nagNCoUYy1/HZ+EY9cw==","signatures":[{"sig":"MEUCIDjw4qkWJnUT+Cqbv+cb7tSFiD4qeSCnCunf8m/bbek9AiEA1BHA6QvdyT2SlftWXMM+/PcDSRvRkDQbHmuZlxGrzxo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45281},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6747cddb8c6c000687c4be5afbe227fe11267315","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.0.1","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.1_1686930223111_0.06740433369008225","host":"s3://npm-registry-packages"}},"1.0.2-beta.5685":{"name":"piral-jest-utils","version":"1.0.2-beta.5685","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.2-beta.5685","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a247cd477f1f82ff6b8311826b790c910c1888f8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.2-beta.5685.tgz","fileCount":66,"integrity":"sha512-rbKUnb8nZ5A3K4xF6IgxwkOTde0PWnHloJ6vB5XD3dR1GZrhBjELigJzul0cn5x8pHAkCQUcXBiVqz4+EMCYWg==","signatures":[{"sig":"MEUCIQDzUeKo0thXRBPLbYN0C7HLLVAk8MQNJzOdafe0NEodMAIgbvbTdvYlN1jj9bunQ5KvHURsnHxRUcmwU7BxyrLl+pI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9e7b1f9368e85232b6c6138c8a3cec67977b94c6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.2-beta.5685","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.2-beta.5685_1687348497085_0.5920542877295982","host":"s3://npm-registry-packages"}},"1.0.2-beta.5711":{"name":"piral-jest-utils","version":"1.0.2-beta.5711","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.2-beta.5711","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bb9697e73701884487d3dfc90b45fda281eb89e1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.2-beta.5711.tgz","fileCount":66,"integrity":"sha512-QDrwxo6S/cMbBAGGRGuYoGiA+7uVnxXY16isMsajE8JFT5x0XOal9Vh3Nw3wmTM9mh8yPslWWGdCQEAIvPU3nw==","signatures":[{"sig":"MEQCIDalH3PlpTfbEOilcV34fqxO3UpvFZI5PyrVUcjBEVosAiBfI8j6WxKWVSnP/7uuuuMM8K6nChu4NmEV+Q7YDZv4iA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"c3ff8e3564be519321ca6ddaa3675cdf79c5e861","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.2-beta.5711","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.2-beta.5711_1687594802557_0.13890015766754793","host":"s3://npm-registry-packages"}},"1.0.2-beta.5727":{"name":"piral-jest-utils","version":"1.0.2-beta.5727","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.2-beta.5727","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8e09f1da9b5cf795bb7daf4f755941a81fca372a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.2-beta.5727.tgz","fileCount":66,"integrity":"sha512-RFYU0XSA1Cd0sMKIrRcm6pmlgfTcI2FqdENzLnVXCl3s9/z5mdmV5Lzy78j5wKpImUQTLiGemtmje6x9KNRlGQ==","signatures":[{"sig":"MEUCIFSVeTlR1zSiFfluMtaccys0ufSzjn/RzuMU/ZrcgCKpAiEAgbk+Pf3QXTgiEtOatHwv85tjtm6/ly9IsnT8dCicPRc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d19e7b63d7d35338d79789c26b2e1e5fbc81a0ab","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.2-beta.5727","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.2-beta.5727_1687722077252_0.9735129827671425","host":"s3://npm-registry-packages"}},"1.0.2-beta.5733":{"name":"piral-jest-utils","version":"1.0.2-beta.5733","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.2-beta.5733","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"eb93dc8f75d372fc2ca0493011c5bd2052ccb025","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.2-beta.5733.tgz","fileCount":66,"integrity":"sha512-Ar+byeVjLfOpT1prlu1nHfRdj/NSAm0sPMpvLSQvTQm4d5B2806bpZxPXtdvoPbzxjV6uNO+VGZqnl3L47Llpw==","signatures":[{"sig":"MEYCIQCDioDpihh91JCXzsIcDzmS1IIZ3K6cHmpMDfuPyNR99wIhAJ+JT9CS5NU3m72krIJN/EWLhrWL/MpM+0ktzcK6KX07","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"627cdab64b20c305d7e37ac61aeec505fb7947e6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.0.2-beta.5733","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.2-beta.5733_1687854549687_0.9898796406741952","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"piral-jest-utils","version":"1.0.2","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.0.2","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d2f9b87c00ccdd6e94160ea7dff44519ef42b2af","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.0.2.tgz","fileCount":66,"integrity":"sha512-50mrTn7VZwlDvsV6Q9Di8Ga+paoK7M9IfeX287dw/89V0DuMGlTLBrBInwuFQeRiuib5dqQMIGJEeawxRVPgtw==","signatures":[{"sig":"MEQCIH4BJw8yQ+4aK9FsQcUIWxj9uuBFzDZH46N6oqYqzx9SAiAWemaWdpJIbc03mAZjsEgMKdKl3PDibIgwBYMbFRFeTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45281},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"bdbff29e39799a4472567f49692f2dd46b29e99d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.0.2","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.0.2_1687855741010_0.8549348898297713","host":"s3://npm-registry-packages"}},"1.1.0-beta.5752":{"name":"piral-jest-utils","version":"1.1.0-beta.5752","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5752","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a1a3b3fb615a9c67cce60324a8710f2a5c63cec9","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5752.tgz","fileCount":66,"integrity":"sha512-emNSALLDX709bWzmN24bDJ22x5AGrb6M2QqWfeKsvBuBwBWuKOLz/o0jGQnD+t+lZmLdZQXTM0PZsWnb+b/tCA==","signatures":[{"sig":"MEQCIHusDMWq4SS+rfcPZOAQbovnMBZ4RI7aoKgW63KMbnFoAiAHwOVSikMzl1vKAp3IwDsR6v45ay99bPMZpR+2gtt+FQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a25a97f00b21282f33439320bef90ccbcc27ee96","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5752","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5752_1688684652534_0.21828286734957203","host":"s3://npm-registry-packages"}},"1.1.0-beta.5756":{"name":"piral-jest-utils","version":"1.1.0-beta.5756","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5756","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"be263a4db6426291fc17e9cee9d7a1fbbe62eb82","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5756.tgz","fileCount":66,"integrity":"sha512-sizPwLkwPw00M+rU8f0E0KPC5CXcPUEF+YlOauWZhxfhbHz1YIWv7xujeAFa/flIIYck7neBIm2TPg9Gxg6oxA==","signatures":[{"sig":"MEUCIF4JU8BsXE75oI52r5g4ZFWO3xvyONBZVhXJD0YWkM/CAiEA/9trAOLdi2VueGU+dlupDh5zY3Z5hU9hx5t/7Tmjyx8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ad2e5ac36a0a293629c4e73fb609f604895d7e52","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5756","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5756_1688737131273_0.8322588920234057","host":"s3://npm-registry-packages"}},"1.1.0-beta.5772":{"name":"piral-jest-utils","version":"1.1.0-beta.5772","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5772","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3942e9445692332a1588c756a281d251420f08d3","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5772.tgz","fileCount":66,"integrity":"sha512-ye4zdu7c5aW8r8B41pn5kYJzyroXvjhQUhOpOb2BV42aIAmSy56ZJlPqwcVCZyVafx1rRwsmwul57IE0jQIexQ==","signatures":[{"sig":"MEYCIQDzj8WN2cPVFxX43y4Q3heSrI2wGqxfauMCeOub9z+PkwIhAKcZvoXolfhc+CzW5oQQd6wzB0+HU3PHruDsqOIF5Dn1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"d8e1c4bdf3a7ebb171fd3b05fdbe2f9fd97f259f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5772","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5772_1689015922654_0.7655475385097714","host":"s3://npm-registry-packages"}},"1.1.0-beta.5776":{"name":"piral-jest-utils","version":"1.1.0-beta.5776","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5776","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3fa532b7d5512fc877c5b48b486bc6a7081224a0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5776.tgz","fileCount":66,"integrity":"sha512-0kevuRWAwFClZlB3OQOauYzFzn9e0U9E1MajS4gPmHaPtCT/OyvXHndoZ5XaDscgaTptpYr2dMRjzN9x9105Wg==","signatures":[{"sig":"MEUCIGiYamEWUjXjj7RFVChQ7j0wdD22vIXyktjzjBODbR+XAiEAoGfGQ0ec6iDYCNaIGGLNrezqfogExekiKUS10WW31mk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"dbc28ca4a7f88e1b835e56aa367da56fcc9e2ac9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5776","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5776_1689061994881_0.1190305536637617","host":"s3://npm-registry-packages"}},"1.1.0-beta.5777":{"name":"piral-jest-utils","version":"1.1.0-beta.5777","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5777","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"532575de7ef2a293eec08e94534b11ed2403aeb7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5777.tgz","fileCount":66,"integrity":"sha512-MPPkhFelLRsu86DjLyAEczZv8WVQEWkpyiY/DDpQpI3o4oZwSTHAtLi6+Zy0aV7woqtE/SMbdXUL3NdYapd8cQ==","signatures":[{"sig":"MEYCIQDMlmjFeMu79dzrvcrX2cHYzVkFoKdpc90nCGOlNAyfMQIhAMqND3fBADu3lcGAr/cF3+sJGrIdq4VvefjiLYYA6KN+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"4e203219d47cbd93a8383d33eea07a24e96a3dd1","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5777","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5777_1689064481854_0.4681810025601878","host":"s3://npm-registry-packages"}},"1.1.0-beta.5779":{"name":"piral-jest-utils","version":"1.1.0-beta.5779","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5779","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"bc95394d5aaca415276dc4a41628b78693b1e72d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5779.tgz","fileCount":66,"integrity":"sha512-R4kzTcovh+/QKGhThUgr2jxZidfZ33L33pxYr1B8TwJCP6j5ShtirOhtRzGWF6lmYrE0957yQmySTZ2B66v0Cg==","signatures":[{"sig":"MEYCIQD0EmZGydAp04okZRY99u6sgogv7Yggwt1UPQ1Fos4CNQIhAMAGSNCB6iQbrg4y3WiKQ01LKd6fNulhei+GPzF25v/a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"3019e5e429ad73ac96149aa5ee2c9b1d70b3f93a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5779","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5779_1689163647514_0.47065176268214093","host":"s3://npm-registry-packages"}},"1.1.0-beta.5787":{"name":"piral-jest-utils","version":"1.1.0-beta.5787","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5787","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0527c53ea25bc369ac97e150eb232d6e076507fa","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5787.tgz","fileCount":66,"integrity":"sha512-7vQI4q2o4Wtc0heouWrmK4VBk0cBtF6BfT1CXza5ID8s1vZBz01NIFj8kEikAuVX2/Hiq7QbEpiuB75Xcosmvw==","signatures":[{"sig":"MEUCIQDNIfPEcrrCXoIMy8eRXaTRc4AthyXM+EgcYXv7mFG8VgIgHIT9XH9kXDrlcbzNfGKv4IHNy2x6Bg1u8OxQp3/HNec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"c07aa61395a27f050cd41fcf1f77ef005340dc0e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5787","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5787_1689719438172_0.0671480204463828","host":"s3://npm-registry-packages"}},"1.1.0-beta.5790":{"name":"piral-jest-utils","version":"1.1.0-beta.5790","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5790","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6cbccb9a58244ac9b4509ce1d8e9909636578812","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5790.tgz","fileCount":66,"integrity":"sha512-m4lqV8GV8NHPzjowZR09mWuDXbqny7bRk4t24Z9rCqC5k0Wjlt6WAMiokLXNniZir7Qs5X1TJR1M9jpi1iBSdw==","signatures":[{"sig":"MEUCIQDeESYK1HLHe5aVlrT9A3ahnql8LUljAvaWLluNuo1bLgIgE9o4CgwDvlPh2AJ8tMyrzH1eHnRnZa51QPy7HzVzSD4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"72d5d80ca6a0265ae77d03bd2fdea1ad7e0101b6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5790","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5790_1689809617093_0.8548439460083974","host":"s3://npm-registry-packages"}},"1.1.0-beta.5795":{"name":"piral-jest-utils","version":"1.1.0-beta.5795","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5795","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"beb0d40b20c24ee96f008d160c747ce4467d9fde","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5795.tgz","fileCount":66,"integrity":"sha512-F89KpqdtQ+XynriQhX4Jc6JhzcY2xAi+hefDoyfUH8TT2Dtm71QfA23cQ2zxQOuBs3G1+wbMS6quXtKQUo+KhA==","signatures":[{"sig":"MEUCIDIJHZ0I4uk3yoLUVcV4eXowibbkUxHNhBOVWRN85OuqAiEA2zAPQLoq0XcEZs9YRiutVC/oDDB63LGenvcX51KMIXI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"da5f369c6bc3558a4a2013e121b5e622e39a0a54","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5795","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5795_1690193558802_0.6959310971553783","host":"s3://npm-registry-packages"}},"1.1.0-beta.5803":{"name":"piral-jest-utils","version":"1.1.0-beta.5803","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5803","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8ef2f1a3447ee33e97966cd8693c53b06f14046a","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5803.tgz","fileCount":66,"integrity":"sha512-XTg/oPk2NgZIjs2n/vdQNm2YGmR82KsBTqsA1+jpopHfJ+soT1rbnVQ5OaVXD8wTN0p2iU1+PvW/3sbuo4i+3g==","signatures":[{"sig":"MEUCIQC6wIPGUUIj8N/Xz6XmMg95upWZUbxo1KQmIBOuSv31nAIgJc5I32z9okakvx+Fffr7ngaumcQ38YZsWJ4D96nRSTU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9c8f29695665540e3c0911771a3f0120277964d7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5803","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5803_1690273295728_0.9138110557671295","host":"s3://npm-registry-packages"}},"1.1.0-beta.5806":{"name":"piral-jest-utils","version":"1.1.0-beta.5806","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0-beta.5806","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"f342ddf383c923218a1d846e21752aff9fe44019","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0-beta.5806.tgz","fileCount":66,"integrity":"sha512-yT3SrpJJaRP+EfEnvimnB1ZDkJmMbXNyzn2070THJRVOVDSO4K9lCcxI+uv5j75GKSY81vPRuBIFSV/ELekuBw==","signatures":[{"sig":"MEYCIQDJe5wtnRTejZSjx3Ov2uwoJK1BWk43s8tvrpiZ0bSIrQIhAOv71hD10EjR5fNmjpWbExlRyGs7dnLTDUnP4/VR85aj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9f8645d08d2034973395a5508627fc3bf1944c6c","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.1.0-beta.5806","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0-beta.5806_1690297412308_0.7626717000096965","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"piral-jest-utils","version":"1.1.0","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.1.0","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"94784f0ac0ab23b030aa101dff9f9d0011d76a64","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.1.0.tgz","fileCount":66,"integrity":"sha512-SPs7KAoqTyMbKe1IXnskddAxUgFc5tULPy7udCSrh/5vPaXJ1qzcGUk9gFJIU/lDtuS0uKq01dp30dSKZm5CSQ==","signatures":[{"sig":"MEYCIQCFylV5znE+VxKOkYxFjMduNxv9SmmFkH3+7rltNuo1kQIhAK1gU1pKmcMeXNZXCMvufUxJWZILdS7rHTzXpiA858yB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45281},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"513bb2d87da8c880008fd5af22cd39b904e6a201","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.1.0","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.1.0_1690310244534_0.05903085106790895","host":"s3://npm-registry-packages"}},"1.2.0-beta.5846":{"name":"piral-jest-utils","version":"1.2.0-beta.5846","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0-beta.5846","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"07a99b38b7d64d9151b2ea4b1b19d1e1e930b455","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0-beta.5846.tgz","fileCount":66,"integrity":"sha512-oM+lUoIxDh9T1WABIuViI7ovnEdczyuZBzSqKwj/kUIYmsYxVCqUq6UZggGIEKe+BXlJfjvuPW+zhRwRPhJFjA==","signatures":[{"sig":"MEQCIHObLyIjXOLiJLqe3BI32UifSm/hq6EQ95cv6FhAK21GAiACvDus0IKG3uOmiyEe1q+i9CJ5RJH8UUl4+iTiqkiarw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"030a18ffefe224003ad89774c3f66b067aed5e1a","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.2.0-beta.5846","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0-beta.5846_1692539118689_0.6558805729761028","host":"s3://npm-registry-packages"}},"1.2.0-beta.5853":{"name":"piral-jest-utils","version":"1.2.0-beta.5853","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0-beta.5853","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ee4f6e3d84bcfbc9fca21df7b8dd6aabae26ac64","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0-beta.5853.tgz","fileCount":66,"integrity":"sha512-R+zBKZEFN72DXEcMptodP1836Fjpufm7sozawGlGBLzsG9nlG/m2BgKarfhoeAiocYJVVw3h/fnsRvz0bdB+4g==","signatures":[{"sig":"MEUCIEI2E2IRAO+Zs/6uex5ILDeWGrsoBYyH15PMZEQx3m6fAiEAwJAISrUCcCwA3KPJU/xM2zCGB46gVrgtZyQlKHAJcmI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"11a570fc7fbacb6c663f4a614d976730cb8d69be","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.2.0-beta.5853","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0-beta.5853_1692733196277_0.7965030135571987","host":"s3://npm-registry-packages"}},"1.2.0-beta.5855":{"name":"piral-jest-utils","version":"1.2.0-beta.5855","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0-beta.5855","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"70b4a446c654ed8ec64ee08f267cc61c708d77b1","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0-beta.5855.tgz","fileCount":66,"integrity":"sha512-KaujJY9rL6GENtE27jyYDrRR0XDXB68xy5GSDw+y0t3cxYqeCWuSWkZ+bkh/qUy4zPmfUybHm9DLAlwouinroQ==","signatures":[{"sig":"MEUCIAMGj80NgJmpMe/zITLQ/FbHg8htriJxGUHQmJsBeozTAiEA8Wy13sGCogyiTcHcAEJNrcI9pwZIhOkZhA2Ef/vKSpM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"182342bf1427eb8eebd48df1e6417f9f4e3e1f72","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.2.0-beta.5855","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0-beta.5855_1692748866918_0.5089248369259312","host":"s3://npm-registry-packages"}},"1.2.0-beta.5859":{"name":"piral-jest-utils","version":"1.2.0-beta.5859","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0-beta.5859","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"4d8afeafedbaef188f4a2ce847fadbf264bdcf88","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0-beta.5859.tgz","fileCount":66,"integrity":"sha512-U7iFdIYGpLA1zDvQ527UVNjvxG05Z4ial/7YoiYmth0A6kxwfttEtM/auleMLmbztZfcOzxIFRJFtAeyBT/6yw==","signatures":[{"sig":"MEUCIQCgu8ulyuPuCgVzi08hqLEQHQw9xeKitpMXXLebik8HTAIgUpWkZ8+17ZO1Ayh5lVZBCCoY18KEIAUle03HwlhOmZQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6b585f2d8362f878b2959d2fae2a9e99526906cd","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.2.0-beta.5859","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0-beta.5859_1692779516108_0.5269815398138786","host":"s3://npm-registry-packages"}},"1.2.0-beta.5863":{"name":"piral-jest-utils","version":"1.2.0-beta.5863","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0-beta.5863","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"8bfdc36336ce8e3aae6f5e36c438706fd1067474","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0-beta.5863.tgz","fileCount":66,"integrity":"sha512-GSYerzJPd0nQ/UuVY1a2LM1VLi+sTj4OaBzAQEGwoWTulldD433uUWUKXptLGK4fD2cAGXTHXZKTSuu3hlxRhg==","signatures":[{"sig":"MEUCIQC+78J8JEPakJvnT+dyS5yiZiIM2TdyEGjiujhJqNA1oQIgICDu930W4XxAn3Ols1B4uafcdpHGmTeW1MAhqwGG1ZE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fa4603cf01a1701690b047482040662154b96eb2","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.2.0-beta.5863","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0-beta.5863_1692863518256_0.4612458481556041","host":"s3://npm-registry-packages"}},"1.2.0-beta.5865":{"name":"piral-jest-utils","version":"1.2.0-beta.5865","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0-beta.5865","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e4cad08131c66b8f2a6dcffdf00b981ff059f0c8","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0-beta.5865.tgz","fileCount":66,"integrity":"sha512-E1qL8Xy2HyuVkwom4a+8QcfeSqePXAf7LGMCuRHp2orBPfaFhKKti9TTbEBoOC1dTy9k4TkTRqH7OlZnwLDOrg==","signatures":[{"sig":"MEUCIQDWeq2qS4uHIqiqlc2XwS/V/ILj0azEyAHmIHqoBSluLQIgG/R6jxHat9QXTurwQXIDB+jWFXOH/+YR4KxZxaS2Q+Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"486ba133751b64b9873c73a8f4ad12448df9e43d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.2.0-beta.5865","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0-beta.5865_1692952134215_0.7930332943936489","host":"s3://npm-registry-packages"}},"1.2.0-beta.5867":{"name":"piral-jest-utils","version":"1.2.0-beta.5867","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0-beta.5867","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"228e821c4ea3589bef47a0ca1705f8c2384bc2d5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0-beta.5867.tgz","fileCount":66,"integrity":"sha512-yojE4WPb40VvL1WlZin5tuDsfh6nx7D0rhTKDK+ORSk+fvG86HEiDzVUj3H6JMBwvuufyOHFqgRTb7hToco/bg==","signatures":[{"sig":"MEUCIQDXdDKmrlikx+LdBGmYNl0kqCq1bpogCmcpIhwLEOo23gIgD2mAO5s0+vWi4UBXyP/Lomznv9V0X/JkzL05cffrtxQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"9650354037c03a632abbf5842b9143a6b74fa96b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.2.0-beta.5867","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0-beta.5867_1693222239816_0.40354220332194957","host":"s3://npm-registry-packages"}},"1.2.0-beta.5869":{"name":"piral-jest-utils","version":"1.2.0-beta.5869","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0-beta.5869","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6221d85267d3dd867cfe8b24dedcee2334023dd0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0-beta.5869.tgz","fileCount":66,"integrity":"sha512-jxA9FTGbGfjINSu7ht8pvAdB3Qe1Emk3n7tjtRA/zO8gU0u6sVUg7AWWs54oBYPwUoCHp1JcT7XTb0Jawddzpw==","signatures":[{"sig":"MEUCIQDjMNIxlVc4opHyZyd5i1UbM6E8YAaWdVBj8yDknbjCowIgE4sMf+DZowSX7T8h3cTu9XT1+RmxNAxYCoHLLTBWFe8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"7cee89eff2c43d1158825a31521d703c8e53736e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.2.0-beta.5869","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0-beta.5869_1693226907413_0.463465877209045","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"piral-jest-utils","version":"1.2.0","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.2.0","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"de2a80d9c5fdc78ad49d7a0efaf1a5a2de916431","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.2.0.tgz","fileCount":66,"integrity":"sha512-4VRzdPirXv9nApAxBsrXzyhltYJC/Qd4546upl0hkZ8hYHdcnT73glkEdyoB76KDoJzLn1Rt9dhTbZIGIgk4gg==","signatures":[{"sig":"MEYCIQCnf5a/bURtWPr4LzFHDOjKl3qQnwZbDamIBjUu2VVe1QIhALAVSbcr/UGczI6Rw8n2oXCwJSxEuJHo8jxTvg2K8BsN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45281},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"82444c9c116a7b8971d4dd80bb7c96c6150a9e51","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.2.0","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.2.0_1693229869827_0.729310376349376","host":"s3://npm-registry-packages"}},"1.3.0-beta.5959":{"name":"piral-jest-utils","version":"1.3.0-beta.5959","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.5959","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6bebffbccb11b8add6101ce7255d11c19e5478a5","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.5959.tgz","fileCount":66,"integrity":"sha512-iop+tWFymeH2kV+SzVAzKRqlYB0We5zPXx3fwnq63HCFnU9LmE+mt0axiQ0ZAfvsnoBZRQ15EI05fEc7lcZt6w==","signatures":[{"sig":"MEUCIEyWtvqphPxb5h8i6Z7gYK/bfDFEZeMn60Wj9YvPbcpcAiEAlzjkz6fKNEEW4/mUMqY3KDZPN057yqSGPtGZb86qyJA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"a8fda2d21be0fe7b8e1245496bf2a2eb33f82135","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.5959","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.5959_1695292554947_0.5205805898768898","host":"s3://npm-registry-packages"}},"1.3.0-beta.6001":{"name":"piral-jest-utils","version":"1.3.0-beta.6001","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6001","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"62eafaa9de9f25d67d1d70389f4fc572a69ac8c0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6001.tgz","fileCount":66,"integrity":"sha512-xEqWoxvlAi1fph298aoonLMpF9wyhhmfKAmOt5a6zIg7ajicZg0y1VQBW/MvIqWaVULCq1/8xxHeYz/d+wrpfw==","signatures":[{"sig":"MEQCIFBea7PZP6wR7I9DZjbfqEM5f1ve8doAhH2nr+CP0F5MAiBYvKcJvwiIYjYPTET3BPGOKcDoCfY3iXpLkUMGixRU7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ea22bb317f7bfb648f0fe8ed747c6a13faff54e5","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6001","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6001_1695763955220_0.8108844519641474","host":"s3://npm-registry-packages"}},"1.3.0-beta.6010":{"name":"piral-jest-utils","version":"1.3.0-beta.6010","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6010","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"6dd45f86ba31658cbb4ca0473478d599047bc575","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6010.tgz","fileCount":66,"integrity":"sha512-iZRRdJIhdBisj3kjSbYLIZhIp2yoB5cpHoZj+4KOF9bm6z7X9SNq4icVc5dXg+Un+YOwzXEIGHcyEMDuw1MlRQ==","signatures":[{"sig":"MEYCIQCcbg/2XCFccdIq/n/xgzD7DC3va3SwzmJop66YG3TtGgIhAJR9xDp5Y6htfI3c6u3xCDfG2fDNMlG8L2H8hvosQJXg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"feee5736c1755e88998926678b1c42be5f792956","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6010","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6010_1695890248032_0.4465739818100025","host":"s3://npm-registry-packages"}},"1.3.0-beta.6013":{"name":"piral-jest-utils","version":"1.3.0-beta.6013","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6013","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"0ded03b802878ba8765a1cd4676db740c54e98ae","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6013.tgz","fileCount":66,"integrity":"sha512-iKcEXrObqtrENMiTZrwWVnieMGXl1jrt116e66d6MlyaMZ353nL2SU1uxyoZL1DEmuPu/QXZ6VB3nl1ZO0Iayg==","signatures":[{"sig":"MEUCIQDZD9nOrNuDimIg0vJsWVYDEebFY002R0BNQtwj+L1t5QIgSKpW6dT4XKNdKCi6e/EsrJQNv/uuNQLfl1rPC3Wnmss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"84e22fa0fb3f049883266268c8e1fbfbf2695e36","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6013","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6013_1695899507530_0.556611356419888","host":"s3://npm-registry-packages"}},"1.3.0-beta.6017":{"name":"piral-jest-utils","version":"1.3.0-beta.6017","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6017","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"661a047280a884dc9d3a52fee71088191dbfb548","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6017.tgz","fileCount":66,"integrity":"sha512-JmOQfJvnQoOgYem+w4CTNesPlQf//GMYwdr/LXu3aGXkItlFE6AyuhS5HZKutw7ig/00MUPrbxkoeUBRvmGE7w==","signatures":[{"sig":"MEYCIQDgMXf/vQKOUkSkQa2gP/5eN5Rpt7LCPKZ/zZfw399K9wIhAOD80tBzcTv+gPPGHcEa/Ka+BpmOS2WC+W0sgtL7ICcM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"1b6514ec145cab4eb97e509f740e4c9f1c89f674","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6017","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6017_1695919822745_0.8460935849732236","host":"s3://npm-registry-packages"}},"1.3.0-beta.6047":{"name":"piral-jest-utils","version":"1.3.0-beta.6047","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6047","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"ac1f82e99c69693d6477ffcfaf1a9ffb8e6666f4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6047.tgz","fileCount":66,"integrity":"sha512-6Tn/0tybKeOqu+Cpn8+TEx+oIcitNJMsDME+Zp+bydskVmAncvqiQw0Nh7fmCeJXWnw6y9VpaMKWKhJ4O0sMzQ==","signatures":[{"sig":"MEUCIFY7EHcRzJnMY8bAQPBLtShmJVrMku/fS2xBEJPf2hsFAiEAsWzzmjeNHS83C+Gyo1PJmyVF4FiI8ggKP/Xzw89szsI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"05f6c110d27cc5d7b9ef334cb83b96c73c7d84bf","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6047","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6047_1696172824769_0.9507880503793291","host":"s3://npm-registry-packages"}},"1.3.0-beta.6050":{"name":"piral-jest-utils","version":"1.3.0-beta.6050","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6050","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"b3cc099f8056d1bf927b994738051cba0d81c227","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6050.tgz","fileCount":66,"integrity":"sha512-UzBDJ0wXgD6dNBtMEfn5amou6wCbmkVQCvpw6auBopAyoKmOR8Gtb9BzjpRL2Vz44rSDRHgq70PpyFYDiP0z/g==","signatures":[{"sig":"MEUCICtRVyDjakHgq37vxvWD34KciCiADliitvblFcnELFs5AiEAsZP5AgKmFOmHDd92TV5z4lVOZShjMgCkR5qHHgjCr58=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"e146a30bb1c871b86706e2f88d7bc14ee80f6d1d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6050","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6050_1696248584820_0.9653031698035341","host":"s3://npm-registry-packages"}},"1.3.0-beta.6059":{"name":"piral-jest-utils","version":"1.3.0-beta.6059","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6059","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"352c3252fd70bb35e5c78026e86529e6b91ac58e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6059.tgz","fileCount":66,"integrity":"sha512-oFAd4ZZxv8cajZbWaSuYhUuSmY19WYzl4ltTQIXSB+MN/efaSYTGIkaGWJsKT30QJblaNNgW3RbKMI7WTc7BLg==","signatures":[{"sig":"MEUCID7Ue8CARY6fOCJQHxQ3grW2BTgMh7I6+79uzB87AtbVAiEA1v8qLp3bMMxksflQMR3MT7NV8lfnvucy23jSMcU9DDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ad05f392cd349ca6f6ac5b8cea1a8934ee3d202e","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6059","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6059_1696526812507_0.7234107534061234","host":"s3://npm-registry-packages"}},"1.3.0-beta.6062":{"name":"piral-jest-utils","version":"1.3.0-beta.6062","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6062","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"247260721ee0db63ee20839f63be60c7cfc08a43","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6062.tgz","fileCount":66,"integrity":"sha512-dcnsG/YmOI23T81NL4NsmsoIzNwqbAZYxpO3g8GWsrUTtg9UVV2tc/J7gPtpXO0NQMPgBiMq1awGm1r4mXRH9g==","signatures":[{"sig":"MEUCIQDgH7o7rerXgO9LxJgSo6UwYqW7t03iiG7abOoClWq/VwIgQC+g6OjzYDvZgwRL9fCbqHk6JCPJID4mFzLEbAVWa4o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fd85d207ac66537155c352389af84117afbbae10","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6062","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6062_1696809814107_0.5934211602300143","host":"s3://npm-registry-packages"}},"1.3.0-beta.6065":{"name":"piral-jest-utils","version":"1.3.0-beta.6065","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6065","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"22e0b3dc767c50a68e12c4f2e94976f166a966d4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6065.tgz","fileCount":66,"integrity":"sha512-asSMA2mTgXBRXK2sSUnX0IFsQnoTV2+V6s0eN5NB41Cq37dbGYT4q7aQc3xOpVQLfPH7z0pq/rnq+4tCaPZvsA==","signatures":[{"sig":"MEUCIGHn39slrAppTZ3Xe8BRDEWTAxsZnrCACxdzyWVH7tkoAiEA4or/i7DWDVCPN5OMv92Kijbgas6dDXu7hn/GUuFN70E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"ea6dd40ac290211f17e7b615e02714bceff2a02b","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6065","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6065_1696843109965_0.9502377150585848","host":"s3://npm-registry-packages"}},"1.3.0-beta.6067":{"name":"piral-jest-utils","version":"1.3.0-beta.6067","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0-beta.6067","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"233d6989639ab35673b24fa97b38e1a39dd9ad4b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0-beta.6067.tgz","fileCount":66,"integrity":"sha512-f7XjzY0sTYggYaNOEAfvEq6E0govqxe11KzTyjkZSfA3kQo4ayS3ayr7jfNn7QzfFhUUC/o6mQLM71h/JTqunw==","signatures":[{"sig":"MEQCIBiQkyYF9EBOzknUmupwTjyNOVNklXT6ng23n0lOJbGBAiAhV4eVPSdzEvAX0jYWuo62U42JMtEM7dAtTJUF2/1dvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"c437ea6f768be65c65b5c7251ca6e0bc9f83a4f7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.0-beta.6067","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0-beta.6067_1696849754704_0.33294742701757274","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"piral-jest-utils","version":"1.3.0","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.0","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"526927de37c5abef589649239caee5270275514e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.0.tgz","fileCount":66,"integrity":"sha512-IMJAuspmGDqtD5tO2RIWeZFTtj0zEvl6pNwJLXni1lXx2oYZ6LTD1T09NJAeYGX5Xielu890vYm3cpbKw6oYEg==","signatures":[{"sig":"MEUCIQDFpyerHolMTHr9V7ASyhqxsiSuB8hkExthecEWC6fsAAIgOton1XmqAM0gS02548tbJbR8Y/jHyQFGn1JeB2d5xlA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45281},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f5d3d79391f06237aa1e2ce1802c69a09e472251","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.3.0","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.0_1696855584060_0.455533937485864","host":"s3://npm-registry-packages"}},"1.3.1-beta.6119":{"name":"piral-jest-utils","version":"1.3.1-beta.6119","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.1-beta.6119","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"eeb6871c017aeb4b37b5ad01bd31723116a0d053","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.1-beta.6119.tgz","fileCount":66,"integrity":"sha512-6w6+t98fH1C6w18D6qbE70s9594IBdocd+mM0AZkIXyotch64KTDXZ7klwGl7YsomEN8SIncNvnjzX4LzkoF4w==","signatures":[{"sig":"MEYCIQCwt9PQFrs81Bl2ZG97NraMC6Bm+qaRNpzBadFwZHPy2AIhAIpggWFqd5gmZIu5Xq/24az4j9lrByCVIcvCiNqKQZ1m","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"be47a24f78195ae4f46f623e9f75ebe5ce763234","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.1-beta.6119","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.1-beta.6119_1697463022504_0.5476391574146118","host":"s3://npm-registry-packages"}},"1.3.1-beta.6121":{"name":"piral-jest-utils","version":"1.3.1-beta.6121","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.1-beta.6121","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9c2871e5dffe6069db23fbb3e89261dcee47eb1d","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.1-beta.6121.tgz","fileCount":66,"integrity":"sha512-bkqQlKQ6y7GbH7iC4cMO1cHHMFPTBctgm3x03tbtEOpIQZP9JKTnKoiYpOwX4O7drEaAwlZBYUNeel0JZCgI7A==","signatures":[{"sig":"MEQCIBdIS+zKJ3fVzk4JCjDk0KaQ4preOoq1r0SOfkL8UzZOAiAhCTQk5PwBM9Z3iQhwSNDczalBx3XguHlIJF/nOfs1Mg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"aad688ad9ba8ba0c6b6879a2263e76502d5d5273","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.1-beta.6121","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.1-beta.6121_1697547234607_0.8088842714419786","host":"s3://npm-registry-packages"}},"1.3.1-beta.6123":{"name":"piral-jest-utils","version":"1.3.1-beta.6123","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.1-beta.6123","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"61b29dba45bc840e7660295c4c4d69a9075bf44e","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.1-beta.6123.tgz","fileCount":66,"integrity":"sha512-lMfUKWrXaXZfgTad8uoQuesJkTzIGjgj/xVnZlHkERNF5RO33FSfSUoBknbZ3UmqgYL83uiNbgAY1UsQwgpJxA==","signatures":[{"sig":"MEYCIQDOGBoMmrzxPbBXcJpfuckX0lcdD/GD7av3voLBwUjqKwIhAOwyzc808v06UauhLb7RCOus5lKzv0H8Lo5y2SVil5YE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6d081fe76dd372ae5f77051095576e1c69657eb7","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.21.8","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.1-beta.6123","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.1-beta.6123_1697555226179_0.055129044231947644","host":"s3://npm-registry-packages"}},"1.3.1-beta.6128":{"name":"piral-jest-utils","version":"1.3.1-beta.6128","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.1-beta.6128","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"cf28ecbbc3cc574d6a922d904968de1ad5ce5e15","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.1-beta.6128.tgz","fileCount":66,"integrity":"sha512-7C5P8g9csnA4KufN5i0WUKh3LJGPk73zBxfmu9C+Q/N8qM6uZ+B3zDIPQM9aQmVZZtu/FuSSgjNsidYGaW890A==","signatures":[{"sig":"MEUCIEyEIesuN3zvG+ZvkmghVFDXIli86F7Nv6A2yLE6YH0bAiEA0O6Qr801EhEHi5oGlHlYVB7Mik+7aBoBjbAuJzdRXnE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45300},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"0a7041321aa3b3c86371377f74094df506ec3bae","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.0.1/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.1-beta.6128","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.1-beta.6128_1697616575107_0.8129885084793906","host":"s3://npm-registry-packages"}},"1.3.1-beta.6133":{"name":"piral-jest-utils","version":"1.3.1-beta.6133","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.1-beta.6133","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"e2d307b34595f41664c47e4b71a81c68857257d7","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.1-beta.6133.tgz","fileCount":66,"integrity":"sha512-4zLV/UXxTb5jJ6iuCdLVfk7W2rpUIiIoJBT2wu8yJoWgquqJXfWmGorhoombGxeFS6lV6mQrSUeE6s/4JfrTTw==","signatures":[{"sig":"MEYCIQCgSdjd3ggNc7mMi7Ivxc2ZGOHBLajznNezOvNC0OloHQIhAJqtyP5aHulSu3e8Mv1Ov1DkjABUmpAq85vYWPXmSG1M","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"753b70c9eb69d73f0277952e22100ab16a3cfd43","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.1-beta.6133","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.1-beta.6133_1697640068611_0.4127480477880998","host":"s3://npm-registry-packages"}},"1.3.1-beta.6135":{"name":"piral-jest-utils","version":"1.3.1-beta.6135","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.1-beta.6135","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"3debc239f538bea29958e26777d616cb5f12c470","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.1-beta.6135.tgz","fileCount":66,"integrity":"sha512-wbGAecleRH+MKbcZtwd88PhJ8fL29TzJvI07jmAvZnCIMQOg9bWhUT3CojWoyBVDiNIUm9VOkGO2trBC/0x/Fw==","signatures":[{"sig":"MEUCIQDKkQDQcvOqrjJrPZ0OBi/2Gwtw8umDTPUynXxRM2fk2gIgKOzQXYrIliZJ2Qew+v/ja1z5vibBNn+3OepcqJXSN/k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"553fea569c05719bdd52e2d0f4e141f165721243","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.1-beta.6135","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.1-beta.6135_1697653501518_0.05833662112631188","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"piral-jest-utils","version":"1.3.1","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.1","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"9e3e05bf93306285206805b24133558d01524a11","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.1.tgz","fileCount":66,"integrity":"sha512-1akxI+DsXVTVkouJ5tIIWes/rCSm0+hFBkKYIKNuaECJP107LxOatyOglHAxcyWCwMLAPhM5+IvwuqKcUL2c2Q==","signatures":[{"sig":"MEUCIAo22kRhpQQDk8O2lODauMVKsIIUpm+C4wAj7MxtxrdnAiEAprpjwiu7mP9Q3F9AONZOOeOWDP9ec7AsUOsC6RAvEK0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45279},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b8d5d565ebfffc3aa4b60db561da885965aa3dd9","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.3.1","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.1_1697743605240_0.5280499243856873","host":"s3://npm-registry-packages"}},"1.3.2-beta.6156":{"name":"piral-jest-utils","version":"1.3.2-beta.6156","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.2-beta.6156","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"73ddf6d4fa63f01680421b267b56b46a0daaa108","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.2-beta.6156.tgz","fileCount":66,"integrity":"sha512-qtq3AaWXZ4eCi8jdvUPoIkbgol1dw8O/GP0iem4mgFdDSCDcfKRbulZPK+tONrvBAEX1jpW6QKz/CPnnVYetmQ==","signatures":[{"sig":"MEUCIC705bO4lqgcAXFw7+LQ8hP0ZKVg5aXVSAzzxfQhOTAoAiEApY1vQAkpClR8GP/b8P0wshPXcf6T9tsWbzYcKk0LCh0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"db349ac075fdc07b75eabffac1fcf964f851b189","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.2-beta.6156","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.2-beta.6156_1697813764236_0.27741612359669254","host":"s3://npm-registry-packages"}},"1.3.2-beta.6173":{"name":"piral-jest-utils","version":"1.3.2-beta.6173","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.2-beta.6173","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"596da54f1ce391adf2d13164250c58e7d1b49d6b","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.2-beta.6173.tgz","fileCount":66,"integrity":"sha512-l4atxj0RC6mcvaDHMHVT3aus04jJ/5QXaUxotARy9Wx5Te0nKNpGGv+AGkD7etf36QIylxEpUdi8DZFVSkmTFg==","signatures":[{"sig":"MEUCIQDMlQZuCwidwwvDzPC56/67ZLEZngh0ayrdRKwkp5YfWAIgCdFrj9yNjQlSCVUXCw1LA/DUfoGjad8/r8S6sDBsGps=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"f9f5a133060e400174c7719c1d20831aca36c858","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.2-beta.6173","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.2-beta.6173_1697834655274_0.8143034616451734","host":"s3://npm-registry-packages"}},"1.3.2-beta.6174":{"name":"piral-jest-utils","version":"1.3.2-beta.6174","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.2-beta.6174","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d451ef4f5bac262ef52f768ef85c226cc8b8ecaf","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.2-beta.6174.tgz","fileCount":66,"integrity":"sha512-ajVigdrJcsMDPS7WmYnjwcxrRA07Iea/iV0vu3vDexkccBw0B9XS8WPErwhAQ6x6qb8uuAfTz8TdmHwpixGeOg==","signatures":[{"sig":"MEUCIDug5D/LH6r6AWeZ80DXXDRPcAiUunKHfW0oT1S5IMEbAiEAjPaQ0O3QJQGcjcbg5NHS4CMSRV5d6+oN31oG9QgToF0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"53db73606860b182162c6a711c5ba7eca7bcec3d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.2-beta.6174","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.2-beta.6174_1697837842647_0.758622734626387","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"piral-jest-utils","version":"1.3.2","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.2","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"41b465d6faf6235403db1c051bb2224166b05fa4","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.2.tgz","fileCount":66,"integrity":"sha512-SLX/s3YaXqHVoQQErS971YPEyaG4j/nrHn2MBFvxxUvT+r9nlFt7hq5evImm8ZJZ4cyoqEsepOtdRGvVoRFSFA==","signatures":[{"sig":"MEYCIQDcub5KDvCoO/oYOd2OENN9jhsYDg0e7EQ6O6xjI+GwnAIhAM32CyqxS/KLLQ3o0GVXUUnQE4bbHhPxDirXYBPXwSLP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45279},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"fcaacc9c197ccb2a055a39eb818a613a3635d1ec","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.3.2","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.2_1698046772721_0.3980140609566465","host":"s3://npm-registry-packages"}},"1.3.3-beta.6181":{"name":"piral-jest-utils","version":"1.3.3-beta.6181","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.3-beta.6181","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"40b0ef0167d840e903a81065318447059e4785c0","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.3-beta.6181.tgz","fileCount":66,"integrity":"sha512-lmSrry0bRvZ5uHjLaIbiIkfX9bKp4QNo4UAox6LkYHHzq9sfHVdzaSjDuX/WiJ4ZwhbQEWkkeAIyTK71V3ARnw==","signatures":[{"sig":"MEUCIAVis5xM1c2zLfAcY0KUvzjRz061gydiFulAJhv8YnrpAiEAsSY9z2CfoEvqMmthRqulF8vGiD8HXEwWCpLtZc+QoTg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"3628187da5d22371fba821864419361fd40f8b1f","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.3-beta.6181","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.3-beta.6181_1698141523095_0.36821499755806886","host":"s3://npm-registry-packages"}},"1.3.3-beta.6187":{"name":"piral-jest-utils","version":"1.3.3-beta.6187","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.3-beta.6187","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"a5add161457b186ef4a4615c41f67e451aa6b9ec","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.3-beta.6187.tgz","fileCount":66,"integrity":"sha512-rAwZ4Xver8pik4KozVGNdV3Bbeu6SvNjvek0SChft/6RtJfg8Y0uAp2aISIjMhG+H0bs2dXY0aBUS75+v10iYg==","signatures":[{"sig":"MEUCIDIIqUi+V+SfZloxSKQtNARZdnZbs7VHJp8h8dXmdBcDAiEArDz5CYfaDE9/A7oyuyBrOz5mqkuHKhsiZYBJGhmWrFk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"3da0780821a0aeef693b36d08dcf45eeb462d599","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.3-beta.6187","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.3-beta.6187_1698276163772_0.0607587334795594","host":"s3://npm-registry-packages"}},"1.3.3-beta.6190":{"name":"piral-jest-utils","version":"1.3.3-beta.6190","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.3-beta.6190","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"d8d20670529cd05330daaf4e7a8efc937a425669","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.3-beta.6190.tgz","fileCount":66,"integrity":"sha512-lyj4VHHh4iP1qNMHmSIW7amhbB1d7mbZyxVY4KEEXrPfWstzZ3qlq85T3ZaArmmZz1s1Gme5vWPVtRNeXsEq8g==","signatures":[{"sig":"MEYCIQDNKIJJvwx5FM2GUnrk9xOxmCloQJHZfbrEsykL6k8pLQIhAOKG8Flg72y2vPybQxygA5BPXHwBSaxYnfVYHSr6qobL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"dc3358f0e08b06acea2056b612f268334a8c49c8","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.3-beta.6190","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.3-beta.6190_1698338799528_0.06732936771281417","host":"s3://npm-registry-packages"}},"1.3.3-beta.6201":{"name":"piral-jest-utils","version":"1.3.3-beta.6201","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.3-beta.6201","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"49059d112c9edd38cbfabdcbede6480e6baa3887","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.3-beta.6201.tgz","fileCount":66,"integrity":"sha512-iG9hYDNI7AEhQkr22QG9a/jOAIgMCgJ6aI6Da9Z5yJuXpUU5V4U/L9k+zEkLupYRYu+kofJICLp6GibziuHUvg==","signatures":[{"sig":"MEYCIQDLKcZcZNEyUHL55Jm2hi9oCvZan6Lb/l9wYjr3UhnDxAIhAKoOfylyeeMw1+PXQ3bg8XxTCHHyLX2otPNoO1MpMAyv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"6e9f4e6f83514b5c38960ce015e073efc668f3d6","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.3-beta.6201","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.3-beta.6201_1698678317685_0.8702331046577481","host":"s3://npm-registry-packages"}},"1.3.3-beta.6204":{"name":"piral-jest-utils","version":"1.3.3-beta.6204","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.3-beta.6204","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"30e5c67b528d0faa1ec603bf9e01bba4f9f1f4bb","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.3-beta.6204.tgz","fileCount":66,"integrity":"sha512-FR709i5Lo6FAtUgHNwBrMoj+dgKRIB1Yol1+ZmABbg6mgq6x7fjpPQm6e4XXEWd+YHUzFAU1NhdtzVCxx+yYRg==","signatures":[{"sig":"MEQCIHMWcXDFR74aQf5zJ4K1eMg12KHy03PiqN9jv2RmETH3AiAUIOucdyGYLYH+LmbjkqBUGxsVjo9AD/T+8g/+b6SAug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45298},"main":"lib/index.js","module":"esm/index.js","readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"8a1fa7b847b0e146a5bdb8e0497c436fffe4fd4d","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"piral-core":"1.3.3-beta.6204","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.3-beta.6204_1698840769765_0.5954372234647634","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"piral-jest-utils","version":"1.3.3","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"author":{"name":"smapiot"},"license":"MIT","_id":"piral-jest-utils@1.3.3","maintainers":[{"name":"florianrappl","email":"mail@florian-rappl.de"}],"homepage":"https://piral.io","bugs":{"url":"https://github.com/smapiot/piral/issues"},"dist":{"shasum":"fa1a02d7e2ed3f29b349df61a5a6a53abf0ffe11","tarball":"https://registry.npmjs.org/piral-jest-utils/-/piral-jest-utils-1.3.3.tgz","fileCount":66,"integrity":"sha512-dmE9wnAf0gWZEW7/QJYuxl6ku1wyUbKE/6gVc9sHl7fZlv9xt/7ZP7GdKmh8h9GC8vrPCkB5VgaTxYe1R/JCZQ==","signatures":[{"sig":"MEUCIQDvXNlTdbprwKXf3iToCd9g41RBM1VwrNU1/KNzSqW3WwIgUXurRgOpjRBuFapVmTgAlw/2IJRj0/AAk2UY8nWtj+I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45279},"main":"lib/index.js","module":"esm/index.js","exports":{".":{"import":"./esm/index.js","require":"./lib/index.js"},"./_/*":{"import":"./esm/*.js","require":"./lib/*.js"},"./esm/*":{"import":"./esm/*"},"./lib/*":{"require":"./lib/*"},"./package.json":"./package.json"},"gitHead":"b3347dfcd467e3e5cdc44cd5d0ad7dfe84ac6113","scripts":{"test":"echo \"Error: run tests from root\" && exit 1","build":"yarn build:commonjs && yarn build:esnext","cleanup":"rimraf esm lib","typedoc":"typedoc --json ../../../docs/types/piral-jest-utils.json src --exclude \"src/**/*.test.*\"","build:esnext":"tsc --project tsconfig.json --outDir esm --module esnext && yarn build:external --outfile=esm/utils.js --format=esm","build:commonjs":"tsc --project tsconfig.json --outDir lib --module commonjs && yarn build:external --outfile=lib/utils.js --format=cjs","build:external":"esbuild src/utils.ts --bundle --platform=node"},"typings":"lib/index.d.ts","_npmUser":{"name":"florianrappl","email":"mail@florian-rappl.de"},"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.0+x64 (linux)","description":"Utilities for testing pilets with jest.","directories":{},"_nodeVersion":"16.20.0","dependencies":{"jest":"^29","ts-jest":"^29","jest-cli":"^29","babel-jest":"^29","@babel/core":"^7.23.2","identity-obj-proxy":"^3.0.0","@testing-library/dom":"^8.14.0","@testing-library/react":"^13.3.0","jest-environment-jsdom":"^29","@testing-library/jest-dom":"^5.16.4"},"_hasShrinkwrap":false,"devDependencies":{"piral-core":"^1.3.3","@types/jest":"^29"},"_npmOperationalInternal":{"tmp":"tmp/piral-jest-utils_1.3.3_1698927080526_0.9110548266945104","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-05-29T16:33:00.565Z","modified":"2026-05-22T14:25:37.856Z","0.11.6-pre.1320":"2020-05-29T16:33:00.687Z","0.11.6-pre.1322":"2020-05-29T20:45:48.044Z","0.11.6-pre.1324":"2020-06-02T06:34:43.236Z","0.11.6-pre.1357":"2020-06-02T14:35:39.406Z","0.11.6-pre.1361":"2020-06-02T15:24:21.606Z","0.11.6-pre.1371":"2020-06-03T07:27:00.411Z","0.11.6-pre.1372":"2020-06-03T07:46:42.895Z","0.11.6-pre.1377":"2020-06-03T13:17:51.269Z","0.11.6-pre.1380":"2020-06-04T06:54:06.350Z","0.11.6-pre.1391":"2020-06-05T23:10:39.609Z","0.11.6-pre.1393":"2020-06-06T01:10:02.635Z","0.11.6":"2020-06-06T14:50:02.845Z","0.11.7-pre.1403":"2020-06-07T13:34:07.961Z","0.11.7-pre.1404":"2020-06-07T16:24:29.447Z","0.11.7-pre.1406":"2020-06-07T21:46:47.860Z","0.11.7-pre.1415":"2020-06-10T07:10:05.285Z","0.11.7-pre.1416":"2020-06-10T08:52:31.361Z","0.11.7-pre.1417":"2020-06-10T09:28:36.127Z","0.11.7-pre.1420":"2020-06-10T12:17:03.526Z","0.11.7-pre.1421":"2020-06-10T15:48:08.697Z","0.11.7-pre.1423":"2020-06-12T07:18:42.618Z","0.11.7-pre.1424":"2020-06-14T21:28:57.114Z","0.11.7-pre.1425":"2020-06-15T12:26:52.348Z","0.11.7-pre.1426":"2020-06-15T23:26:32.132Z","0.11.7-pre.1427":"2020-06-16T10:11:21.568Z","0.11.7-pre.1428":"2020-06-16T14:36:36.503Z","0.11.7-pre.1429":"2020-06-16T20:39:49.464Z","0.11.7-pre.1430":"2020-06-17T23:55:14.910Z","0.11.7-pre.1431":"2020-06-18T06:45:31.180Z","0.11.7-pre.1433":"2020-06-19T02:53:57.950Z","0.11.7-pre.1435":"2020-06-20T23:10:11.632Z","0.11.7-pre.1437":"2020-06-21T00:40:00.604Z","0.11.7-pre.1439":"2020-06-21T14:56:24.296Z","0.11.7-pre.1441":"2020-06-22T04:59:26.133Z","0.11.7":"2020-06-22T06:41:22.152Z","0.11.8-pre.1446":"2020-06-22T13:44:24.331Z","0.11.8-pre.1447":"2020-06-24T08:53:03.723Z","0.11.8-pre.1521":"2020-06-26T07:49:17.103Z","0.11.8-pre.1522":"2020-06-27T23:01:03.606Z","0.11.8-pre.1548":"2020-06-29T22:48:52.911Z","0.11.8-pre.1560":"2020-06-30T14:37:14.108Z","0.11.8-pre.1583":"2020-07-01T08:42:01.974Z","0.11.8-pre.1591":"2020-07-01T14:22:22.667Z","0.11.8-pre.1595":"2020-07-01T17:28:38.326Z","0.11.8-pre.1596":"2020-07-01T23:33:03.027Z","0.11.8-pre.1607":"2020-07-03T13:16:32.461Z","0.11.8-pre.1610":"2020-07-03T15:12:27.441Z","0.11.8-pre.1611":"2020-07-05T16:26:51.005Z","0.11.8-pre.1616":"2020-07-06T14:19:01.122Z","0.11.8-pre.1618":"2020-07-07T02:23:55.597Z","0.11.8-pre.1620":"2020-07-07T14:29:05.478Z","0.11.8-pre.1622":"2020-07-08T08:29:24.157Z","0.11.8-pre.1627":"2020-07-08T14:44:29.517Z","0.11.8-pre.1633":"2020-07-09T06:10:29.056Z","0.11.8":"2020-07-09T14:34:23.138Z","1.0.0-pre.1638":"2020-07-09T20:31:10.484Z","1.0.0-pre.1648":"2020-07-13T09:02:26.537Z","1.0.0-pre.1657":"2020-07-14T08:28:23.338Z","1.0.0-pre.1666":"2020-07-15T10:00:43.775Z","1.0.0-pre.1671":"2020-07-15T14:43:46.690Z","1.0.0-pre.1672":"2020-07-15T18:06:41.950Z","1.0.0-pre.1676":"2020-07-16T06:19:07.911Z","1.0.0-pre.1679":"2020-07-16T10:02:15.971Z","1.0.0-pre.1682":"2020-07-16T15:47:59.176Z","1.0.0-pre.1684":"2020-07-16T22:28:11.705Z","1.0.0-pre.1690":"2020-07-20T08:34:06.208Z","1.0.0-pre.1692":"2020-07-24T09:25:14.996Z","1.0.0-pre.1694":"2020-07-25T09:38:22.099Z","1.0.0-pre.1699":"2020-07-28T22:44:52.771Z","1.0.0-pre.1703":"2020-07-30T14:58:42.873Z","1.0.0-pre.1708":"2020-07-31T08:20:23.450Z","1.0.0-pre.1721":"2020-08-03T09:08:14.258Z","1.0.0-pre.1730":"2020-08-06T15:18:30.097Z","1.0.0-pre.1731":"2020-08-09T10:29:22.449Z","1.0.0-pre.1732":"2020-08-10T21:31:30.852Z","1.0.0-pre.1741":"2020-08-21T22:19:56.450Z","1.0.0-pre.1742":"2020-08-25T21:59:02.020Z","1.0.0-pre.1746":"2020-09-01T10:11:46.938Z","0.12.0-pre.1747":"2020-09-04T21:56:47.677Z","0.12.0-pre.1748":"2020-09-07T22:48:19.840Z","0.12.0-pre.1750":"2020-09-08T10:11:16.853Z","0.12.0-pre.1754":"2020-09-08T19:27:52.342Z","0.12.0":"2020-09-09T08:52:34.732Z","1.0.0-pre.1758":"2020-09-09T14:27:14.613Z","0.12.1-pre.1768":"2020-09-16T14:41:56.759Z","0.12.1-pre.1770":"2020-09-16T15:39:20.470Z","0.12.1":"2020-09-17T08:14:13.058Z","1.0.0-pre.1775":"2020-09-17T09:08:24.722Z","1.0.0-pre.1779":"2020-09-21T12:09:32.767Z","0.12.2-pre.1793":"2020-09-26T00:24:55.958Z","0.12.2-pre.1794":"2020-09-26T12:42:45.681Z","0.12.2-pre.1795":"2020-09-26T20:20:18.645Z","0.12.2":"2020-09-28T04:17:39.955Z","1.0.0-pre.1801":"2020-09-28T08:23:19.435Z","0.12.3-pre.1815":"2020-10-05T12:38:05.538Z","0.12.3-pre.1816":"2020-10-06T00:56:55.066Z","0.12.3-pre.1817":"2020-10-06T23:00:54.175Z","0.12.3-pre.1818":"2020-10-08T10:44:52.535Z","0.12.3-pre.1820":"2020-10-09T15:03:25.542Z","0.12.3-pre.1826":"2020-10-09T23:27:52.830Z","0.12.3":"2020-10-10T00:04:04.107Z","0.12.4-pre.1830":"2020-10-13T08:33:52.609Z","0.12.4-pre.1836":"2020-10-20T09:07:02.826Z","0.12.4-pre.1846":"2020-10-21T20:43:03.240Z","0.12.4-pre.1854":"2020-10-23T13:58:56.487Z","0.12.4-pre.1861":"2020-10-27T22:52:06.518Z","0.12.4-pre.1862":"2020-10-28T13:16:31.372Z","0.12.4-pre.1863":"2020-10-28T16:17:29.234Z","0.12.4-pre.1867":"2020-10-30T07:10:34.774Z","0.12.4-pre.1874":"2020-11-11T00:26:24.742Z","0.12.4-pre.1875":"2020-11-11T16:29:40.646Z","0.12.4-pre.1884":"2020-11-16T17:27:04.348Z","0.12.4-pre.1886":"2020-11-17T12:52:49.932Z","0.12.4-pre.1888":"2020-11-20T00:13:35.963Z","0.12.4-pre.1890":"2020-11-20T11:36:37.943Z","0.12.4-pre.1895":"2020-11-21T02:08:37.309Z","0.12.4":"2020-11-24T11:13:33.672Z","1.0.0-pre.1899":"2020-11-24T13:31:37.863Z","1.0.0-pre.1904":"2020-11-26T13:19:21.842Z","1.0.0-pre.1958":"2020-12-08T15:21:01.756Z","1.0.0-pre.1959":"2020-12-08T15:42:06.951Z","1.0.0-pre.1960":"2020-12-08T23:52:29.456Z","1.0.0-pre.1979":"2020-12-09T23:50:13.915Z","1.0.0-pre.1989":"2020-12-10T15:15:44.323Z","1.0.0-pre.1994":"2020-12-11T08:40:10.390Z","1.0.0-pre.1998":"2020-12-11T12:20:32.971Z","1.0.0-pre.2002":"2020-12-11T15:50:09.789Z","1.0.0-pre.2023":"2020-12-12T19:23:57.626Z","1.0.0-pre.2024":"2020-12-13T01:05:59.906Z","1.0.0-pre.2025":"2020-12-13T02:15:36.318Z","1.0.0-pre.2026":"2020-12-13T02:54:12.467Z","1.0.0-pre.2027":"2020-12-13T11:39:29.471Z","1.0.0-pre.2028":"2020-12-13T12:48:45.158Z","1.0.0-pre.2031":"2020-12-14T14:38:25.288Z","1.0.0-pre.2033":"2020-12-15T14:52:29.656Z","1.0.0-pre.2034":"2020-12-15T16:04:31.259Z","1.0.0-pre.2036":"2020-12-16T02:07:50.036Z","1.0.0-pre.2073":"2020-12-25T13:46:55.486Z","1.0.0-pre.2075":"2021-01-05T19:30:09.046Z","1.0.0-pre.2076":"2021-01-05T19:56:13.735Z","1.0.0-pre.2077":"2021-01-05T20:05:20.843Z","1.0.0-pre.2078":"2021-01-05T21:53:44.251Z","1.0.0-pre.2079":"2021-01-05T22:35:33.596Z","1.0.0-pre.2082":"2021-01-07T01:08:20.612Z","1.0.0-pre.2084":"2021-01-10T21:26:49.546Z","1.0.0-pre.2085":"2021-01-10T22:49:43.062Z","1.0.0-pre.2086":"2021-01-12T22:08:32.050Z","1.0.0-pre.2087":"2021-01-13T10:37:39.745Z","1.0.0-pre.2091":"2021-01-15T13:00:50.645Z","1.0.0-pre.2093":"2021-01-19T22:43:02.129Z","1.0.0-pre.2094":"2021-01-20T14:46:42.936Z","1.0.0-pre.2096":"2021-01-21T14:17:52.694Z","1.0.0-pre.2098":"2021-01-26T09:47:25.543Z","1.0.0-pre.2104":"2021-02-02T14:32:28.157Z","1.0.0-pre.2107":"2021-02-06T21:34:41.931Z","1.0.0-pre.2108":"2021-02-07T01:29:41.892Z","1.0.0-pre.2112":"2021-02-10T21:31:52.578Z","1.0.0-pre.2117":"2021-02-11T13:46:08.359Z","1.0.0-pre.2137":"2021-02-23T14:48:53.144Z","1.0.0-pre.2196":"2021-03-09T09:09:45.357Z","1.0.0-pre.2217":"2021-03-15T10:12:11.845Z","0.13.0-pre.2244":"2021-03-18T17:28:46.700Z","0.13.0-pre.2253":"2021-03-20T00:43:44.669Z","0.13.0-pre.2254":"2021-03-20T13:51:37.127Z","0.13.0-pre.2284":"2021-03-23T16:38:30.193Z","0.13.0-pre.2290":"2021-03-23T20:42:01.906Z","0.13.0":"2021-03-24T10:21:35.229Z","1.0.0-pre.2296":"2021-03-24T13:47:49.233Z","0.13.1-pre.2307":"2021-03-25T17:21:20.337Z","0.13.1-pre.2312":"2021-03-26T14:39:32.632Z","0.13.1-pre.2323":"2021-03-30T14:17:51.774Z","0.13.1-pre.2326":"2021-03-31T11:01:35.242Z","0.13.1-pre.2329":"2021-04-11T23:47:45.701Z","0.13.1-pre.2330":"2021-04-12T13:03:48.209Z","0.13.1-pre.2336":"2021-04-13T15:18:32.184Z","0.13.1":"2021-04-13T16:27:14.280Z","0.13.2-pre.2341":"2021-04-13T22:43:18.879Z","0.13.2-pre.2352":"2021-04-15T15:39:53.380Z","0.13.2-pre.2364":"2021-04-16T20:26:18.874Z","0.13.2-pre.2383":"2021-04-20T13:21:56.573Z","0.13.2-pre.2387":"2021-04-22T22:57:05.148Z","0.13.2":"2021-04-27T16:18:54.040Z","0.13.3-pre.2417":"2021-05-04T09:36:40.777Z","0.13.3-pre.2419":"2021-05-04T11:03:30.234Z","0.13.3-pre.2433":"2021-05-05T21:45:15.811Z","0.13.3-pre.2435":"2021-05-06T20:52:24.142Z","0.13.3-pre.2437":"2021-05-09T01:03:27.566Z","0.13.3-pre.2442":"2021-05-09T20:32:47.708Z","0.13.3-pre.2460":"2021-05-19T13:37:12.423Z","0.13.3-pre.2477":"2021-05-25T14:47:26.782Z","0.13.3-pre.2480":"2021-05-28T07:31:48.161Z","0.13.3-pre.2585":"2021-06-15T15:35:00.078Z","0.13.3-pre.2783":"2021-06-27T15:10:38.591Z","0.13.3-pre.2928":"2021-07-20T00:03:52.303Z","0.13.3-pre.2931":"2021-07-21T09:28:49.036Z","0.13.3-pre.2936":"2021-07-26T14:07:58.156Z","0.13.3-pre.2937":"2021-07-28T12:37:58.790Z","0.13.3-pre.2940":"2021-07-28T21:21:31.090Z","0.13.3":"2021-07-28T22:07:40.207Z","0.14.0-pre.2948":"2021-07-31T23:47:03.078Z","0.14.0-unstable.2949":"2021-08-01T00:53:35.897Z","0.14.0-unstable.2952":"2021-08-02T14:08:25.145Z","0.13.4":"2021-08-02T21:11:23.643Z","0.14.0-pre.2954":"2021-08-02T23:11:19.603Z","0.14.0-pre.2955":"2021-08-03T14:50:18.429Z","0.14.0-pre.2958":"2021-08-04T00:34:05.379Z","0.14.0-pre.2964":"2021-08-06T12:47:08.706Z","0.14.0-pre.2970":"2021-08-09T00:20:58.424Z","0.14.0-pre.2975":"2021-08-17T21:37:40.041Z","0.13.5":"2021-08-17T21:38:18.616Z","0.13.6":"2021-08-27T10:36:05.935Z","0.14.0-pre.2983":"2021-08-27T13:39:54.221Z","0.14.0-pre.2998":"2021-08-30T20:47:20.223Z","0.14.0-pre.3018":"2021-09-01T09:21:29.876Z","0.13.7":"2021-09-01T11:50:01.891Z","0.14.0-unstable.3035":"2021-09-07T22:49:12.010Z","0.14.0-unstable.3037":"2021-09-08T16:46:53.369Z","0.14.0-unstable.3040":"2021-09-10T09:26:40.061Z","0.13.8":"2021-09-10T11:49:33.585Z","0.14.0-unstable.3058":"2021-09-13T12:45:16.147Z","0.14.0-unstable.3060":"2021-09-14T00:50:53.611Z","0.14.0-unstable.3062":"2021-09-15T07:54:26.107Z","0.14.0-unstable.3065":"2021-09-16T09:30:11.836Z","0.14.0-pre.3069":"2021-09-16T12:47:58.274Z","0.14.0-unstable.3068":"2021-09-16T12:48:10.264Z","0.14.0-unstable.3072":"2021-09-16T13:44:07.317Z","0.14.0-pre.3074":"2021-09-17T00:23:38.643Z","0.14.0-pre.3079":"2021-09-20T11:10:34.744Z","0.14.0-pre.3085":"2021-09-21T13:25:41.568Z","0.14.0-pre.3086":"2021-09-21T14:29:13.261Z","0.14.0-pre.3087":"2021-09-21T22:21:49.553Z","0.14.0-pre.3090":"2021-09-22T15:18:37.653Z","0.13.9":"2021-09-23T20:49:21.692Z","0.14.0-unstable.3096":"2021-10-05T00:15:25.856Z","0.14.0-pre.3097":"2021-10-05T20:43:40.680Z","0.14.0-pre.3098":"2021-10-06T00:38:34.949Z","0.14.0-pre.3099":"2021-10-07T11:31:46.556Z","0.14.0-unstable.3105":"2021-10-12T00:10:36.977Z","0.14.0-pre.3106":"2021-10-12T15:39:57.449Z","0.14.0-pre.3113":"2021-10-14T08:22:53.116Z","0.14.0-pre.3114":"2021-10-14T10:39:39.750Z","0.14.0-pre.3115":"2021-10-14T13:37:53.939Z","0.14.0-pre.3122":"2021-10-18T09:32:06.176Z","0.14.0-pre.3128":"2021-10-18T21:07:11.249Z","0.14.0-alpha.3152":"2021-10-21T13:12:35.090Z","0.14.0-alpha.3154":"2021-10-22T09:00:59.571Z","0.14.0-beta.3156":"2021-10-22T12:11:01.076Z","0.14.0-beta.3157":"2021-10-22T14:48:26.582Z","0.14.0-beta.3163":"2021-10-22T22:54:06.442Z","0.14.0-beta.3183":"2021-10-27T15:48:56.225Z","0.14.0-beta.3184":"2021-10-28T00:12:25.753Z","0.14.0-beta.3187":"2021-10-28T10:10:22.135Z","0.14.0-beta.3203":"2021-10-28T23:10:27.358Z","0.14.0-beta.3215":"2021-10-29T20:40:18.870Z","0.14.0-beta.3216":"2021-10-29T23:25:33.722Z","0.14.0-beta.3217":"2021-10-31T02:38:13.157Z","0.14.0-beta.3222":"2021-11-03T11:18:31.374Z","0.14.0-beta.3226":"2021-11-06T01:22:40.640Z","0.14.0-beta.3230":"2021-11-08T13:11:13.877Z","0.14.0":"2021-11-08T18:03:06.561Z","0.14.1-beta.3240":"2021-11-10T02:34:31.809Z","0.14.1-beta.3244":"2021-11-10T11:58:53.828Z","0.14.1-beta.3246":"2021-11-11T21:45:24.080Z","0.14.1-beta.3250":"2021-11-12T15:22:01.093Z","0.14.1-beta.3256":"2021-11-16T14:00:21.332Z","0.14.1-beta.3266":"2021-11-18T14:53:42.276Z","0.14.1":"2021-11-19T13:24:46.431Z","0.14.2-beta.3272":"2021-11-20T00:45:03.785Z","0.14.2":"2021-11-22T14:18:36.734Z","0.14.3-beta.3295":"2021-11-24T09:52:43.659Z","0.14.3-beta.3296":"2021-11-24T14:33:25.084Z","0.14.3-beta.3297":"2021-11-25T02:02:46.285Z","0.14.3-beta.3299":"2021-11-25T15:02:41.723Z","0.14.3-beta.3303":"2021-11-26T01:25:12.170Z","0.14.3":"2021-11-26T10:50:32.943Z","0.14.4-beta.3311":"2021-11-28T15:55:04.698Z","0.14.4-beta.3313":"2021-11-29T17:28:50.588Z","0.14.4":"2021-12-01T09:43:52.262Z","0.14.5-beta.3331":"2021-12-07T17:11:08.326Z","0.14.5-beta.3335":"2021-12-09T17:58:32.042Z","0.14.5-beta.3336":"2021-12-09T22:34:38.612Z","0.14.5-beta.3339":"2021-12-10T16:52:38.955Z","0.14.5-beta.3344":"2021-12-11T21:38:13.063Z","0.14.5-beta.3346":"2021-12-13T13:31:03.499Z","0.14.5-beta.3347":"2021-12-13T14:50:29.915Z","0.14.5":"2021-12-13T16:39:39.215Z","0.14.6-beta.3361":"2021-12-15T16:52:53.724Z","0.14.6-beta.3368":"2021-12-16T13:24:10.650Z","0.14.6-beta.3400":"2021-12-22T23:53:54.250Z","0.14.6-beta.3419":"2021-12-31T15:31:37.773Z","0.14.6-beta.3425":"2022-01-05T09:37:02.732Z","0.14.6":"2022-01-05T16:50:40.408Z","0.14.7-beta.3428":"2022-01-05T21:47:03.277Z","0.14.7-beta.3435":"2022-01-08T11:05:20.785Z","0.14.7-beta.3438":"2022-01-09T09:42:26.950Z","0.14.7-beta.3456":"2022-01-10T11:44:29.994Z","0.14.7-beta.3463":"2022-01-10T13:34:30.277Z","0.14.7-beta.3467":"2022-01-11T10:48:33.772Z","0.14.7-beta.3472":"2022-01-12T01:36:45.702Z","0.14.7":"2022-01-12T09:27:35.535Z","0.14.8-beta.3480":"2022-01-12T23:55:28.919Z","0.14.8-beta.3483":"2022-01-13T00:23:32.684Z","0.14.8-beta.3487":"2022-01-13T09:29:02.823Z","0.14.8-beta.3490":"2022-01-13T17:39:27.805Z","0.14.8-beta.3494":"2022-01-15T09:07:36.825Z","0.14.8-beta.3500":"2022-01-17T12:34:51.530Z","0.14.8-beta.3504":"2022-01-18T18:12:21.268Z","0.14.8-beta.3509":"2022-01-19T08:53:49.914Z","0.14.8-beta.3510":"2022-01-20T00:48:31.704Z","0.14.8-beta.3511":"2022-01-20T02:02:36.290Z","0.14.8-beta.3513":"2022-01-20T10:27:10.165Z","0.14.8-beta.3515":"2022-01-20T12:13:40.955Z","0.14.8":"2022-01-20T13:47:03.816Z","0.14.9-beta.3522":"2022-01-21T01:00:28.648Z","0.14.9-beta.3526":"2022-01-21T11:01:28.676Z","0.14.9":"2022-01-21T11:15:32.830Z","0.15.0-alpha.3537":"2022-01-21T21:45:16.360Z","0.15.0-alpha.3540":"2022-01-22T15:13:21.953Z","0.15.0-alpha.3548":"2022-01-25T19:33:12.870Z","0.15.0-alpha.3549":"2022-01-25T19:52:46.896Z","0.15.0-alpha.3555":"2022-01-27T01:48:55.156Z","0.15.0-alpha.3564":"2022-01-28T11:27:29.476Z","0.15.0-alpha.3589":"2022-02-02T18:04:05.914Z","0.15.0-alpha.3592":"2022-02-03T01:17:31.808Z","0.14.10-beta.3615":"2022-02-04T13:37:59.427Z","0.14.10-beta.3616":"2022-02-04T13:42:28.010Z","0.14.10-beta.3621":"2022-02-04T18:24:51.764Z","0.14.10":"2022-02-04T21:47:29.089Z","0.15.0-alpha.3640":"2022-02-09T23:25:21.875Z","0.14.10-beta.3659":"2022-02-13T10:46:38.992Z","0.14.10-beta.3661":"2022-02-13T11:00:54.248Z","0.15.0-alpha.3662":"2022-02-13T11:25:05.927Z","0.14.11-beta.3674":"2022-02-17T11:24:46.590Z","0.14.11-beta.3680":"2022-02-17T13:42:59.330Z","0.14.11-beta.3683":"2022-02-17T15:11:04.564Z","0.14.11-beta.3686":"2022-02-17T15:41:41.314Z","0.14.11":"2022-02-17T16:37:51.499Z","0.14.12-beta.3701":"2022-02-20T17:01:36.009Z","0.14.12-beta.3703":"2022-02-20T19:38:32.670Z","0.14.12-beta.3704":"2022-02-20T23:17:51.572Z","0.14.12":"2022-02-21T10:12:50.790Z","0.15.0-alpha.3711":"2022-02-21T21:31:23.185Z","0.15.0-alpha.3719":"2022-02-23T09:25:23.861Z","0.15.0-alpha.3724":"2022-02-23T16:01:50.212Z","0.14.13-beta.3733":"2022-02-26T15:37:17.885Z","0.14.13-beta.3734":"2022-02-26T23:10:23.008Z","0.14.13":"2022-02-27T10:16:36.428Z","0.15.0-alpha.3740":"2022-02-27T12:17:35.516Z","0.14.14-beta.3748":"2022-03-01T10:54:02.337Z","0.14.14-beta.3753":"2022-03-01T13:57:54.381Z","0.14.14-beta.3765":"2022-03-02T17:58:22.509Z","0.14.14-beta.3767":"2022-03-02T21:12:45.207Z","0.14.14":"2022-03-03T01:27:09.076Z","0.15.0-alpha.3784":"2022-03-03T22:12:39.422Z","0.14.15-beta.3790":"2022-03-04T13:51:22.557Z","0.14.15-beta.3791":"2022-03-04T16:06:33.543Z","0.14.15-beta.3795":"2022-03-04T18:16:58.628Z","0.14.15":"2022-03-05T09:09:06.076Z","0.15.0-alpha.3804":"2022-03-05T14:02:39.400Z","0.15.0-alpha.3809":"2022-03-06T09:55:53.402Z","0.15.0-alpha.3816":"2022-03-08T09:11:16.446Z","0.14.16-beta.3830":"2022-03-09T16:32:42.238Z","0.14.16-beta.3834":"2022-03-10T10:11:54.229Z","0.14.16-beta.3841":"2022-03-10T13:06:30.180Z","0.14.16-beta.3852":"2022-03-10T13:20:25.899Z","0.14.16-beta.3861":"2022-03-10T13:24:23.863Z","0.14.16-beta.3846":"2022-03-10T13:32:31.075Z","0.14.16-beta.3856":"2022-03-10T13:37:44.768Z","0.14.16-beta.3843":"2022-03-10T13:42:03.985Z","0.14.16-beta.3850":"2022-03-10T13:52:01.422Z","0.14.16-beta.3860":"2022-03-10T13:57:22.201Z","0.14.16-beta.3863":"2022-03-10T14:02:00.908Z","0.14.16-beta.3855":"2022-03-10T14:03:09.254Z","0.14.16":"2022-03-10T15:27:15.284Z","0.14.17-beta.3882":"2022-03-11T15:51:40.949Z","0.14.17":"2022-03-13T16:18:58.816Z","0.15.0-alpha.3905":"2022-03-14T01:38:48.836Z","0.14.18-beta.3923":"2022-03-15T00:51:40.266Z","0.14.18":"2022-03-15T08:51:29.611Z","0.14.19-beta.3927":"2022-03-15T17:55:16.808Z","0.15.0-alpha.3933":"2022-03-16T10:19:14.717Z","0.14.19-beta.3953":"2022-03-18T02:56:25.162Z","0.14.19-beta.3964":"2022-03-18T18:17:55.817Z","0.14.19-beta.3968":"2022-03-19T14:53:08.027Z","0.14.19-beta.3970":"2022-03-20T03:12:32.144Z","0.14.19":"2022-03-20T09:55:36.566Z","0.15.0-alpha.3975":"2022-03-21T07:29:44.226Z","0.14.20-beta.3989":"2022-03-24T03:55:31.740Z","0.15.0-alpha.4005":"2022-03-25T19:23:12.164Z","0.14.20-beta.4013":"2022-03-30T21:10:57.016Z","0.14.20-beta.4017":"2022-03-31T07:29:53.235Z","0.14.20":"2022-04-01T08:27:39.378Z","0.15.0-alpha.4027":"2022-04-02T15:21:09.979Z","0.15.0-alpha.4028":"2022-04-03T10:34:14.526Z","0.15.0-alpha.4029":"2022-04-04T00:49:53.606Z","0.15.0-alpha.4034":"2022-04-04T09:01:40.560Z","0.15.0-alpha.4036":"2022-04-05T15:04:43.740Z","0.15.0-alpha.4041":"2022-04-07T13:17:32.576Z","0.14.20-beta.4064":"2022-04-10T11:16:06.884Z","0.14.20-beta.4067":"2022-04-10T14:51:25.943Z","0.14.21-beta.4074":"2022-04-11T10:36:05.316Z","0.14.21-beta.4078":"2022-04-11T17:07:01.582Z","0.14.21":"2022-04-12T16:56:40.059Z","0.15.0-alpha.4098":"2022-04-13T15:21:48.975Z","0.14.22-beta.4103":"2022-04-18T21:39:50.461Z","0.14.22-beta.4113":"2022-04-25T13:01:38.091Z","0.14.22":"2022-04-25T16:13:29.125Z","0.15.0-alpha.4122":"2022-04-26T13:35:57.302Z","0.14.23-beta.4124":"2022-04-27T15:11:56.333Z","0.14.23-beta.4129":"2022-04-30T08:36:30.936Z","0.14.23-beta.4131":"2022-04-30T14:38:48.076Z","0.14.23":"2022-05-01T12:52:05.308Z","0.14.24-beta.4144":"2022-05-04T12:57:47.881Z","0.14.24-beta.4150":"2022-05-04T22:50:32.264Z","0.14.24-beta.4157":"2022-05-05T13:54:01.794Z","0.14.24-beta.4161":"2022-05-06T14:36:07.677Z","0.14.24-beta.4163":"2022-05-07T00:01:20.027Z","0.14.24-beta.4168":"2022-05-09T13:23:54.745Z","0.14.24-beta.4171":"2022-05-09T16:53:39.135Z","0.14.24-beta.4191":"2022-05-12T15:28:57.461Z","0.14.24-beta.4195":"2022-05-13T10:21:35.963Z","0.14.24":"2022-05-13T14:29:11.200Z","0.14.25-beta.4229":"2022-05-19T22:45:39.156Z","0.15.0-alpha.4231":"2022-05-19T22:53:33.452Z","0.14.25-beta.4238":"2022-05-20T14:13:47.975Z","0.14.25-beta.4245":"2022-05-21T23:04:12.483Z","0.14.25":"2022-05-22T23:35:24.471Z","0.15.0-alpha.4257":"2022-05-24T14:56:19.833Z","0.14.25-beta.4266":"2022-06-02T07:50:34.571Z","0.14.26-beta.4273":"2022-06-04T07:13:54.318Z","0.14.26-beta.4274":"2022-06-04T08:01:16.505Z","0.14.26":"2022-06-05T14:21:12.277Z","0.14.27-beta.4280":"2022-06-05T23:42:48.407Z","0.15.0-alpha.4284":"2022-06-06T09:52:42.471Z","0.14.27-beta.4285":"2022-06-06T12:07:22.627Z","0.14.27-beta.4290":"2022-06-06T22:21:19.685Z","0.14.27":"2022-06-07T00:20:04.223Z","0.15.0-alpha.4311":"2022-06-08T13:41:47.252Z","0.15.0-alpha.4314":"2022-06-09T15:00:46.477Z","0.15.0-alpha.4332":"2022-06-14T10:24:38.961Z","0.15.0-alpha.4345":"2022-06-20T23:23:26.596Z","0.15.0-alpha.4355":"2022-06-24T11:41:42.491Z","0.14.28-beta.4360":"2022-06-27T12:33:28.959Z","0.14.28-beta.4363":"2022-06-28T09:39:04.575Z","0.14.28-beta.4379":"2022-07-01T07:09:00.997Z","0.14.28":"2022-07-01T10:35:23.204Z","0.14.29":"2022-07-05T09:47:40.127Z","0.15.0-alpha.4396":"2022-07-05T23:05:50.102Z","0.15.0-alpha.4399":"2022-07-06T13:50:14.862Z","0.15.0-alpha.4409":"2022-07-07T17:10:58.368Z","0.15.0-beta.4411":"2022-07-09T12:24:51.197Z","0.15.0-beta.4465":"2022-07-21T08:17:16.945Z","0.15.0-beta.4466":"2022-07-21T17:21:07.442Z","0.15.0-beta.4472":"2022-07-25T23:18:09.213Z","0.15.0-beta.4512":"2022-07-29T23:11:04.288Z","0.15.0-beta.4544":"2022-08-05T09:16:22.557Z","0.15.0-beta.4549":"2022-08-06T15:56:34.746Z","0.15.0-beta.4560":"2022-08-08T10:07:25.997Z","0.15.0-beta.4574":"2022-08-11T13:58:21.506Z","0.15.0-beta.4579":"2022-08-16T21:30:57.394Z","0.15.0-beta.4607":"2022-08-25T13:13:59.848Z","0.14.30":"2022-08-26T08:14:35.958Z","0.15.0-beta.4630":"2022-08-29T23:58:14.869Z","0.15.0-beta.4633":"2022-08-30T19:26:42.912Z","0.14.31":"2022-09-07T23:57:18.279Z","0.15.0-beta.4670":"2022-09-20T22:34:52.236Z","0.15.0-beta.4672":"2022-09-21T22:43:39.711Z","0.14.32":"2022-09-21T23:11:30.602Z","0.15.0-beta.4696":"2022-09-29T15:34:01.126Z","0.15.0-beta.4699":"2022-10-01T23:50:03.423Z","0.15.0-beta.4708":"2022-10-02T21:48:21.311Z","0.15.0-beta.4715":"2022-10-03T19:01:03.945Z","0.15.0-beta.4725":"2022-10-04T18:58:15.318Z","0.15.0-beta.4739":"2022-10-09T09:54:01.257Z","0.15.0-beta.4751":"2022-10-15T14:15:54.900Z","0.15.0-beta.4756":"2022-10-19T23:51:29.607Z","0.15.0-beta.4790":"2022-10-25T15:07:14.374Z","0.15.0-beta.4791":"2022-10-25T20:43:17.299Z","0.15.0-beta.4798":"2022-11-01T21:18:35.041Z","0.15.0-beta.4801":"2022-11-03T14:03:44.555Z","0.15.0-beta.4803":"2022-11-05T02:15:33.720Z","0.15.0-beta.4808":"2022-11-09T11:51:57.886Z","0.15.0-beta.4812":"2022-11-13T01:16:13.909Z","0.15.0-beta.4813":"2022-11-14T00:50:00.449Z","0.15.0-beta.4815":"2022-11-14T10:57:28.083Z","0.15.0-beta.4816":"2022-11-14T20:51:15.535Z","0.15.0-beta.4820":"2022-11-15T22:37:35.714Z","0.15.0-beta.4828":"2022-11-16T16:46:08.537Z","0.15.0-beta.4830":"2022-11-16T17:57:00.318Z","0.15.0":"2022-11-17T00:45:54.632Z","0.15.1-beta.4903":"2022-11-23T23:36:40.137Z","0.15.1-beta.4906":"2022-11-24T14:28:10.746Z","0.15.1-beta.4908":"2022-11-24T23:46:00.451Z","0.15.1-beta.4910":"2022-11-24T23:58:20.401Z","0.15.1":"2022-11-25T11:44:31.541Z","0.15.2-beta.4915":"2022-11-27T08:03:24.642Z","0.15.2-beta.4921":"2022-11-28T00:43:06.433Z","0.15.2-beta.4923":"2022-11-28T16:26:50.265Z","0.15.2-beta.4932":"2022-11-30T01:57:04.590Z","0.15.2-beta.4938":"2022-12-02T12:44:25.914Z","0.15.2-beta.4941":"2022-12-03T14:46:52.381Z","0.15.2-beta.4943":"2022-12-04T23:25:38.158Z","0.15.2":"2022-12-05T01:12:39.425Z","0.15.3-beta.4955":"2022-12-09T17:22:55.870Z","0.15.3-beta.4970":"2022-12-13T11:18:51.843Z","0.15.3-beta.4975":"2022-12-13T17:13:35.303Z","0.15.3-beta.4989":"2022-12-16T00:39:13.720Z","0.15.3":"2022-12-16T16:26:17.349Z","0.15.4-beta.5008":"2022-12-19T16:09:23.847Z","0.15.4-beta.5013":"2022-12-21T12:08:59.383Z","0.15.4-beta.5015":"2022-12-21T14:36:41.976Z","0.15.4":"2022-12-21T15:56:11.416Z","0.15.5-beta.5022":"2022-12-22T20:18:46.321Z","0.15.5-beta.5054":"2023-01-16T10:08:45.941Z","0.15.5-beta.5073":"2023-01-20T00:09:21.075Z","0.15.5-beta.5087":"2023-01-23T08:13:41.577Z","0.15.5":"2023-01-23T09:08:57.255Z","0.15.6-beta.5100":"2023-01-27T00:55:41.687Z","0.15.6-beta.5103":"2023-01-27T09:08:52.571Z","0.15.6-beta.5105":"2023-01-27T13:09:19.810Z","0.15.6-beta.5106":"2023-01-27T20:03:41.712Z","0.15.6-beta.5109":"2023-01-28T20:48:06.533Z","0.15.6":"2023-01-30T14:21:30.312Z","0.15.7-beta.5126":"2023-02-01T09:36:28.359Z","0.15.7-beta.5134":"2023-02-02T09:30:20.355Z","0.15.7-beta.5135":"2023-02-02T09:32:39.479Z","0.15.7-beta.5146":"2023-02-04T10:01:51.540Z","0.15.7-beta.5147":"2023-02-05T20:05:07.522Z","0.15.7-beta.5155":"2023-02-09T13:39:28.721Z","0.15.7":"2023-02-10T09:10:33.711Z","0.15.8-beta.5168":"2023-02-10T20:22:18.568Z","0.15.8-beta.5218":"2023-03-01T17:38:00.816Z","0.15.8-beta.5219":"2023-03-01T23:51:02.791Z","0.15.8-beta.5224":"2023-03-02T13:35:27.514Z","0.15.8-beta.5229":"2023-03-02T18:04:30.026Z","0.15.8-beta.5238":"2023-03-03T08:54:17.887Z","0.15.8-beta.5261":"2023-03-06T16:08:01.582Z","0.15.8-beta.5269":"2023-03-07T12:45:01.831Z","0.15.8-beta.5276":"2023-03-07T22:30:53.187Z","0.15.8-beta.5281":"2023-03-08T08:20:14.700Z","0.15.8-beta.5283":"2023-03-08T08:20:20.512Z","0.15.8":"2023-03-08T09:27:54.316Z","0.15.8-beta.5316":"2023-03-15T08:26:29.339Z","0.15.9-beta.5384":"2023-03-29T09:15:32.692Z","0.15.9-beta.5387":"2023-03-30T07:23:11.185Z","0.15.9-beta.5415":"2023-04-07T22:36:28.468Z","0.15.9-beta.5417":"2023-04-08T12:15:34.859Z","0.15.9-beta.5420":"2023-04-10T09:19:26.017Z","0.15.9-beta.5423":"2023-04-10T11:13:43.600Z","0.15.9-beta.5435":"2023-04-11T09:28:40.307Z","0.15.9-beta.5437":"2023-04-11T10:59:11.513Z","0.15.9":"2023-04-11T18:27:57.641Z","0.15.10-beta.5447":"2023-04-13T20:16:28.349Z","0.15.10-beta.5457":"2023-04-17T08:03:52.464Z","0.15.10-beta.5462":"2023-04-18T08:56:45.961Z","0.15.10-beta.5463":"2023-04-18T10:39:43.909Z","0.15.10-beta.5490":"2023-04-28T10:29:23.615Z","0.15.10-beta.5491":"2023-04-28T15:21:49.709Z","0.15.10-beta.5496":"2023-05-04T13:56:24.731Z","0.15.10":"2023-05-08T10:17:57.521Z","0.15.11-beta.5506":"2023-05-11T13:27:15.176Z","0.15.11":"2023-05-15T12:59:36.099Z","0.15.12-beta.5528":"2023-05-17T00:06:00.967Z","0.15.12-beta.5531":"2023-05-17T16:55:04.671Z","0.15.12-beta.5535":"2023-05-19T07:24:38.097Z","0.15.12-beta.5538":"2023-05-19T12:10:23.484Z","0.15.12-beta.5541":"2023-05-19T16:18:07.154Z","0.15.12":"2023-05-19T23:23:32.381Z","0.15.13-beta.5556":"2023-05-22T14:36:24.965Z","0.15.13-beta.5560":"2023-05-24T12:34:38.363Z","0.15.13-beta.5575":"2023-05-26T16:07:55.732Z","0.15.13-beta.5583":"2023-05-29T12:56:30.463Z","0.15.13-beta.5591":"2023-05-31T09:47:22.329Z","0.15.13":"2023-05-31T09:47:27.996Z","1.0.0-beta.5628":"2023-06-11T00:11:11.091Z","1.0.0-beta.5630":"2023-06-11T23:44:09.617Z","1.0.0":"2023-06-12T08:11:04.671Z","1.0.1-beta.5640":"2023-06-14T15:48:33.037Z","1.0.1-beta.5650":"2023-06-16T13:54:25.370Z","1.0.1-beta.5652":"2023-06-16T14:59:10.846Z","1.0.1":"2023-06-16T15:43:43.301Z","1.0.2-beta.5685":"2023-06-21T11:54:57.236Z","1.0.2-beta.5711":"2023-06-24T08:20:02.818Z","1.0.2-beta.5727":"2023-06-25T19:41:17.490Z","1.0.2-beta.5733":"2023-06-27T08:29:09.826Z","1.0.2":"2023-06-27T08:49:01.276Z","1.1.0-beta.5752":"2023-07-06T23:04:12.711Z","1.1.0-beta.5756":"2023-07-07T13:38:51.674Z","1.1.0-beta.5772":"2023-07-10T19:05:22.844Z","1.1.0-beta.5776":"2023-07-11T07:53:15.135Z","1.1.0-beta.5777":"2023-07-11T08:34:42.049Z","1.1.0-beta.5779":"2023-07-12T12:07:27.839Z","1.1.0-beta.5787":"2023-07-18T22:30:38.435Z","1.1.0-beta.5790":"2023-07-19T23:33:37.274Z","1.1.0-beta.5795":"2023-07-24T10:12:39.019Z","1.1.0-beta.5803":"2023-07-25T08:21:35.911Z","1.1.0-beta.5806":"2023-07-25T15:03:32.467Z","1.1.0":"2023-07-25T18:37:24.776Z","1.2.0-beta.5846":"2023-08-20T13:45:18.896Z","1.2.0-beta.5853":"2023-08-22T19:39:56.482Z","1.2.0-beta.5855":"2023-08-23T00:01:07.128Z","1.2.0-beta.5859":"2023-08-23T08:31:56.374Z","1.2.0-beta.5863":"2023-08-24T07:51:58.412Z","1.2.0-beta.5865":"2023-08-25T08:28:54.398Z","1.2.0-beta.5867":"2023-08-28T11:30:40.025Z","1.2.0-beta.5869":"2023-08-28T12:48:27.632Z","1.2.0":"2023-08-28T13:37:50.036Z","1.3.0-beta.5959":"2023-09-21T10:35:55.094Z","1.3.0-beta.6001":"2023-09-26T21:32:35.470Z","1.3.0-beta.6010":"2023-09-28T08:37:28.194Z","1.3.0-beta.6013":"2023-09-28T11:11:47.727Z","1.3.0-beta.6017":"2023-09-28T16:50:22.996Z","1.3.0-beta.6047":"2023-10-01T15:07:04.951Z","1.3.0-beta.6050":"2023-10-02T12:09:45.028Z","1.3.0-beta.6059":"2023-10-05T17:26:52.650Z","1.3.0-beta.6062":"2023-10-09T00:03:34.450Z","1.3.0-beta.6065":"2023-10-09T09:18:30.137Z","1.3.0-beta.6067":"2023-10-09T11:09:14.919Z","1.3.0":"2023-10-09T12:46:24.310Z","1.3.1-beta.6119":"2023-10-16T13:30:22.708Z","1.3.1-beta.6121":"2023-10-17T12:53:54.796Z","1.3.1-beta.6123":"2023-10-17T15:07:06.410Z","1.3.1-beta.6128":"2023-10-18T08:09:35.317Z","1.3.1-beta.6133":"2023-10-18T14:41:08.842Z","1.3.1-beta.6135":"2023-10-18T18:25:01.802Z","1.3.1":"2023-10-19T19:26:45.468Z","1.3.2-beta.6156":"2023-10-20T14:56:04.526Z","1.3.2-beta.6173":"2023-10-20T20:44:15.539Z","1.3.2-beta.6174":"2023-10-20T21:37:22.905Z","1.3.2":"2023-10-23T07:39:32.994Z","1.3.3-beta.6181":"2023-10-24T09:58:43.292Z","1.3.3-beta.6187":"2023-10-25T23:22:44.021Z","1.3.3-beta.6190":"2023-10-26T16:46:39.822Z","1.3.3-beta.6201":"2023-10-30T15:05:17.915Z","1.3.3-beta.6204":"2023-11-01T12:12:50.095Z","1.3.3":"2023-11-02T12:11:20.755Z"},"bugs":{"url":"https://github.com/smapiot/piral/issues"},"author":{"name":"smapiot"},"license":"MIT","homepage":"https://piral.io","keywords":["piral","smapiot","pilet","modules","unit-testing","tests","utilities","acceptance"],"repository":{"url":"git+https://github.com/smapiot/piral.git","type":"git"},"description":"Utilities for testing pilets with jest.","maintainers":[{"email":"mail@florian-rappl.de","name":"florianrappl"},{"email":"mail@manuelroemer.com","name":"manuel.roemer"},{"email":"lothar.schoettner@smapiot.com","name":"lschoett"}],"readme":"[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io)\n\n# [Piral Jest Utils](https://piral.io) &middot; [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/piral-jest-utils.svg?style=flat)](https://www.npmjs.com/package/piral-jest-utils) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Gitter Chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/piral-io/community)\n\nThis is an opinionated utility library that can be used for testing Piral instances and pilets.\n\nWhat `piral-jest-utils` offers are utilities and mocks that make testing Piral instances and pilets with Jest very easy. From simple unit tests to complete functional tests.\n\n## Installation\n\nThis should only be installed as a development dependency (`devDependencies`) as it is only designed for testing.\n\nIf you'd love to use yarn:\n\n```sh\nyarn add --dev piral-jest-utils\n```\n\nAlternatively, npm works reliably, too:\n\n```sh\nnpm i --save-dev piral-jest-utils\n```\n\n## Setup\n\nThe simplest setup is to use the module system, you may also choose to create a setup file if needed.\n\nAdd the following script to your *package.json*:\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest --passWithNoTests\"\n  },\n}\n```\n\nAdd a new file *jest.config.js* next to the *package.json*:\n\n```js\nmodule.exports = require('piral-jest-utils').default;\n```\n\nYou can now add tests in your `src` folder. Every file sufficed with `.test.js` or `.test.ts` will be considered.\n\n## Example\n\nHave a look [here](https://github.com/piral-samples/piral-microfrontend-demo/tree/master/team-red) for an example on how `piral-jest-utils` can be used for testing pilets.\n\n## Usage\n\nIf you want to add more directories (other than `src`) then you'll need to extend the configuration.\n\nThe easiest way is to use the `extendConfig` function. Change the *jest.config.js* to look as follows:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  roots: ['foo/', 'bar/'],\n});\n```\n\nThis would add the `foo/` and `bar/` directories, too.\n\nBy default, `*.css` and `*.scss` files will be handled via an identity mapper mock. Likewise, most asset files are handled via a mock. If you want to provide new mocks or change mocks use the `moduleNameMapper` property:\n\n```js\nconst { extendConfig } = require('piral-jest-utils');\nmodule.exports = extendConfig({\n  moduleNameMapper: {\n    '\\\\.(ico|mp3|mp4)$': require.resolve('piral-jest-utils/lib/file.mock.js'),\n  },\n});\n```\n\n## License\n\nPiral is released using the MIT license. For more information see the [license file](./LICENSE).\n","readmeFilename":"README.md"}