{"_id":"@atlaskit/util-common-test","_rev":"24-3376433903d10becfdfe92deb91f8561","name":"@atlaskit/util-common-test","dist-tags":{"latest":"2.4.2"},"versions":{"1.0.0":{"name":"@atlaskit/util-common-test","version":"1.0.0","keywords":["atlaskit","ui"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@1.0.0","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"8bb4eba6864f499e7dadfe39cfac1a138245f84b","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-1.0.0.tgz","integrity":"sha512-zO/JIvO8bJhCkAsaE5+J4ehjUWI4l+EuDHp1mrYeWwiQ5G2+tc960ChhVmlujeNTkRJs0/UGWB9BwUczRmN+eg==","signatures":[{"sig":"MEUCIQD179A7jE6dPBc0X29sfhd0905xwXWsA6pndl2qODUmKAIgX5KIE0FJ8aD6bXK+5wLa28FVBlVj24MHslzMthC59VU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist","src/index.locateWebComponent.js"],"config":{"access":"public"},"_shasum":"8bb4eba6864f499e7dadfe39cfac1a138245f84b","gitHead":"b3b4b75fad380312bd08645566e67eb3619f9891","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared tests used by AtlasKit components","directories":{},"_nodeVersion":"6.7.0","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"skatejs":"^4.0.6","ak-button":"^3.0.0"},"peerDependencies":{"skatejs":">=3.x"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-1.0.0.tgz_1485733836556_0.054337808629497886","host":"packages-18-east.internal.npmjs.com"}},"1.0.1":{"name":"@atlaskit/util-common-test","version":"1.0.1","keywords":["atlaskit","ui"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@1.0.1","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"8f8e1ef523df8cafe26bc5466f94fd4605202642","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-1.0.1.tgz","integrity":"sha512-FpRKQlkudf7oP9PvzvJuuHqOW2BKJeDvEcvF/zToqY36funJ3pTr9EGQ3J4G7mU4eqkyA9fnNmL9WFKcWjyu8Q==","signatures":[{"sig":"MEUCIQCWV5oOgJ6z4lKJTAVJqnE8Wm8QBLS5CIogWNnCiojZ6QIgPD9DUTnk08bOinHN+4rFAN8XL/2z/bXikNbTAAHzBp0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist","src/index.locateWebComponent.js"],"config":{"access":"public"},"_shasum":"8f8e1ef523df8cafe26bc5466f94fd4605202642","gitHead":"0d858d363a8f3a2ed076dd518494a92305d2dcf9","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.7.0","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"skatejs":"^4.0.6","ak-button":"^3.0.0"},"peerDependencies":{"skatejs":">=3.x"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-1.0.1.tgz_1486693200318_0.41985034034587443","host":"packages-18-east.internal.npmjs.com"}},"1.0.2":{"name":"@atlaskit/util-common-test","version":"1.0.2","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@1.0.2","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"3094b4b92cd6cba05840855db20a4a0afcf976f2","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-1.0.2.tgz","integrity":"sha512-YakWvUMmyFobcMR2gHyQMHnwT9O6HpCuBPfg2vtSpaAvV9BTKzQg/JUepUpR0KbMLNYvtDGNMElswl4t+70zGw==","signatures":[{"sig":"MEYCIQDY+QQranzw1iQcGNHIX2A7RuLJPsapkW+fo6cQrIE46QIhAKkWLGWKBx2j8bSBBZnVaxgaExQ8w3GzenVq2/ZLNkYo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist","src/index.locateWebComponent.js"],"config":{"access":"public"},"_shasum":"3094b4b92cd6cba05840855db20a4a0afcf976f2","gitHead":"67fd1ba347dd14960ea17387e08c82bbb610f566","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.7.0","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"skatejs":"^4.0.6","ak-button":"^3.0.0"},"peerDependencies":{"skatejs":">=3.x"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-1.0.2.tgz_1488233156898_0.36825598194263875","host":"packages-18-east.internal.npmjs.com"}},"1.0.3":{"name":"@atlaskit/util-common-test","version":"1.0.3","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@1.0.3","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"0b1c73b8c771554afb3de90e70ff2a91a9a62bd7","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-1.0.3.tgz","integrity":"sha512-I2a8e0Vg1f5CHuH71c3HSslPBiGV2wex6oZ7yh5rpKOjVwL3tMH5ETdwhsahlJ6ZbVtbnYOIIHBp0BOQ6tUDZg==","signatures":[{"sig":"MEUCICOO0qXruWujNIf5EqcttsZVcRPwYsgFNt61vcS8RPdWAiEAkrOTwS2rdlttzj/rgdowzkJM5M4WtAkAmcFTneQcjQc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist","src/index.locateWebComponent.js"],"config":{"access":"public"},"_shasum":"0b1c73b8c771554afb3de90e70ff2a91a9a62bd7","gitHead":"038fc044deed2427e3ff6ff0a04d9299b16cb245","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.7.0","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"skatejs":"^4.0.6","ak-button":"^3.0.0"},"peerDependencies":{"skatejs":">=3.x"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-1.0.3.tgz_1488326494998_0.31189380935393274","host":"packages-18-east.internal.npmjs.com"}},"1.0.4":{"name":"@atlaskit/util-common-test","version":"1.0.4","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@1.0.4","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"cbbe372262974332f9e533add2a38e951b4a42b6","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-1.0.4.tgz","integrity":"sha512-b2p/bF3PkRz1RBfSm4bbMhe8Pl+ZnVf7ZkQV3wBZMdKb2nMKI76kQrwyB8nClbzPQrprNLI7NjYveAmJa66Pcg==","signatures":[{"sig":"MEUCIDTZQJJ4IJwlMKtn/TVW55rWiawAQPZRLbZ3ygHw5dGiAiEAnuQySptI2fWQ+kMGAUeMNc9t11M4kUfQ66y4rPJqaPQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist","src/index.locateWebComponent.js"],"config":{"access":"public"},"_shasum":"cbbe372262974332f9e533add2a38e951b4a42b6","gitHead":"a1bb34628ce97650160b276b2b1101148e4118a5","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.9.2","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"skatejs":"^4.0.6","ak-button":"^3.0.0"},"peerDependencies":{"skatejs":">=3.x"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-1.0.4.tgz_1490139713779_0.39027861086651683","host":"packages-18-east.internal.npmjs.com"}},"1.0.5":{"name":"@atlaskit/util-common-test","version":"1.0.5","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@1.0.5","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"3f5ecfa47c79cf60dfaaa24bfe509043ee6a9069","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-1.0.5.tgz","integrity":"sha512-3zGgEf8WZ0wiiyxny9/f8r8Ra6erQ1xvYcOnMXwCuVVa8RAY+5xJoT4rr66LD472eoc1qyZLKv7eBN7XTmA0zQ==","signatures":[{"sig":"MEUCIQCxrU1W6SW3SXw12zFCaIiwfupdBH/MgpHnQ5qIlfRi6wIgXHVh763rz13G0nk4fFrVXJE7hY/LfxSWtZbM7zsbmyM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist","src/index.locateWebComponent.js"],"config":{"access":"public"},"_shasum":"3f5ecfa47c79cf60dfaaa24bfe509043ee6a9069","gitHead":"6e12e296972eab5012746b8f31d203d5618b9d65","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.9.2","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"skatejs":"^4.0.6","ak-button":"^3.0.0"},"peerDependencies":{"skatejs":">=3.x"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-1.0.5.tgz_1490140045719_0.15145901683717966","host":"packages-18-east.internal.npmjs.com"}},"1.0.6":{"name":"@atlaskit/util-common-test","version":"1.0.6","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@1.0.6","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"7aa5a698b215587c64ccf4e27ccbc17b90fbaaf5","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-1.0.6.tgz","integrity":"sha512-IPrQ5/IJ9dVZG3nUY2IzfPTJlzNwzJScjkuQxbzafdoYTsiYkMguzeWbXGvd3Nw30L4LLzCr1Ho0TWW9i37m8w==","signatures":[{"sig":"MEUCIQCqsIoo7xevp3HFl7XKgjkSQixIiLbcImfi/t5aSIZ92AIgOMh+yGLntrllJ/RXYLD8axiojkaLR9J7NMSwwyCShNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist","src/index.locateWebComponent.js"],"config":{"access":"public"},"_shasum":"7aa5a698b215587c64ccf4e27ccbc17b90fbaaf5","gitHead":"966450fa3657586ecde3150ee7018c0446c2d3c1","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.9.2","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"skatejs":"^4.0.6","ak-button":"^3.0.0"},"peerDependencies":{"skatejs":">=3.x"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-1.0.6.tgz_1493203962664_0.6337474770843983","host":"packages-18-east.internal.npmjs.com"}},"2.0.0":{"name":"@atlaskit/util-common-test","version":"2.0.0","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@2.0.0","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"89588e4ea79a422e3a3aa3ff2904bf65286085ae","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-2.0.0.tgz","integrity":"sha512-3o7RwSqh0MPDLyAKXkXWrKzvZpWf+Cna4syG5YeiAS/WqzHFGyemGqnFVK2gdOIzwTNOV6igh15Lg4ryUkHPnQ==","signatures":[{"sig":"MEUCIDbwEK0hRerKA7t2g78qd3+09w/ZzL3WiV3Ez5ZW/rlpAiEAs0P9YsEsi2xdkt3mZt1uxE9WuA8ze5L/Cvok6uFCBwE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist"],"config":{"access":"public"},"_shasum":"89588e4ea79a422e3a3aa3ff2904bf65286085ae","gitHead":"fa5b31bc38d8de420a72209c1b2be067316c1ddc","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.9.2","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"ak-button":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-2.0.0.tgz_1493251680795_0.862395916134119","host":"packages-18-east.internal.npmjs.com"}},"2.0.1":{"name":"@atlaskit/util-common-test","version":"2.0.1","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@2.0.1","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"4bebb224168758a7e8e40f63b96c899314ad057b","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-2.0.1.tgz","integrity":"sha512-HAlYa1jvIdTFjpnkL5dwJHnrAuxiRdCmWk3uu2fC407sw+J+9KKW3d8StDCjtj22fsseoNKUX7IjN3awHUSuEA==","signatures":[{"sig":"MEQCICQ/+/1guxwDxJVcs+8fBT0rLaD59bfcz/R/MyKfwn7aAiAOVg1S81Asiy2zy1R/YHZTID56yUVuovaOTVlK3CjKtA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist"],"config":{"access":"public"},"_shasum":"4bebb224168758a7e8e40f63b96c899314ad057b","gitHead":"cbcdf9230a152321cb85f2ee2be7839bbd6c5585","scripts":{"prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.9.2","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"ak-button":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-2.0.1.tgz_1493272612710_0.08459183969534934","host":"packages-18-east.internal.npmjs.com"}},"2.4.0":{"name":"@atlaskit/util-common-test","version":"2.4.0","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@2.4.0","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"8b430e9283a4cd40238edcbeec1e45f126a49dec","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-2.4.0.tgz","integrity":"sha512-XaQ/chdkUkBHvjXC9uSu/EREUajZsMPuPbHVlPNLjJXr5HKiT5UNAYO2U+4EeldJlNdj7QyRIqgGXmCgnEAs6w==","signatures":[{"sig":"MEYCIQC2Jgy9UShq5EuxuykA6e5RvgBIqCqtaVcwiwLa7gialwIhAPzcz15PGKb0LtlkeraDKa+lDCLAZ2w841CRX/dkKlwM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist"],"config":{"access":"public"},"_shasum":"8b430e9283a4cd40238edcbeec1e45f126a49dec","gitHead":"c907bba38297ac05951a717e78c2c2d72c69d47c","scripts":{"jest":"../../node_modules/.bin/jest -c ../../build/config/jest.config.js","prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish-with-babel/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"jsnext:main":"dist/es/index.js","_nodeVersion":"6.9.2","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"ak-button":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-2.4.0.tgz_1500291874316_0.11223849235102534","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"@atlaskit/util-common-test","version":"2.4.1","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@2.4.1","maintainers":[{"name":"atlaskit","email":"design-platform@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"7f33adf20c2579d6df7b44838448b32a6dffd46a","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-2.4.1.tgz","integrity":"sha512-A0dm8JB+O2UqnMTgKPLZCeifzaN1pX6ktevapzUBuy7N7KQS42hhlCSZ7kDLvDfqlm8KMBGsy4tfkmByLZbmqg==","signatures":[{"sig":"MEQCIDCaXXI4Z0J0hKRFgtPLlVDOvd74z0jJ5WmJ2UKvnTSeAiAl/8tvnZdHCXJp6lta4piTY5yFG6lOuhlWfKPytVznTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist"],"config":{"access":"public"},"_shasum":"7f33adf20c2579d6df7b44838448b32a6dffd46a","gitHead":"db01d191b1532128a15c674955a5df50a7316624","scripts":{"jest":"../../node_modules/.bin/jest -c ../../build/config/jest.config.js","prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish-with-babel/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"design-platform@atlassian.com"},"_resolved":"file:packages/util-common-test","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"jsnext:main":"dist/es/index.js","_nodeVersion":"6.9.2","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"ak-button":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-2.4.1.tgz_1500951148300_0.24953179922886193","host":"s3://npm-registry-packages"}},"2.4.2":{"name":"@atlaskit/util-common-test","version":"2.4.2","keywords":["atlaskit","ui","internal"],"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","_id":"@atlaskit/util-common-test@2.4.2","maintainers":[{"name":"atlaskit","email":"lbatchelor@atlassian.com"}],"homepage":"https://bitbucket.org/atlassian/atlaskit#readme","dist":{"shasum":"d564fdb9969fff819402d94dc58fee5e9570731c","tarball":"https://registry.npmjs.org/@atlaskit/util-common-test/-/util-common-test-2.4.2.tgz","integrity":"sha512-UCbAOf9940mdhO3YDJ9anKWrpxyYMngTVd5ra9K5a34+WJ/NHIB73djW3sBuv3bt9FCaYd7ujpUEFjY0L2GA0Q==","signatures":[{"sig":"MEYCIQCh9/gSNAuXefXS55rjv44vZbbziLcbE5RVTlgf1Dy5TwIhAOiwi1CRc/9Z+mfdK2Ihx9x5rIzOmcIZCBlrVKpyX0kr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/bundle.js","_from":"packages/util-common-test","files":["dist"],"config":{"access":"public"},"_shasum":"d564fdb9969fff819402d94dc58fee5e9570731c","gitHead":"b3c9f8c9fd2cf4be3d356da7b5b99a5fc6d973bb","scripts":{"jest":"../../node_modules/.bin/jest -c ../../build/config/jest.config.js","prepublish":"../../node_modules/.bin/in-publish && { cd ../.. && npm run prepublish-with-babel/single @atlaskit/util-common-test; } || ../../node_modules/.bin/not-in-publish"},"webpack":"dist/bundle-cjs.js","_npmUser":{"name":"atlaskit","email":"lbatchelor@atlassian.com"},"_resolved":"file:packages/util-common-test","deprecated":"This package is no longer maintained","repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"_npmVersion":"3.10.7","description":"Shared test helpers used by AtlasKit components","directories":{},"_nodeVersion":"6.9.2","dependencies":{"uid":"^0.0.2","keycode":"^2.1.4","babel-runtime":"^6.11.6","custom-event-polyfill":"^0.3.0"},"ak:webpack:raw":"src/index.js","devDependencies":{"ak-button":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/util-common-test-2.4.2.tgz_1501132843851_0.6218887472059578","host":"s3://npm-registry-packages"},"jsnext:experimental:main":"dist/es/index.js"}},"time":{"created":"2017-01-29T23:50:37.187Z","modified":"2025-01-29T23:27:47.032Z","1.0.0":"2017-01-29T23:50:37.187Z","1.0.1":"2017-02-10T02:20:00.934Z","1.0.2":"2017-02-27T22:05:57.552Z","1.0.3":"2017-03-01T00:01:35.623Z","1.0.4":"2017-03-21T23:41:54.538Z","1.0.5":"2017-03-21T23:47:26.445Z","1.0.6":"2017-04-26T10:52:43.778Z","2.0.0":"2017-04-27T00:08:02.564Z","2.0.1":"2017-04-27T05:56:54.604Z","2.1.0":"2017-07-17T05:25:10.134Z","2.2.0":"2017-07-17T06:39:22.977Z","2.3.0":"2017-07-17T08:16:53.478Z","2.4.0":"2017-07-17T11:44:35.391Z","2.4.1":"2017-07-25T02:52:29.323Z","2.4.2":"2017-07-27T05:20:44.859Z"},"author":{"name":"Atlassian Pty Ltd"},"license":"Apache-2.0","homepage":"https://bitbucket.org/atlassian/atlaskit#readme","keywords":["atlaskit","ui","internal"],"repository":{"url":"git+https://bitbucket.org/atlassian/atlaskit.git","type":"git"},"description":"Shared test helpers used by AtlasKit components","maintainers":[{"email":"eng-development-tooling-secrets-and-artifacts@atlassian.com","name":"atlassianartifactteam"}],"readme":"[![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://atlaskit.atlassian.com)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://Commitizen.github.io/cz-cli/)\n[![semantic-release](https://img.shields.io/badge/GitHub-semantic_release-ffab00.svg)](https://github.com/semantic-release/semantic-release)\n[![Report an issue](https://img.shields.io/badge/Report-an_issue-6554C0.svg)](http://go.atlassian.com/atlaskit-issues)\n\n# Common test utilities for AtlasKit\n\n\n\n\n\n[//]: # (EVERYTHING BELOW THIS COMMENT WAS GENERATED BY JSDOC AND NEEDS TO BE MOVED INTO A STORYBOOK)\n[//]: # (DO NOT CHANGE THIS FILE HERE - CREATE THE STORYBOOK!)\n\n\n\n\n\n\n\n## Functions\n\n<dl>\n<dt><a href=\"#afterMutations\">afterMutations()</a></dt>\n<dd><p>Runs a list of functions, pausing between each one to ensure the component\n   has had time to re-render.\n   Ensure that you pass <code>done</code> into the test and that you call it at the end\n   as this will make your tests asyncronous.</p>\n</dd>\n<dt><a href=\"#hasClass\">hasClass(component, [...classes])</a></dt>\n<dd><p>A simple helper method to check whether a node has a set of classNames on it.\n Will return true, only if a component is provided and it has all the classNames applied to it.</p>\n</dd>\n<dt><a href=\"#keydown\">keydown(key, options)</a></dt>\n<dd><p>Simulate a user&#39;s keydown input</p>\n</dd>\n<dt><a href=\"#keyup\">keyup(key, options)</a></dt>\n<dd><p>Simulate a user&#39;s keyup input</p>\n</dd>\n<dt><a href=\"#keypress\">keypress(key, options)</a></dt>\n<dd><p>Simulate a user&#39;s keypress input</p>\n</dd>\n<dt><a href=\"#checkInvisibility\">checkInvisibility(elem)</a></dt>\n<dd><p>returns true if and only if <code>elem</code> is invisible</p>\n</dd>\n<dt><a href=\"#checkVisibility\">checkVisibility(elem)</a></dt>\n<dd><p>returns true if and only if <code>elem</code> is visible</p>\n</dd>\n<dt><a href=\"#waitUntil\">waitUntil(fn, timeout, step)</a></dt>\n<dd><p>waitUntil is a testHelper to wait an arbitrary amount of time until a\ncondition is met.\nIt takes in a function (the condition of when to keep running) and returns a promise.\nThis is useful when you want to make changes to a component and then ensure that it has been\nrendered before performing any tests.\nWithin tests this is safe as they will automatically fail after 2000ms of not responding.</p>\n</dd>\n</dl>\n\n<a name=\"afterMutations\"></a>\n\n## afterMutations()\nRuns a list of functions, pausing between each one to ensure the component\n   has had time to re-render.\n   Ensure that you pass `done` into the test and that you call it at the end\n   as this will make your tests asyncronous.\n\n**Kind**: global function\n\n| Param | Type | Description |\n| --- | --- | --- |\n| fn... | <code>function</code> | A list of functions to run in order.                    Each function is passed the return value of the last function                    (except for the last) |\n\n**JS Example**\n```js\nit('should respond to prop changes', (done) => {\n   afterMutations(\n     () => expect(component).to.be.in.some.state,\n     () => props(component, {propName, propValue}),\n     () => expect(component).to.be.in.another.state,\n     () -> props(component, {propName, anotherValue}),\n     () => expect(component).to.be.in.another.another.state,\n     done\n   );\n });\n```\n\n<a name=\"hasClass\"></a>\n\n## hasClass(component, [...classes])\nA simple helper method to check whether a node has a set of classNames on it.\n Will return true, only if a component is provided and it has all the classNames applied to it.\n\n**Kind**: global function\n\n| Param | Type | Description |\n| --- | --- | --- |\n| component | <code>Node</code> | A node to check for classNames. |\n| [...classes] | <code>String</code> | A list of classNames to check for the existance of |\n\n**JS Example**\n```js\nconst elem = document.querySelector('.fixture').firstChild;\n const elemIsHidden = hasClass(elem, 'hidden');\n const elemIsSelectedAndHidden = hasClass(elem, 'hidden', 'selected');\n```\n\n<a name=\"keydown\"></a>\n\n## keydown(key, options)\nSimulate a user's keydown input\n\n**Kind**: global function\n\n| Param | Type | Description |\n| --- | --- | --- |\n| key |  | – the key to press, will be passed to keycode |\n| options | <code>Object</code> | – options for the event. |\n| options.target |  | – a DOM element to trigger the event on. Default:triggered on the document. |\n| options.eventProperties | <code>Object</code> | – properties to assign to the event (see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent) |\n\n<a name=\"keyup\"></a>\n\n## keyup(key, options)\nSimulate a user's keyup input\n\n**Kind**: global function\n\n| Param | Type | Description |\n| --- | --- | --- |\n| key |  | – the key to press, will be passed to keycode |\n| options | <code>Object</code> | – options for the event. |\n| options.target |  | – a DOM element to trigger the event on. Default:triggered on the document. |\n| options.eventProperties | <code>Object</code> | – properties to assign to the event (see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent) |\n\n<a name=\"keypress\"></a>\n\n## keypress(key, options)\nSimulate a user's keypress input\n\n**Kind**: global function\n\n| Param | Type | Description |\n| --- | --- | --- |\n| key |  | – the key to press, will be passed to keycode |\n| options | <code>Object</code> | – options for the event. |\n| options.target |  | – a DOM element to trigger the event on. Default:triggered on the document. |\n| options.eventProperties | <code>Object</code> | – properties to assign to the event (see https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent) |\n\n<a name=\"checkInvisibility\"></a>\n\n## checkInvisibility(elem)\nreturns true if and only if `elem` is invisible\n\n**Kind**: global function\n\n| Param | Description |\n| --- | --- |\n| elem | – the element to check |\n\n<a name=\"checkVisibility\"></a>\n\n## checkVisibility(elem)\nreturns true if and only if `elem` is visible\n\n**Kind**: global function\n\n| Param | Description |\n| --- | --- |\n| elem | – the element to check |\n\n<a name=\"waitUntil\"></a>\n\n## waitUntil(fn, timeout, step)\nwaitUntil is a testHelper to wait an arbitrary amount of time until a\ncondition is met.\nIt takes in a function (the condition of when to keep running) and returns a promise.\nThis is useful when you want to make changes to a component and then ensure that it has been\nrendered before performing any tests.\nWithin tests this is safe as they will automatically fail after 2000ms of not responding.\n\n**Kind**: global function\n\n| Param | Description |\n| --- | --- |\n| fn | function that must return true when it is time for the promise to continue |\n| timeout | maximum amount of time waitUntil should wait before quiting (ms). |\n| step | amount of time to wait between checks of the `fn` condition (ms). |\n\n**JS Example**\n```js\nconst elem = document.querySelector('.fixture').firstChild;\n // We put name our condition function so we can re-use it a couple of times\n const elemRenderedImgTag = () => (elem.shadowRoot.querySelector('img') !== null);\n\n // check that no image is rendered before we start\n expect(elemRenderedImgTag()).to.equal(false);\n\n // set a property to make the image be rendered\n elem.showImage = true;\n\n // now wait until we can see the image rendered\n waitUntil(elemRenderedImgTag).then(() => (expect(elemRenderedImgTag()).to.equal(true)));\n\n // alternatively, we might want to do more things in the .then call, even chain more waitUntils\n\n waitUntil(elemRenderedImgTag).then(() => {\n   expect(elemRenderedImgTag()).to.equal(true);\n   doSomeMoreStuff(elem);\n   return waitUntil(someOtherConditionIsTrue());\n }).then(() => {\n   // Now we can do more stuff in here!\n    });\n\n // You can also set a maximum amount of time to wait (and how long to wait in between attempts)\n waitUntil(elemRenderedImgTag, 1000, 10).then(() =>\n (expect(elemRenderedImgTag()).to.equal(true)));\n // this will check if the img was rendered every 10ms for up to a total of ~1 second.\n```\n\n_* Please note that this module could have dependencies that are governed by the Atlassian Design Guidelines license which will be automatically included on install. Each dependency has a license file that indicates whether the Atlassian Design Guidelines license applies._\n\n## We're here to help!\n\nLet us know what you think of our components and docs, your feedback is really important for us.\n\nAre you in trouble? Read through our [contribution guidelines](https://bitbucket.org/atlassian/atlaskit/src/HEAD/CONTRIBUTING.md) and raise an issue to us.\n\n","readmeFilename":"README.md"}