{"_id":"@simpleview/mochalib","_rev":"46-0dd9e913fad833ff13ff08f80bb6efb8","name":"@simpleview/mochalib","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"@simpleview/mochalib","version":"1.0.0","author":{"name":"owenallenaz@gmail.com"},"license":"ISC","_id":"@simpleview/mochalib@1.0.0","maintainers":[{"name":"owenallenaz","email":"owenallenaz@gmail.com"}],"homepage":"https://github.com/simpleviewinc/sv-npm-mochalib#readme","bugs":{"url":"https://github.com/simpleviewinc/sv-npm-mochalib/issues"},"dist":{"shasum":"29b593f7226e5b1e5818b60ff4ae66ae3e357953","tarball":"https://registry.npmjs.org/@simpleview/mochalib/-/mochalib-1.0.0.tgz","fileCount":4,"integrity":"sha512-HeUlJdNMaEhTa9FMp5lVtjYzmyPBPZAtXbn4Z9IUq8/zG5pbpoLrLrAmsPFCjIr+jhCN1Zpk6k9GcNUOY74hew==","signatures":[{"sig":"MEQCIDZqIOkfjV6W94rkdyYNochH/84IS6C/i3i/HVp8qTwwAiBjIGmA/KQV7y6Hz7m7PKKYDF0t8Wlydpmz+NttPkuuEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcG94ACRA9TVsSAnZWagAAJE0QAI+/1/3jv3VP6ee5Fy4y\nZhSEDUHvGfBdFsAIK0OgNXMY+NrWDBgXhn40dFl6x/Q6AlEiDjFbnEscKpVP\nXIvzCAcjWC0mQ9W1jKRnlrNQIikF+/IKsJML/0O/34AFAyErtcGiLagprxKM\n5UW2y2Tx/ek0hifUVEc6Ai+UMkX00t7nBKZCs/UoF1q+qPrMePWEeGAIFj+V\nFrY91P5s0Vueek5p4WUvF0XE4gRkeQDzpUYsk3OhCBSHoNvtuutr8kl0ttVN\nz3RL1MIXe3lRcNVfrCQBA14jvaa4nb/hqZtD86YGc8sQ+DyNxLHB86bK+USc\n4zfvqAJbJCP1J/Ly555Vd0pInAR3OBWygfUhJo+uLtF6270mujydf1915tcb\nx7WFDPMqcBD/j6pOKho+t4dOAWbtwIyEfyRzQrn/nairAJQN2CRnnKGGx2x/\nMST1KjNc9Dx34+aRY4sqexDMDxwAsFT2onfG9o+IzfA15zYauHGLBtW0/QES\nbmsEGhvKzoaoQD3pddAzHUEJy3kEyBg8DsgHgCTIgi4EoNznvKSvgdHB1RQd\nGG2oAjuQT2ZAJURg9a8FywHZVZW3wN/qDDSDir2+vqxi16atZBjA1tNsbpZc\ncb9QzofRb+zrYAhGrPU226cu1t7/AF/SsEzeZkwUPAsWlwKdNbEEn56T19uO\nFVZd\r\n=gr5/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"94cd13530d1f5410cf6900a073bc74f2a5feb4b8","scripts":{"test":"mocha testing/index.test.js"},"_npmUser":{"name":"owenallenaz","email":"owenallenaz@gmail.com"},"repository":{"url":"git+https://github.com/simpleviewinc/sv-npm-mochalib.git","type":"git"},"_npmVersion":"5.6.0","description":"","directories":{},"_nodeVersion":"8.11.3","dependencies":{"jsvalidator":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/mochalib_1.0.0_1545330175657_0.37101474938823253","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@simpleview/mochalib","version":"1.0.1","author":{"name":"owenallenaz@gmail.com"},"license":"ISC","_id":"@simpleview/mochalib@1.0.1","maintainers":[{"name":"owenallenaz","email":"owenallenaz@gmail.com"}],"homepage":"https://github.com/simpleviewinc/sv-npm-mochalib#readme","bugs":{"url":"https://github.com/simpleviewinc/sv-npm-mochalib/issues"},"dist":{"shasum":"7fc3ed1367a13b2eaee421512bf6bc3915b373a1","tarball":"https://registry.npmjs.org/@simpleview/mochalib/-/mochalib-1.0.1.tgz","fileCount":4,"integrity":"sha512-DN6Wsj8cVAd2VD6Rt+DEMyet3n1I10RDPbYa5Tb4QurLl7gM/9FFBXij2a58xpa0A9yJ7chDZiFTbLJR6ZosJw==","signatures":[{"sig":"MEUCIQDRuVTTr/+X3OYYHBEZ3aotoVHj/jcHuvVuMJjShYMQegIgDBx9GBp+EbU54jU+j/pfdUAy/8971hNxUcUTJOuXOCA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcG+pxCRA9TVsSAnZWagAAtI0QAJbkk6QNJridTj+JbCWU\n8TUjIclfSr5jLvc5703jQxjCTySuGwG6BIQj4Yu0wEaXo2/XZpAbpbUtA1xW\nFCvSzKDCyMDMHHDx5Gihwy2uSyQ5p6djMu8Z8EgJqqPGHuVTzivneWFPB3/K\nmmQog0E4Ax9B/Mkfy0lStg3lBJTHf0TcuIxtvAJox0AH4oIQsuDE/MdWRfsV\nsurmZmgwEQeV6zT7iyuchIJenruylTJACe285i5XAjd8syYYREG4X1mDa7e1\n3m4S8qQKtHSYQErf2PR9z0wsXfLyTVpwxuNtqkoXym02C9gY7nHu4CkFnWdw\nx4h9dXslN1RzZ036GoSslV0PmejmhRrofpk4BM186IE8Big4BwXsD9clV3X5\nvv41OH1AWp10zftEcpQb5bEyw+TNHwqr/JQY6IinEB+DCKKQG8A8chd6FIy7\nxDvieCLp5irl5EUR/XIbKkUadM/FJ3WCWafDLMmxkrZ6orTUxcPIT/onmZR/\nMN44IWydUkO4i8dCDHooJkGDWjukctZR8W4xb5EBH0+dobN3q9Rgrf9Syozy\njIFROpqt6kjppbDsHxLaTnrZ/Dak+RIv/y9sixoAESqRc23hBDFdjQjJgzPu\nMNQvhpivejVtzoeVOxJc2MtMye5icWSiy6WzTVwGNPIt9sUmMgqMpuMo2X/F\nfujq\r\n=hJGt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8768e5df7ba35478cc23784fc9daef8ffe4b2307","scripts":{"test":"mocha testing/index.test.js"},"_npmUser":{"name":"owenallenaz","email":"owenallenaz@gmail.com"},"repository":{"url":"git+https://github.com/simpleviewinc/sv-npm-mochalib.git","type":"git"},"_npmVersion":"5.6.0","description":"Mocha helpers to help make common tasks easier.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"jsvalidator":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/mochalib_1.0.1_1545333360799_0.14160465692226132","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@simpleview/mochalib","version":"1.0.2","author":{"name":"owenallenaz@gmail.com"},"license":"ISC","_id":"@simpleview/mochalib@1.0.2","maintainers":[{"name":"araymer","email":"aaronraymer26@gmail.com"},{"name":"owenallenaz","email":"owenallenaz@gmail.com"},{"name":"qman33","email":"gotshogi@gmail.com"},{"name":"seanmalbert","email":"smabert@gmail.com"},{"name":"svjoshua","email":"jmoor@simpleviewinc.com"}],"homepage":"https://github.com/simpleviewinc/sv-npm-mochalib#readme","bugs":{"url":"https://github.com/simpleviewinc/sv-npm-mochalib/issues"},"dist":{"shasum":"4846caa92c57daf8ee93a9b2330c6eaaad151fa5","tarball":"https://registry.npmjs.org/@simpleview/mochalib/-/mochalib-1.0.2.tgz","fileCount":4,"integrity":"sha512-vzBsQZz0Tys8qD6WlXfkAhMZOMTXIPAe91hKpHueJEvb4YEeUm3tFBkh2ZfC3AIfnSLByTIft9mHIOnHEtGawg==","signatures":[{"sig":"MEQCIAWc8FZ8TzfJ6LSGZUgO3wC/bXmKwYnT6vY3lXeRuj56AiB/vz4vRKDjJhwLMm953xNbBZOC53cHhZeNpRECyBmU5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnRfdCRA9TVsSAnZWagAAwTcP/3/fjztoJ11DrKNevAEj\nhQbkI8+uDpZBfHURxpJ9lH3Vg/WINJhbZw8dOY+8BWng74CHk3oiOQD1jaAa\n+v83jtquAL+O7fVbtSPUl9+WOPP6GDjgcU/+rwW+cKbdYL53JGdBBGAVLytk\nT8f+ugjg4KTlTMblIWsanSO3s1GB4/n7FykxGEMnOpjfD91oYwplTcJrq3Et\n0VLUFpzwF9Vk+K8yP8IEaVjNq1ukkSX4dnN0YW1ZH2s8p7gJwQAbD6oODs+S\nxU8ss23r00vVIAUQNjiMFCfDo5Eu0e3xoW01S4hzY4memRFNgj4TEr1hRgGQ\nYN8kphgvSEAmGyG0L0F3AGROYWQWQY3HLGLk/1fdyftB/pAnBXOUiwJJi2tc\n+48DIBpi/JBPGEzcznDVOMrakwbNvIFXs1IGH1bMNbrjfvNxZAG4rYESb9q7\ngpEapebJAk74HCtP9oodWsRDWbuxpwq6aKiVPU9FxrhnPTmD/w+tg7EZX6dI\nt4GzG8EHaajSpc/OkLz/F1fg2W9c15e6/aN2R6i9GX3Cq4Zrz3lB639wXUN+\nugR7YnO7fOIWxp63IgmE/yWnAaCRzA0pFtb4H8VjWUN7UuWlLGT6CsfwaSsS\nc7SBWUQ2v3QBL9g36mMmhxLa2XQ/bPe0BRMFF6WZUsFqFKOiBe7awbnTUo2I\nwVBw\r\n=4bjy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","gitHead":"feac7d3168b118c6914ecfbfd95fd5e07da13ac2","scripts":{"test":"mocha testing/index.test.js","docker":"./dev/build && ./dev/run || true","publish":"./dev/publish"},"_npmUser":{"name":"owenallenaz","email":"owenallenaz@gmail.com"},"repository":{"url":"git+https://github.com/simpleviewinc/sv-npm-mochalib.git","type":"git"},"_npmVersion":"5.6.0","description":"Mocha helpers to help make common tasks easier.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"jsvalidator":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"5.2.0"},"_npmOperationalInternal":{"tmp":"tmp/mochalib_1.0.2_1570576348947_0.3479244595107489","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@simpleview/mochalib","version":"2.0.0","author":{"name":"Owen Allen","email":"owenallenaz@gmail.com"},"license":"ISC","_id":"@simpleview/mochalib@2.0.0","maintainers":[{"name":"davidlpons","email":"david.pons@simpleviewinc.com"},{"name":"treavorphilyaw","email":"treavor.philyaw@simpleviewinc.com"},{"name":"mauriciodeleonc","email":"mauricio.deleon@globant.com"},{"name":"mpcarolin","email":"mpcarolin.dev@gmail.com"},{"name":"csarantidessv","email":"Chris.Sarantides@simpleviewinc.com"},{"name":"mikesan789","email":"Michael.Harrington@simpleviewinc.com"},{"name":"owenallenaz","email":"owenallenaz@gmail.com"},{"name":"qman33","email":"gotshogi@gmail.com"},{"name":"svjoshua","email":"jmoor@simpleviewinc.com"},{"name":"mkes99","email":"mike@formativewebsolutions.com"},{"name":"colin.booen","email":"colin.booen@simpleviewinc.com"},{"name":"ssmith_sv","email":"sean.smith@simpleviewinc.com"},{"name":"aglazebrook","email":"aglazebrook@simpleviewinc.com"},{"name":"rmaynes","email":"rmaynes@simpleviewinc.com"}],"homepage":"https://github.com/simpleviewinc/sv-npm-mochalib#readme","bugs":{"url":"https://github.com/simpleviewinc/sv-npm-mochalib/issues"},"dist":{"shasum":"0bd51e2958e55ca0684ac909196bbeb5335e7f5d","tarball":"https://registry.npmjs.org/@simpleview/mochalib/-/mochalib-2.0.0.tgz","fileCount":498,"integrity":"sha512-xfF54pkp4+m1eV0lFcphIblqImFvTYmChxzb1dvyDdOprQ69IMW9V52BLfOy4wvVOFSmvd+88BgiCp7knOR+pA==","signatures":[{"sig":"MEYCIQDKwyWRucTaqkEEt6YjfqWKFRpEW8v/BTu3gYiHmLdgLQIhAP+0q9lyJuSp67hOMyJgZwRgBqm2djIR6r1PMq90S39q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37339535,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje6SLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo36A//T5BFrVeopFnCtXVwB7YxEO6B6nKglPK83r5qAdCjLUAw6qlD\r\no8DraHfLrTL9L4XFPGcgtFzcPwmMvIcceyZve4fqbP5hch+XghS9PQzrpmRT\r\nh7XTXBImiPX4/8huRKBcIy++Qjx/xB/CS+zPXi+3BnkEfigDQsabs5Z4rE7a\r\nG+uv7yWHRV+DLfRvlZ07LG/Tue9bDGiwx+pZq7M4wnHVtB8NmpsdxJz+TjxR\r\npXIwi3nKFJV+5PUhDtYbO5nPP6CQI8K2W6jj2Hf9lj8lAI0R4J7fuMxHiAtq\r\n+mohVmEK/r3Ztpq6KkC68jQG7sXe7XluTbK7SQC0ISsRGmo0lhzwefyHsQGL\r\ne3ZzLRMLmPXE/tLn2fRGucziDcFN3OUa5knVNeJb18MUh6+mqJOZgoDEMeJm\r\niFHsc5w03/yxmujGmbYDFwEgjOBt5pEKnP7jGIq/3RZ2zc/rm715jNxYBYzG\r\nl67JEsOfUa1J26SMIvaZC2OmND/5VB6vZHBGG0UCYt2QfPpu/k1LqsWT4X8J\r\nQIl5cXb6nRr2SrE8hqhfLVOQ1hYLBlJ9a4ytcs3vgBbblWyRpjJPp+TzZyKE\r\npiHplXh15S6w9u36Ec/OdHKauQnEcZoItJGDXKuXJuVIcqTeEKBah38KwElR\r\nDwal/T95xBofDCkmIacZ5tODcxGFsRYUPYg=\r\n=OiQG\r\n-----END PGP SIGNATURE-----\r\n"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"415197dbbbd8c33c079699450bf549bca560d475","scripts":{"test":"ts-mocha --paths './src/testing/index.test.ts' --timeout 10000","build":"yarn run build:cjs && yarn run build:esm && yarn run build:types","style":"eslint .","types":"tsc -p tsconfig.json --noEmit","docker":"./src/scripts/run || true","publish":"./src/scripts/publish","build:cjs":"rm -rf ./dist/cjs && tsc --project ./tsconfig.cjs.json","build:esm":"rm -rf ./dist/esm && tsc --project ./tsconfig.esm.json","style:fix":"eslint . --fix","sync-state":"bash ./src/scripts/sync-state","build:types":"rm -rf ./dist/types && tsc --project ./tsconfig.types.json"},"_npmUser":{"name":"owenallenaz","email":"owenallenaz@gmail.com"},"repository":{"url":"git+https://github.com/simpleviewinc/sv-npm-mochalib.git","type":"git"},"_npmVersion":"6.13.4","description":"Mocha helpers to help make common tasks easier.","directories":{},"sideEffects":false,"_nodeVersion":"12.14.1","_hasShrinkwrap":false,"packageManager":"yarn@3.2.1","devDependencies":{"mocha":"10.1.0","eslint":"8.12.0","ts-node":"10.9.1","ts-mocha":"10.0.0","typescript":"4.8.3","@types/node":"18.11.9","ts-node-dev":"2.0.0","@types/mocha":"10.0.0","@tsconfig/node16":"1.0.3","eslint-plugin-react":"7.31.1","@typescript-eslint/parser":"5.39.0","eslint-plugin-react-hooks":"4.6.0","@simpleview/eslint-config-dms":"0.0.6","@typescript-eslint/eslint-plugin":"5.39.0"},"_npmOperationalInternal":{"tmp":"tmp/mochalib_2.0.0_1669047434302_0.7482212872736242","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@simpleview/mochalib","version":"2.0.1","author":{"name":"Owen Allen","email":"owenallenaz@gmail.com"},"license":"ISC","_id":"@simpleview/mochalib@2.0.1","maintainers":[{"name":"davidlpons","email":"david.pons@simpleviewinc.com"},{"name":"treavorphilyaw","email":"treavor.philyaw@simpleviewinc.com"},{"name":"mauriciodeleonc","email":"mauricio.deleon@globant.com"},{"name":"mpcarolin","email":"mpcarolin.dev@gmail.com"},{"name":"csarantidessv","email":"Chris.Sarantides@simpleviewinc.com"},{"name":"mikesan789","email":"Michael.Harrington@simpleviewinc.com"},{"name":"owenallenaz","email":"owenallenaz@gmail.com"},{"name":"qman33","email":"gotshogi@gmail.com"},{"name":"svjoshua","email":"jmoor@simpleviewinc.com"},{"name":"mkes99","email":"mike@formativewebsolutions.com"},{"name":"colin.booen","email":"colin.booen@simpleviewinc.com"},{"name":"ssmith_sv","email":"sean.smith@simpleviewinc.com"},{"name":"aglazebrook","email":"aglazebrook@simpleviewinc.com"},{"name":"rmaynes","email":"rmaynes@simpleviewinc.com"}],"homepage":"https://github.com/simpleviewinc/sv-npm-mochalib#readme","bugs":{"url":"https://github.com/simpleviewinc/sv-npm-mochalib/issues"},"dist":{"shasum":"5a0448dab3ca68b88ea6eda157bcd43cd082086d","tarball":"https://registry.npmjs.org/@simpleview/mochalib/-/mochalib-2.0.1.tgz","fileCount":20,"integrity":"sha512-R5fx4CRZfMKbNRJABg6plq3negj3eafw6vP3pjmuJozMdKNiV4Mi2dFCJdKibw/84UqG66GtCU+x9X+QPgHTTg==","signatures":[{"sig":"MEQCIH+YShBKbDag+t+I070/ME2O9Cc7wRoY0k6oeyzoR25GAiBE3Rk2HS4tBAAueLlJFBfr9p7HurERLZgRW3O4L8KRXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje6TWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVkw/9GpcqAIdzO7Q4aKR91zVAwMJEDU9gjosOQXjlOyevZz+kPANE\r\nhbAAwQkKLAhK3P7UUddqO5llvMRyw00OtuP++P9TfvKLVt9Z85cX4O/6iRUV\r\n4A+o3m2Iz3S06X0noOkKbzAIv+EfK3jnNTiwoGqjGu2C48YGCWpp0EwwzH86\r\nXBem1omMfx8xY0ftbExm6jIl8npkdOxMOOTEWKSd5vTlTId+CWd+wPecfDAe\r\nGYakMvxsljIBs13mQ/W1bUdOFgMEkr2ECNTdpU7DMgGbPTiaBdsZrgEKGgzO\r\ncE2JOf6Plgcgab6BEvAuYxhfDxRivbMNdqNuS4ox7nXvMYk9rihhrxoZV3s3\r\n/RU7RG7t+rZI7ofLzg4nHi/2D4AyLAMnN33g5nFFna5rnnBpS5WY2I6yfk28\r\nD8SPCL7OwmaLHl5Fi03zmpppxs2JL1rXeQH5uuVOOPC3ci8qMxpnvAw1P3JO\r\nRw4tP1dZliB7KHvqx6Zin1BjBbrIJHik+QkEN5YtX032qEJuYrbK7LTLgpp0\r\n8FZz5qQRX+Qp7Aiy8DOVXssui7dnuNRjogsWgPN0iHp7iiXec4N/LkVN4BQe\r\nuSRVGTpT5b6RvNvxDn7MMgSW9ReNxmoWNLaHbmkIZugiL8eCntpAzxgPNCTs\r\n7fVmt3fqLnOGKM4CgJ0TTqHyErjnbP1nLyI=\r\n=ymxc\r\n-----END PGP SIGNATURE-----\r\n"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"c4d308a9cf425b799b1ae6ffbd04092842058eba","scripts":{"test":"ts-mocha --paths './src/testing/index.test.ts' --timeout 10000","build":"yarn run build:cjs && yarn run build:esm && yarn run build:types","style":"eslint .","types":"tsc -p tsconfig.json --noEmit","docker":"./src/scripts/run || true","publish":"./src/scripts/publish","build:cjs":"rm -rf ./dist/cjs && tsc --project ./tsconfig.cjs.json","build:esm":"rm -rf ./dist/esm && tsc --project ./tsconfig.esm.json","style:fix":"eslint . --fix","sync-state":"bash ./src/scripts/sync-state","build:types":"rm -rf ./dist/types && tsc --project ./tsconfig.types.json"},"_npmUser":{"name":"owenallenaz","email":"owenallenaz@gmail.com"},"repository":{"url":"git+https://github.com/simpleviewinc/sv-npm-mochalib.git","type":"git"},"_npmVersion":"6.13.4","description":"Mocha helpers to help make common tasks easier.","directories":{},"sideEffects":false,"_nodeVersion":"12.14.1","_hasShrinkwrap":false,"packageManager":"yarn@3.2.1","devDependencies":{"mocha":"10.1.0","eslint":"8.12.0","ts-node":"10.9.1","ts-mocha":"10.0.0","typescript":"4.8.3","@types/node":"18.11.9","ts-node-dev":"2.0.0","@types/mocha":"10.0.0","@tsconfig/node16":"1.0.3","eslint-plugin-react":"7.31.1","@typescript-eslint/parser":"5.39.0","eslint-plugin-react-hooks":"4.6.0","@simpleview/eslint-config-dms":"0.0.6","@typescript-eslint/eslint-plugin":"5.39.0"},"_npmOperationalInternal":{"tmp":"tmp/mochalib_2.0.1_1669047509928_0.7152309525320786","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@simpleview/mochalib","version":"2.0.2","author":{"name":"Owen Allen","email":"owenallenaz@gmail.com"},"license":"ISC","_id":"@simpleview/mochalib@2.0.2","maintainers":[{"name":"davidlpons","email":"david.pons@simpleviewinc.com"},{"name":"treavorphilyaw","email":"treavor.philyaw@simpleviewinc.com"},{"name":"mauriciodeleonc","email":"mauricio.deleon@globant.com"},{"name":"mpcarolin","email":"mpcarolin.dev@gmail.com"},{"name":"csarantidessv","email":"Chris.Sarantides@simpleviewinc.com"},{"name":"mikesan789","email":"Michael.Harrington@simpleviewinc.com"},{"name":"owenallenaz","email":"owenallenaz@gmail.com"},{"name":"qman33","email":"gotshogi@gmail.com"},{"name":"svjoshua","email":"jmoor@simpleviewinc.com"},{"name":"mkes99","email":"mike@formativewebsolutions.com"},{"name":"colin.booen","email":"colin.booen@simpleviewinc.com"},{"name":"ssmith_sv","email":"sean.smith@simpleviewinc.com"},{"name":"aglazebrook","email":"aglazebrook@simpleviewinc.com"},{"name":"rmaynes","email":"rmaynes@simpleviewinc.com"}],"homepage":"https://github.com/simpleviewinc/sv-npm-mochalib#readme","bugs":{"url":"https://github.com/simpleviewinc/sv-npm-mochalib/issues"},"dist":{"shasum":"c2a9c237d5e4f6822333dd573d3c0521f15916d4","tarball":"https://registry.npmjs.org/@simpleview/mochalib/-/mochalib-2.0.2.tgz","fileCount":20,"integrity":"sha512-gspLNbizOs0Pa+u5HcGECKN9wC85SOKKrB6zzDqrzy5hibiJiWEiYB03KRAU9YAE6jP8IBFFxiCtH+8VRDf3zw==","signatures":[{"sig":"MEYCIQCMtTkyNWTEIvruk9pbgjiLAHXX3m1Vs1zqtY/LTKCfqwIhAP5Ul8fdLg9hJhVW3HrO0Vf9+pVNkt94X94XGMraWVpA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJje7LoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqofBAAoyd28u6VueFJTiMd+IxvDIVTAxu9BM2XIH2smJ1lxqpYtH44\r\nk6uyDDz4M+2aVYx82ZLecueI94GW/TnKUPok+tn+qdIS7HeF7cNQe7//8CoE\r\nnngNaOY8NBzmUkGTl3MrZXzyH/xYpBMUBPvRdzllM/ABO7kpw/sKf6vhUaFM\r\nhtU2Y1hxLjs93zhTab/7udHewpgP+wOA6kCyYKKxHe8lFeJalR9kTHDpPGG3\r\nUXu7L278HcENGattsAJCFkC+vFsldEqSZbntbtGXtlO7vcRAjMzTGbWKS1bP\r\n+ddDwf7HVzt9hJLBHi8aCfCu3zgwGqQUuXrWxH9YuJWpnysHcuq+6NfpKFPk\r\nDpsBk7HdwBbQ13cHETQLGgQm6NWG6NHCrqVuhcqoXVhnj0QXUGbBzLKhkPe5\r\nwRxc8NHKJDiYCFc92sBw9vJxdIwHIRyDWKOG+FAW22PXGlaTKNvFGQgxgOuq\r\nViUGU2sV9HpXQLswsjpTDbPPoOiEhFpNXloiiFAetI7rkE9rKJAUCrvfGMBr\r\nYhAUljF1titImgFa/BaHC8JRYlw2IKA7Y0dasxr3uUG7xhK1Dbq1mcJj3q+m\r\nHkT9PyzcB8y3/qPqzYigYGQ6uOO8gcW/H0Kif7IvOWLjJKAU2rUhZlTmPdaW\r\nhwMb/FpeWAQqnzSaVH7IA+jlS+vUPkgmO8E=\r\n=+CE1\r\n-----END PGP SIGNATURE-----\r\n"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"5a3fac53254e8e872905bad412db66bf7b577a3a","scripts":{"test":"ts-mocha --paths './src/testing/index.test.ts' --timeout 10000","build":"yarn run build:cjs && yarn run build:esm && yarn run build:types","style":"eslint .","types":"tsc -p tsconfig.json --noEmit","docker":"./src/scripts/run || true","publish":"./src/scripts/publish","build:cjs":"rm -rf ./dist/cjs && tsc --project ./tsconfig.cjs.json","build:esm":"rm -rf ./dist/esm && tsc --project ./tsconfig.esm.json","style:fix":"eslint . --fix","sync-state":"bash ./src/scripts/sync-state","build:types":"rm -rf ./dist/types && tsc --project ./tsconfig.types.json"},"_npmUser":{"name":"owenallenaz","email":"owenallenaz@gmail.com"},"repository":{"url":"git+https://github.com/simpleviewinc/sv-npm-mochalib.git","type":"git"},"_npmVersion":"6.13.4","description":"Mocha helpers to help make common tasks easier.","directories":{},"sideEffects":false,"_nodeVersion":"12.14.1","_hasShrinkwrap":false,"packageManager":"yarn@3.2.1","devDependencies":{"mocha":"10.1.0","eslint":"8.12.0","ts-node":"10.9.1","ts-mocha":"10.0.0","typescript":"4.8.3","@types/node":"18.11.9","ts-node-dev":"2.0.0","@types/mocha":"10.0.0","@tsconfig/node16":"1.0.3","eslint-plugin-react":"7.31.1","@typescript-eslint/parser":"5.39.0","eslint-plugin-react-hooks":"4.6.0","@simpleview/eslint-config-dms":"0.0.6","@typescript-eslint/eslint-plugin":"5.39.0"},"_npmOperationalInternal":{"tmp":"tmp/mochalib_2.0.2_1669051112333_0.38250659362944184","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@simpleview/mochalib","version":"3.0.1","author":{"name":"Owen Allen","email":"owenallenaz@gmail.com"},"license":"ISC","_id":"@simpleview/mochalib@3.0.1","maintainers":[{"name":"davidlpons","email":"david.pons@simpleviewinc.com"},{"name":"owenallenaz","email":"owenallenaz@gmail.com"},{"name":"qman33","email":"gotshogi@gmail.com"},{"name":"svjoshua","email":"jmoor@simpleviewinc.com"},{"name":"georgeyb-sv","email":"george.batt@simpleviewinc.com"},{"name":"mkes99","email":"mike@formativewebsolutions.com"},{"name":"colin.booen","email":"colin.booen@simpleviewinc.com"},{"name":"ssmith_sv","email":"sean.smith@simpleviewinc.com"},{"name":"aglazebrook","email":"aglazebrook@simpleviewinc.com"},{"name":"rmaynes","email":"rmaynes@simpleviewinc.com"},{"name":"csarantidessv","email":"Chris.Sarantides@simpleviewinc.com"},{"name":"mikesan789","email":"Michael.Harrington@simpleviewinc.com"},{"name":"kristian.gonzalez","email":"Kristian.Gonzalez@simpleviewinc.com"},{"name":"paul.riding","email":"paul.riding@simpleviewinc.com"},{"name":"arkmuntasser","email":"amir.muntasser@simpleviewinc.com"},{"name":"actionawesome","email":"ed.downard@simpleviewinc.com"},{"name":"mcutshall","email":"mcutshall0@gmail.com"},{"name":"sv-mikael","email":"mikael.ramirez@simpleviewinc.com"},{"name":"korychinn_sv","email":"kory.chinn@simpleviewinc.com"},{"name":"leandrodalmassoglb","email":"leandro.dalmasso@globant.com"},{"name":"dlford","email":"dan-npmjs@dlford.io"},{"name":"sloutrel","email":"s.loutrel@gmail.com"}],"homepage":"https://github.com/simpleviewinc/sv-npm-mochalib#readme","bugs":{"url":"https://github.com/simpleviewinc/sv-npm-mochalib/issues"},"dist":{"shasum":"a2bc62e34c114a6a80e13b49fafc18245f8bd381","tarball":"https://registry.npmjs.org/@simpleview/mochalib/-/mochalib-3.0.1.tgz","fileCount":20,"integrity":"sha512-qlLUHZUB7fimt99e0vWK4WZzgP6owooZL9UvsDLgM1fsaDuOGl4dhM4UUirS2DY0l7zAllCP3zKi3Hf0CJbh5w==","signatures":[{"sig":"MEUCIQDvdC7tauBVa5YP40DMRRUrYY7rGsisIMhOWaZ/KlTQiAIgbOaLAZsv37v0T/ooj8Jc5h7W8V6msOojVj2HUCRiiQc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26826},"exports":{".":{"types":"./dist/types/index.d.ts","require":"./dist/cjs/index.js"}},"gitHead":"7e5adf91d86beb6c56f227681e94cabee3e9de4d","scripts":{"test":"mocha --require ts-node/register './src/testing/index.test.ts' --timeout 10000","build":"yarn run build:cjs && yarn run build:types","style":"eslint .","types":"tsc -p tsconfig.json --noEmit","docker":"./src/scripts/run || true","publish":"./src/scripts/publish","build:cjs":"rm -rf ./dist/cjs && tsc --project ./tsconfig.cjs.json","build:esm":"rm -rf ./dist/esm && tsc --project ./tsconfig.esm.json","style:fix":"eslint . --fix","sync-state":"bash ./src/scripts/sync-state","build:types":"rm -rf ./dist/types && tsc --project ./tsconfig.types.json","install:host":"npm install -f --package-lock false"},"_npmUser":{"name":"owenallenaz","email":"owenallenaz@gmail.com"},"repository":{"url":"git+https://github.com/simpleviewinc/sv-npm-mochalib.git","type":"git"},"_npmVersion":"10.8.2","description":"Mocha helpers to help make common tasks easier.","directories":{},"sideEffects":false,"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"packageManager":"yarn@4.2.2+sha512.c44e283c54e02de9d1da8687025b030078c1b9648d2895a65aab8e64225bfb7becba87e1809fc0b4b6778bbd47a1e2ab6ac647de4c5e383a53a7c17db6c3ff4b","devDependencies":{"mocha":"10.1.0","eslint":"9.12.0","ts-node":"10.9.2","typescript":"5.4.5","@types/node":"18.11.9","ts-node-dev":"2.0.0","@types/mocha":"10.0.0","@tsconfig/node20":"20.1.4","@typescript-eslint/parser":"5.39.0","@simpleview/eslint-config-dms":"2.0.3","@typescript-eslint/eslint-plugin":"5.39.0"},"_npmOperationalInternal":{"tmp":"tmp/mochalib_3.0.1_1742852746795_0.27704340977603703","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2018-12-20T18:22:55.476Z","modified":"2025-10-16T19:54:43.641Z","1.0.0":"2018-12-20T18:22:55.783Z","1.0.1":"2018-12-20T19:16:00.883Z","1.0.2":"2019-10-08T23:12:29.069Z","2.0.0":"2022-11-21T16:17:15.028Z","2.0.1":"2022-11-21T16:18:30.051Z","2.0.2":"2022-11-21T17:18:32.487Z","3.0.1":"2025-03-24T21:45:46.990Z"},"bugs":{"url":"https://github.com/simpleviewinc/sv-npm-mochalib/issues"},"author":{"name":"Owen Allen","email":"owenallenaz@gmail.com"},"license":"ISC","homepage":"https://github.com/simpleviewinc/sv-npm-mochalib#readme","repository":{"url":"git+https://github.com/simpleviewinc/sv-npm-mochalib.git","type":"git"},"description":"Mocha helpers to help make common tasks easier.","maintainers":[{"email":"owenallenaz@gmail.com","name":"owenallenaz"},{"email":"gotshogi@gmail.com","name":"qman33"},{"email":"jmoor@simpleviewinc.com","name":"svjoshua"},{"email":"george.batt@simpleviewinc.com","name":"georgeyb-sv"},{"email":"mike@formativewebsolutions.com","name":"mkes99"},{"email":"colin.booen@simpleviewinc.com","name":"colin.booen"},{"email":"sean.smith@simpleviewinc.com","name":"ssmith_sv"},{"email":"aglazebrook@simpleviewinc.com","name":"aglazebrook"},{"email":"rmaynes@simpleviewinc.com","name":"rmaynes"},{"email":"Michael.Harrington@simpleviewinc.com","name":"mikesan789"},{"email":"Kristian.Gonzalez@simpleviewinc.com","name":"kristian.gonzalez"},{"email":"paul.riding@simpleviewinc.com","name":"paul.riding"},{"email":"amir.muntasser@simpleviewinc.com","name":"arkmuntasser"},{"email":"ed.downard@simpleviewinc.com","name":"actionawesome"},{"email":"mcutshall0@gmail.com","name":"mcutshall"},{"email":"mikael.ramirez@simpleviewinc.com","name":"sv-mikael"},{"email":"kory.chinn@simpleviewinc.com","name":"korychinn_sv"},{"email":"dan-npmjs@dlford.io","name":"dlford"},{"email":"s.loutrel@gmail.com","name":"sloutrel"}],"readme":"# @simpleview/mochalib\r\n\r\n## Getting Started\r\n\r\n```\r\nnpm install @simpleview/mochalib\r\n```\r\n\r\n```\r\nconst mochaLib = require(\"@simpleview/mochalib\");\r\n```\r\n\r\n## Overview\r\n\r\nOften when writing unit tests you will end up writing numerous tests which have the exact same boilerplate. In example if you are testing a templating engine you must end up with a section like follows:\r\n\r\n```js\r\nit(\"should fill with string\", function() {\r\n\tassert.strictEqual(template.fill(\"{{data}}\", { data : \"foo\" }), \"foo\");\r\n});\r\n\r\nit(\"should fill with boolean\", function() {\r\n\tassert.strictEqual(template.fill(\"{{data}}\", { data : true }), \"true\");\r\n})\r\n\r\nit(\"should fill with number\", function() {\r\n\tassert.strictEqual(template.fill(\"{{data}}\", { data : 10 }), \"10\");\r\n});\r\n```\r\n\r\nIn that case all 3 tests are basically doing the same thing. But there's a lot of duplicated code between each test. That can be done cleaner like so:\r\n\r\n```js\r\nconst tests = [\r\n\t{\r\n\t\tname : \"should fill with string\",\r\n\t\targs : {\r\n\t\t\tdata : \"foo\",\r\n\t\t\tresult : \"foo\"\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tname : \"should fill with boolean\",\r\n\t\targs : {\r\n\t\t\tdata : true,\r\n\t\t\tresult : \"true\"\r\n\t\t}\r\n\t},\r\n\t{\r\n\t\tname : \"should fill with number\",\r\n\t\targs : {\r\n\t\t\tdata : 10,\r\n\t\t\tresult : \"10\"\r\n\t\t}\r\n\t}\r\n]\r\n\r\nmochaLib.testArray(tests, function(test) {\r\n\tassert.strictEqual(template.fill(\"{{data}}\", { data : test.data }), test.result);\r\n});\r\n```\r\n\r\nThe more complicated the test, the more savings you get by utilizing a test array.\r\n\r\n## API\r\n\r\n### testArray(tests, fn)\r\n\r\n* tests - `object[]`\r\n\t* `name` - `string` - Test name\r\n\t* `timeout` - `number` - Set a timeout in ms for this specific test.\r\n\t* `before` - `function` or `async function` - Execute a function prior to execution of the test. Executed as `await before(args)`.\r\n\t* `after` - `function` or `async function` - Execute a function after execute of the test. Executed as `await after(args)`.\r\n\t* `only` - `boolean` - Only execute this test.\r\n\t* `skip` - `boolean` - Skip this test.\r\n\t* `args` - `object` or `function` or `async function` - Definition of the test data which will be passed to the `fn`. Can be an object of data, or a function, or an async function.\r\n* fn - `function(test)` or `async function(test)` - Receives the test args returned on `test`. If you utilize a non-async function, it must return a promise if you go off the event loop.\r\n\r\nBasic Example\r\n\r\n```js\r\nconst mochaLib = require(\"@simpleview/mochalib\");\r\nconst assert = require(\"assert\");\r\n\r\ndescribe(__filename, function() {\r\n\tdescribe(\"test array\", function() {\r\n\t\tconst tests = [\r\n\t\t\t{\r\n\t\t\t\tname : \"test 1\",\r\n\t\t\t\targs : {\r\n\t\t\t\t\tnum : 1,\r\n\t\t\t\t\tresult : 2\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tname : \"test 2\",\r\n\t\t\t\targs : {\r\n\t\t\t\t\tnum : 2,\r\n\t\t\t\t\tresult : 4\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tname : \"test 3\",\r\n\t\t\t\t// returning the args from a function\r\n\t\t\t\targs : () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tnum : 3,\r\n\t\t\t\t\t\tresult : 6\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t// return args from an async function with shorthand notation\r\n\t\t\t\tname : \"test 4\",\r\n\t\t\t\targs : async () => ({\r\n\t\t\t\t\tnum : 4,\r\n\t\t\t\t\tresult : 8\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t]\r\n\r\n\t\tmochaLib.testArray(tests, function(test) {\r\n\t\t\tassert.strictEqual(test.num * 2, test.result);\r\n\t\t});\r\n\t});\r\n});\r\n```\r\n\r\nUsing with Typescript\r\n\r\n```typescript\r\nimport { testArray, TestDef } from \"@simpleview/mochalib\";\r\nimport assert from \"assert\";\r\n\r\ndescribe(__filename, function() {\r\n\tdescribe(\"test array\", function() {\r\n\t\tinterface Test {\r\n\t\t\tnum: number\r\n\t\t\tresult: number\r\n\t\t}\r\n\r\n\t\t// ensures type-checking on your test array\r\n\t\tconst tests: TestDef<Test>[] = [\r\n\t\t\t{\r\n\t\t\t\tname : \"test 1\",\r\n\t\t\t\targs : {\r\n\t\t\t\t\tnum : 1,\r\n\t\t\t\t\tresult : 2\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tname : \"test 2\",\r\n\t\t\t\targs : {\r\n\t\t\t\t\tnum : 2,\r\n\t\t\t\t\tresult : 4\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tname : \"test 3\",\r\n\t\t\t\t// returning the args from a function\r\n\t\t\t\targs : () => {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tnum : 3,\r\n\t\t\t\t\t\tresult : 6\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t// return args from an async function with shorthand notation\r\n\t\t\t\tname : \"test 4\",\r\n\t\t\t\targs : async () => ({\r\n\t\t\t\t\tnum : 4,\r\n\t\t\t\t\tresult : 8\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t]\r\n\r\n\t\ttestArray<Test>(tests, function(test) {\r\n\t\t\t// now test is strictly typed\r\n\t\t\tassert.strictEqual(test.num * 2, test.result);\r\n\t\t});\r\n\t});\r\n});\r\n```\r\n","readmeFilename":"README.md"}