{"_id":"@beliantech/iron-test-helpers","_rev":"4-5d2325eef327a80a884b54f9725531fc","name":"@beliantech/iron-test-helpers","dist-tags":{"latest":"3.1.0"},"versions":{"3.0.1":{"name":"@beliantech/iron-test-helpers","version":"3.0.1","description":"[![Build status](https://travis-ci.org/PolymerElements/iron-test-helpers.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-test-helpers)","main":"mock-interactions.js","directories":{"test":"test"},"scripts":{"test":"wct","submit":"npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/beliantech/iron-test-helpers.git"},"author":"","license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","bugs":{"url":"https://github.com/beliantech/iron-test-helpers/issues"},"homepage":"https://github.com/beliantech/iron-test-helpers#readme","gitHead":"b1b8e3a9163e129ba31630a75a26ac419d92a548","_id":"@beliantech/iron-test-helpers@3.0.1","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"ernsheong","email":"ernsheong@gmail.com"},"dist":{"integrity":"sha512-Eh29N739mbNI66QnrrW18lOq3sGIy5VmeqjGPohUsOkRyi02ToxdUPXT6kcnt0We3KIqggyJtgYvucXBnxRQ4w==","shasum":"829cd1d85f6ec5bdd8675e0007bb7ad52c8964f1","tarball":"https://registry.npmjs.org/@beliantech/iron-test-helpers/-/iron-test-helpers-3.0.1.tgz","fileCount":17,"unpackedSize":38412,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdiRaCRA9TVsSAnZWagAADfQQAJfL617QVMhAstSHEPrL\nNHwnp3CamowplAAfjxiVGgu1YMBJKk1D0mE/Ma/37Ms1QTLymEE2hKWbkaBV\nyfgxrayHODEGDsx6S1AOjfkNriEUDkJCyyk3gFS8uuTwY45R+jKBjBvvt2ax\nsuF6IaAWtpu3Es1h5oa4y7keFkpCS/r/SA4t0ToBsIqehShFbgRvxt69BpIh\nm4eNrrlwl6q5rd0zsstsSsGKwLy2JgfIrJn/XoRcszySWLv1gAtajRTYCx9Z\nY+tdZEQUU1RprflT4yzTTXc313yRnWroiWkCi02QpAjCgg26wJt4bKXdBlLS\n7XIVdrRe0bJoQFk6lJh2HDGUzgu5KaX936hAZJYNKBfBj6VCVCBmEqHhZUvw\nOO1Zg2K/Pkjor+mvyNxDiIgtsaBPdHabRKVKlubjk26MHbAo3507jgjwSiR5\nN03eLotIq1vpnpYypdgO67j++mHwGObYw+NC6uxYIFuFGA12vQS1r6EcSuwU\nK2mLS6JsnSdjW72Ch4tLTNj8KRFP45ZGYbUky3NWEThcD8kzTKQw29aOEFUy\nWSwVIZqfYCUYIw0VcMI1WQSsYCVrJD1uxW38NEc+mGoFFteotVtHjMrjgLXz\n5lyyfu9Ch3DxuP+1DCjYDepIdHFrQSuD0jn09N3gmI1WJs2c0TIk58Sw7Ypn\nd3Kq\r\n=AH57\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClG4xmFnzuoXAY59fDsouJiMCR+ADNtUIHTgWnUzcnlAIhAJh5CXDtEk49l6jp9b/qRxPJ2oLxLH3ouGND161c02uY"}]},"maintainers":[{"name":"ernsheong","email":"ernsheong@gmail.com"},{"name":"jon_beliantech","email":"jonathan@beliantech.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-test-helpers_3.0.1_1534469209432_0.9621840019146599"},"_hasShrinkwrap":false},"3.0.2":{"name":"@beliantech/iron-test-helpers","version":"3.0.2","description":"[![Build status](https://travis-ci.org/PolymerElements/iron-test-helpers.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-test-helpers)","main":"mock-interactions.js","directories":{"test":"test"},"scripts":{"test":"wct","submit":"npm publish --access public"},"repository":{"type":"git","url":"git+https://github.com/beliantech/iron-test-helpers.git"},"author":"","license":"SEE LICENSE IN http://polymer.github.io/LICENSE.txt","bugs":{"url":"https://github.com/beliantech/iron-test-helpers/issues"},"homepage":"https://github.com/beliantech/iron-test-helpers#readme","dependencies":{"@polymer/polymer":"^3.0.0-pre.13"},"gitHead":"391f4169731fc2dd598b55f3574ed7b9de671940","_id":"@beliantech/iron-test-helpers@3.0.2","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"ernsheong","email":"ernsheong@gmail.com"},"dist":{"integrity":"sha512-Yfky2y1sgPgRto4UOVDs8WH/vuvNhl1gOTnevrwm3ZthTTT+crxE3t0k8dQu7FB8K4Zl1gosJ915mpN4jZ5gxQ==","shasum":"dba78164de77c98899ee027f76a1710c2a3f0a72","tarball":"https://registry.npmjs.org/@beliantech/iron-test-helpers/-/iron-test-helpers-3.0.2.tgz","fileCount":17,"unpackedSize":38477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdiiuCRA9TVsSAnZWagAAJAQP/20idtCdAWR/PNRF0oqb\ng0Rly1351YtcKlVCK9NxEmS5h+L9Brqd6C8+PR1S6HxtuWPQkBOKqD7e5Fdf\nL0G/O3PLZjZU+g/clbGqzE7/jLKLdHjdSw2I1P3vVEJxbvnz7qD5awoGzPLO\nW1Ehv8kfVcWXAUBmRSnfIlaYI8MFDgQWDfg6AIBs7EJJQaXq8c7TB1z8HylQ\ne0V4/HF1etZzOFMtAqW9tFznY4SY19LCdxnfLfZBgFYMu5m31CLSjz8+1Ic1\nImQzKjomymXey+ndG/XLn8dEn/7VhJ9gK3YmiAVLMtSmCyOt5wgCFCAK7A9V\nFAnFYYfJR9k+AVOCSbvYl8c6DhIE0uiifKi+HqnSmkKm+4iOJ7mwDYZjBthQ\nXDOyofUACjdsVtGtfG5RF0NsIX0XxMD8pWBO+0da3T8/a3A52VyJq9p4jYlf\ntTvVz9TzQ4gffYT5ekai+zAg0pYRPRh52f8gqoq7X87njAMPY5lZoQxjK3Hi\nk14vCywYGuTVrHgKgCl4zKzEmJsQloPRDvSiQb8q4gLN+Chq9jxtZJVpJgXs\nswHF2Qx2pWongUmHn2TCxZyO+ZLW86Le2UCSfMC1EXS1HMKc5ewxYOe37zOQ\nRnux7RiqhI7R/lYcFZqEUEfo/pJxBKu/h+8WHBdeKNmFKzTujRNgLraMDtt4\nN5+V\r\n=Btbv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHxh+yLFYqkNJQ7GR3dMpzgGscFRt3NipluoyBtt9QwBAiEAiXkrqOiInL0ZmArKdux5/YMhDH9zGMsmnsuionm/M1M="}]},"maintainers":[{"name":"ernsheong","email":"ernsheong@gmail.com"},{"name":"jon_beliantech","email":"jonathan@beliantech.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-test-helpers_3.0.2_1534470318373_0.1835618791375584"},"_hasShrinkwrap":false},"3.0.3":{"description":"Utility classes to help make testing easier","keywords":["web-components","web-component","polymer","test"],"repository":{"type":"git","url":"git://github.com/PolymerElements/iron-test-helpers.git"},"homepage":"https://github.com/PolymerElements/iron-test-helpers","name":"@beliantech/iron-test-helpers","version":"3.0.3","scripts":{"format":"webmat","generate-types":"gen-typescript-declarations --deleteExisting --outDir .","_prepack":"npm run generate-types","submit":"npm publish --access public"},"main":"iron-test-helpers.js","author":{"name":"The Polymer Authors"},"license":"BSD-3-Clause","dependencies":{"@polymer/polymer":"^3.0.0"},"devDependencies":{"@webcomponents/webcomponentsjs":"^2.0.0","wct-browser-legacy":"^1.0.1","webmat":"^0.2.2","@polymer/gen-typescript-declarations":"^1.5.0"},"gitHead":"d15766de9a8ba4ef3259b159baa67587ce85390f","bugs":{"url":"https://github.com/PolymerElements/iron-test-helpers/issues"},"_id":"@beliantech/iron-test-helpers@3.0.3","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"ernsheong","email":"ernsheong@gmail.com"},"dist":{"integrity":"sha512-L/8wY0jb9PpIaJUfrF0SLwEzsfXiw4cx96krlwaSiMlw4c69agMLIO9b4bEQAvSg++3OeKsRbgtj/8j4m96z3g==","shasum":"c3a6a0d78a69d0973d8a7a17ded1e7cb150f0577","tarball":"https://registry.npmjs.org/@beliantech/iron-test-helpers/-/iron-test-helpers-3.0.3.tgz","fileCount":6,"unpackedSize":22240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdivvCRA9TVsSAnZWagAA9ngQAIQDZ9okJ14O832l31EI\nBYGqtRNBjUAoRo1spP0v2CtRRoIxB2AVFnaMaM5FI5cd3gVQZCfKTZCmp+PH\nfHhwc5/8hDOZuW5BDr0j464jRj0AnIgBENJVaP//MmqBwc8yOfpPV8B307y8\neCnQed0U/gG2Sx7y5r1nkzrsGq7UiMh2nysplgyG8djauk7SzGIeXVrY0zvW\noWhxTyEOiP2nLuCO+iIJzhLHBLdMqjFzcngFDsnCMzAvqJBxSdtfJvXPdl0l\nMdyD+3aLsKiDwLyY+GrOyq7zAmHZCxxEOCXgotGLnQL6Nf91vTx8ooqwRg4F\nmAfM7Jt8kkqtAdRkKzMT1kqB1iQ4ZFG6GrZe4FTNCaX7U4Yu+URRv1tsST8n\n4dm/iMsAAaudFcGL2dQEgQfrgvUqqF7fhUxVzAt1cYHOYHBykh6+E02oN1h1\nbH+tPLhwwnv01BOwBCLK0DsQAyfzQuUN7uUH4kfd/HI5UCBh1jv6wpclKzK/\nANRZ9X6tsnG+4bGYowYuymdOhWYsTuwLNSW7vTwK7Eo054/yzuRhiHYxziqI\nTnapSVF0B4oVRlUySFn0hxowtTB86HH8bYq+AoHGZs9YZT5k3bKmZphLL/1s\ninFtubbcRBfhPoV3IBsJaAQJrfOvSVMAI6t5HvMHf0h7NgcqSKOYROL44Rl2\nsyJz\r\n=K3/W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChYSQE1o3sP3FCTQIOKyaVniU5CZgmH1cTBhS0Pd3FcAIhAP8QxM3dyJP4GF84QGFJ8YnbQpqafQ2+DYkY54MDGmVa"}]},"maintainers":[{"name":"ernsheong","email":"ernsheong@gmail.com"},{"name":"jon_beliantech","email":"jonathan@beliantech.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-test-helpers_3.0.3_1534471151101_0.31862958865888347"},"_hasShrinkwrap":false},"3.1.0":{"description":"Utility classes to help make testing easier","keywords":["web-components","web-component","polymer","test"],"repository":{"type":"git","url":"git://github.com/PolymerElements/iron-test-helpers.git"},"homepage":"https://github.com/PolymerElements/iron-test-helpers","name":"@beliantech/iron-test-helpers","version":"3.1.0","scripts":{"format":"webmat","generate-types":"gen-typescript-declarations --deleteExisting --outDir .","_prepack":"npm run generate-types","submit":"npm publish --access public"},"main":"iron-test-helpers.js","author":{"name":"The Polymer Authors"},"license":"BSD-3-Clause","dependencies":{"@polymer/polymer":"^3.0.0"},"devDependencies":{"@webcomponents/webcomponentsjs":"^2.0.0","wct-browser-legacy":"^1.0.1","webmat":"^0.2.2","@polymer/gen-typescript-declarations":"^1.5.0"},"gitHead":"a612db66670134b5bd182f3d07fc8da47be4a94d","bugs":{"url":"https://github.com/PolymerElements/iron-test-helpers/issues"},"_id":"@beliantech/iron-test-helpers@3.1.0","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"ernsheong","email":"ernsheong@gmail.com"},"dist":{"integrity":"sha512-Y1Pm6KEj94wLBPwob90z6wNetGGNyLhA0QGOgG8iCUUx8WL3HOj5V8UJT2rt9f98yv8dcGE7xac/jsaH4KPoCQ==","shasum":"5a03f910d17c51a0f788417d1551ddb35b369c9d","tarball":"https://registry.npmjs.org/@beliantech/iron-test-helpers/-/iron-test-helpers-3.1.0.tgz","fileCount":6,"unpackedSize":22658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbd/jSCRA9TVsSAnZWagAAsF8P/jenjShsojlCj+/B3Diu\nDVHurHp/Jy0L5hDsl++yJr4+ljDHXsFqbdQ+XJGk7QJrS4Aq4QOArtuL40EL\nQsuYGlfMrKFlXpoL1KZVRqqm4zfgmq61bLA1mkagpWIvjiNXaryRZH8dmWuL\nH7AI+pGsHWcUNtUdmLmNuEYSnnPkajkVuFvodglIdPIREq49MvaeI9R+xYvn\n7zHCE70VUelIJpDcctgAFTQcmnHbkOoGG/RcWD8HiqAe5WslFZrHiUrmeUNP\nmCHVuBO+GKRlWHt99BN6k9wMOVvlThrUkILFn+Ascct096EL+C6HdhR42n9v\nI121c/OfQIVCWLrQ91oDSrBQmOQVkoEG2umXJ+CWHTzFglxDZltHz6BjFv1/\nLob67Uxdq6vuujSoghqL+k0cxB06Cp6WBrF5+5qR1cGsU6WhW4gMOioNyI11\nQX/Qvm5ytKcq/7gwIJMFscEJ4Qw/2GsJJZwrhc68TuCzCPsJvb49J+QVkphV\nzD5vIlt3zh7grwIgaJVlDURK8gx03yHidfWsiR3TmbU/uSx0f97kdWaDQUIV\nGHtPFpId6e29ke3+lS8VWhlXPpLP5O4WMzhI1yXm/DNLLBjSjcBtf/QirtP4\nOOBW5M/49DnFXkyXWjUI7FdB/HI8Ls6cvScJzaphhYTEDh+Vn/Desv7rj3Jh\n8vqH\r\n=aYMi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHXXf8MrA9Ws0wtnFStg8zdx0NEPM1T6qJIoINxNUkEAiAPm4+0/BBuYyHYaZAMqcyOmMxT8a9GdDP6h2GCTMJMrg=="}]},"maintainers":[{"name":"ernsheong","email":"ernsheong@gmail.com"},{"name":"jon_beliantech","email":"jonathan@beliantech.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iron-test-helpers_3.1.0_1534589137689_0.6983205675382138"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-17T01:26:49.263Z","3.0.1":"2018-08-17T01:26:49.597Z","modified":"2022-04-04T18:19:53.609Z","3.0.2":"2018-08-17T01:45:18.481Z","3.0.3":"2018-08-17T01:59:11.197Z","3.1.0":"2018-08-18T10:45:37.790Z"},"maintainers":[{"name":"ernsheong","email":"ernsheong@gmail.com"},{"name":"jon_beliantech","email":"jonathan@beliantech.com"}],"description":"Utility classes to help make testing easier","homepage":"https://github.com/PolymerElements/iron-test-helpers","repository":{"type":"git","url":"git://github.com/PolymerElements/iron-test-helpers.git"},"bugs":{"url":"https://github.com/PolymerElements/iron-test-helpers/issues"},"license":"BSD-3-Clause","readme":"[![Published on NPM](https://img.shields.io/npm/v/@polymer/iron-test-helpers.svg)](https://www.npmjs.com/package/@polymer/iron-test-helpers)\n[![Build status](https://travis-ci.org/PolymerElements/iron-test-helpers.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-test-helpers)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://webcomponents.org/element/@polymer/iron-test-helpers)\n\n## iron-test-helpers\n\nA set of utility classes to make testing easier. For more details on the methods\navailable, please check the documentation of `mock-interactions.js` and\n`test-helpers.js`\n\nSee: [Documentation](https://www.webcomponents.org/element/@polymer/iron-test-helpers).\n\n## Usage\n\n### Mock Interactions\n\nThis is a set of methods to simulate mouse or keyboard interaction with an\nelement.\n\n```javascript\nimport {pressSpace, tap} from '@polymer/iron-test-helpers/mock-interactions.js';\n\ntest('can be triggered with space', function(done) {\n  button.addEventListener('keydown', function() {\n    done();\n  });\n  pressSpace(button);\n});\n\ntest('can be clicked', function(done) {\n  button.addEventListener('click', function() {\n    done();\n  });\n  tap(button);\n});\n```\n\n### Note on globals\n\nNote that in version 3.x, importing `mock-interactions.js` and `test-helpers.js`\nwill also set the `window.MockInteractions` and `window.TestHelpers` globals,\nrespectively (and importing `iron-test-helpers.js` will set both). This is done\nonly for backwards compatibility, and will be removed in the next major version.\nAll users should migrate away from globals and onto direct ES module imports.\n\n## Contributing\nIf you want to send a PR to this element, here are\nthe instructions for running the tests and demo locally:\n\n### Installation\n```sh\ngit clone https://github.com/PolymerElements/iron-test-helpers\ncd iron-test-helpers\nnpm install\nnpm install -g polymer-cli\n```\n\n### Running the tests\n```sh\npolymer test --npm\n```\n","readmeFilename":"README.md","keywords":["web-components","web-component","polymer","test"],"author":{"name":"The Polymer Authors"}}