UNPKG

@open-wc/testing

Version:

Testing following open-wc recommendations

845 lines (228 loc) 21.4 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## [1.0.3](https://github.com/open-wc/open-wc/compare/@open-wc/testing@1.0.2...@open-wc/testing@1.0.3) (2019-06-23) **Note:** Version bump only for package @open-wc/testing ## [1.0.2](https://github.com/open-wc/open-wc/compare/@open-wc/testing@1.0.1...@open-wc/testing@1.0.2) (2019-06-23) **Note:** Version bump only for package @open-wc/testing ## [1.0.1](https://github.com/open-wc/open-wc/compare/@open-wc/testing@1.0.0...@open-wc/testing@1.0.1) (2019-06-18) **Note:** Version bump only for package @open-wc/testing # [1.0.0](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.12.6...@open-wc/testing@1.0.0) (2019-06-14) ### Features * utils and webpack plugin for an index.html entrypoint ([#474](https://github.com/open-wc/open-wc/issues/474)) ([c382cc7](https://github.com/open-wc/open-wc/commit/c382cc7)) ### BREAKING CHANGES * Replaced webpack html plugin with index html plugin ## [0.12.6](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.12.5...@open-wc/testing@0.12.6) (2019-06-08) **Note:** Version bump only for package @open-wc/testing ## [0.12.5](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.12.4...@open-wc/testing@0.12.5) (2019-05-25) **Note:** Version bump only for package @open-wc/testing ## [0.12.4](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.12.3...@open-wc/testing@0.12.4) (2019-05-19) **Note:** Version bump only for package @open-wc/testing ## [0.12.3](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.12.2...@open-wc/testing@0.12.3) (2019-05-14) **Note:** Version bump only for package @open-wc/testing ## [0.12.2](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.12.1...@open-wc/testing@0.12.2) (2019-05-14) **Note:** Version bump only for package @open-wc/testing ## [0.12.1](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.12.0...@open-wc/testing@0.12.1) (2019-05-06) **Note:** Version bump only for package @open-wc/testing # [0.12.0](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.11.7...@open-wc/testing@0.12.0) (2019-05-06) ### Features * update to latest testing-karma config syntax ([465bfe0](https://github.com/open-wc/open-wc/commit/465bfe0)) ## [0.11.7](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.11.6...@open-wc/testing@0.11.7) (2019-05-03) **Note:** Version bump only for package @open-wc/testing ## [0.11.6](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.11.5...@open-wc/testing@0.11.6) (2019-04-30) **Note:** Version bump only for package @open-wc/testing ## [0.11.5](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.11.4...@open-wc/testing@0.11.5) (2019-04-28) ### Bug Fixes * **eslint-config:** loosen up rules for test and stories files ([#408](https://github.com/open-wc/open-wc/issues/408)) ([3fd251e](https://github.com/open-wc/open-wc/commit/3fd251e)) ## [0.11.4](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.11.3...@open-wc/testing@0.11.4) (2019-04-14) ### Bug Fixes * update generator usage ([5d284d4](https://github.com/open-wc/open-wc/commit/5d284d4)) ## [0.11.3](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.11.2...@open-wc/testing@0.11.3) (2019-04-13) **Note:** Version bump only for package @open-wc/testing ## [0.11.2](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.11.1...@open-wc/testing@0.11.2) (2019-04-08) **Note:** Version bump only for package @open-wc/testing ## [0.11.1](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.11.0...@open-wc/testing@0.11.1) (2019-04-08) **Note:** Version bump only for package @open-wc/testing # [0.11.0](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.12...@open-wc/testing@0.11.0) (2019-04-08) ### Features * **semantic-dom-diff:** add support for snapshot testing ([f7a675a](https://github.com/open-wc/open-wc/commit/f7a675a)) ## [0.10.12](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.11...@open-wc/testing@0.10.12) (2019-04-06) **Note:** Version bump only for package @open-wc/testing ## [0.10.11](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.10...@open-wc/testing@0.10.11) (2019-04-05) ### Bug Fixes * do not assume available global types of users ([cd394d9](https://github.com/open-wc/open-wc/commit/cd394d9)) ## [0.10.10](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.9...@open-wc/testing@0.10.10) (2019-04-03) **Note:** Version bump only for package @open-wc/testing ## [0.10.9](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.8...@open-wc/testing@0.10.9) (2019-03-31) ### Bug Fixes * **semantic-dom-diff:** add get-diffable-html.js to npm bundle ([7ee3ba9](https://github.com/open-wc/open-wc/commit/7ee3ba9)) ## [0.10.8](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.7...@open-wc/testing@0.10.8) (2019-03-31) **Note:** Version bump only for package @open-wc/testing ## [0.10.7](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.6...@open-wc/testing@0.10.7) (2019-03-31) ### Bug Fixes * **testing:** update instructions for new karma config setup ([2de10bf](https://github.com/open-wc/open-wc/commit/2de10bf)) ## [0.10.6](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.5...@open-wc/testing@0.10.6) (2019-03-31) ### Bug Fixes * adopt new karma setup for all packages ([1888260](https://github.com/open-wc/open-wc/commit/1888260)) ## [0.10.5](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.4...@open-wc/testing@0.10.5) (2019-03-29) **Note:** Version bump only for package @open-wc/testing ## [0.10.4](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.3...@open-wc/testing@0.10.4) (2019-03-28) **Note:** Version bump only for package @open-wc/testing ## [0.10.3](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.2...@open-wc/testing@0.10.3) (2019-03-27) **Note:** Version bump only for package @open-wc/testing ## [0.10.2](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.1...@open-wc/testing@0.10.2) (2019-03-24) ### Bug Fixes * adjust generator-open-wc links to create ([cc014b1](https://github.com/open-wc/open-wc/commit/cc014b1)) ## [0.10.1](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.10.0...@open-wc/testing@0.10.1) (2019-03-23) ### Bug Fixes * do not assume globally setup mocha types ([977d5b4](https://github.com/open-wc/open-wc/commit/977d5b4)) # [0.10.0](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.28...@open-wc/testing@0.10.0) (2019-03-23) ### Features * add types + linting & improve intellisense ([b6d260c](https://github.com/open-wc/open-wc/commit/b6d260c)) ## [0.9.28](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.27...@open-wc/testing@0.9.28) (2019-03-20) **Note:** Version bump only for package @open-wc/testing ## [0.9.27](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.26...@open-wc/testing@0.9.27) (2019-03-14) **Note:** Version bump only for package @open-wc/testing ## [0.9.26](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.25...@open-wc/testing@0.9.26) (2019-03-14) **Note:** Version bump only for package @open-wc/testing ## [0.9.25](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.24...@open-wc/testing@0.9.25) (2019-03-08) **Note:** Version bump only for package @open-wc/testing ## [0.9.24](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.23...@open-wc/testing@0.9.24) (2019-03-06) **Note:** Version bump only for package @open-wc/testing ## [0.9.23](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.22...@open-wc/testing@0.9.23) (2019-03-04) **Note:** Version bump only for package @open-wc/testing ## [0.9.22](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.21...@open-wc/testing@0.9.22) (2019-03-03) **Note:** Version bump only for package @open-wc/testing ## [0.9.21](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.20...@open-wc/testing@0.9.21) (2019-02-26) **Note:** Version bump only for package @open-wc/testing ## [0.9.20](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.19...@open-wc/testing@0.9.20) (2019-02-24) **Note:** Version bump only for package @open-wc/testing ## [0.9.19](https://github.com/open-wc/open-wc/compare/@open-wc/testing@0.9.18...@open-wc/testing@0.9.19) (2019-02-16) ### Bug Fixes * update package repository fields with monorepo details ([cb1acb7](https://github.com/open-wc/open-wc/commit/cb1acb7)) ## [0.9.18](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.17...@open-wc/testing@0.9.18) (2019-02-14) **Note:** Version bump only for package @open-wc/testing ## [0.9.17](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.16...@open-wc/testing@0.9.17) (2019-02-13) ### Bug Fixes * **testing:** add info to docs to test legacy browsers ([012a867](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/012a867)) ## [0.9.16](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.15...@open-wc/testing@0.9.16) (2019-02-11) **Note:** Version bump only for package @open-wc/testing ## [0.9.15](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.14...@open-wc/testing@0.9.15) (2019-02-04) **Note:** Version bump only for package @open-wc/testing ## [0.9.14](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.13...@open-wc/testing@0.9.14) (2019-02-02) ### Bug Fixes * unify npm readme header for all open-wc packages ([1bac939](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/1bac939)) ## [0.9.13](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.12...@open-wc/testing@0.9.13) (2019-02-02) **Note:** Version bump only for package @open-wc/testing ## [0.9.12](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.11...@open-wc/testing@0.9.12) (2019-01-31) ### Bug Fixes * **testing:** missing nextFrame export ([101f79b](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/101f79b)), closes [#176](https://github.com/open-wc/open-wc/tree/master/packages/testing/issues/176) ## [0.9.11](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.10...@open-wc/testing@0.9.11) (2019-01-26) **Note:** Version bump only for package @open-wc/testing ## [0.9.10](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.9...@open-wc/testing@0.9.10) (2019-01-26) **Note:** Version bump only for package @open-wc/testing ## [0.9.9](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.8...@open-wc/testing@0.9.9) (2019-01-24) ### Bug Fixes * add docu for fixtureCleanup ([ab0170a](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/ab0170a)) ## [0.9.8](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.7...@open-wc/testing@0.9.8) (2019-01-23) **Note:** Version bump only for package @open-wc/testing ## [0.9.7](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.6...@open-wc/testing@0.9.7) (2019-01-20) ### Bug Fixes * refactor generators ([1dab1f4](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/1dab1f4)) ## [0.9.6](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.5...@open-wc/testing@0.9.6) (2019-01-19) ### Bug Fixes * move fixtureCleanup to testing helpers ([#136](https://github.com/open-wc/open-wc/tree/master/packages/testing/issues/136)) ([9d268ab](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/9d268ab)) ## [0.9.5](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.4...@open-wc/testing@0.9.5) (2019-01-19) **Note:** Version bump only for package @open-wc/testing ## [0.9.4](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.3...@open-wc/testing@0.9.4) (2019-01-16) ### Bug Fixes * improve documentation ([4f5472f](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/4f5472f)) ## [0.9.3](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.2...@open-wc/testing@0.9.3) (2019-01-13) **Note:** Version bump only for package @open-wc/testing ## [0.9.2](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.1...@open-wc/testing@0.9.2) (2019-01-09) ### Bug Fixes * docu typos ([aafd5e4](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/aafd5e4)) ## [0.9.1](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.9.0...@open-wc/testing@0.9.1) (2019-01-03) **Note:** Version bump only for package @open-wc/testing # [0.9.0](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.8.6...@open-wc/testing@0.9.0) (2019-01-02) ### Features * **testing-helpers:** fixture can handle strings and TemplateResults ([0649ea0](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/0649ea0)) ## [0.8.6](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.8.5...@open-wc/testing@0.8.6) (2018-12-29) **Note:** Version bump only for package @open-wc/testing ## [0.8.5](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.8.4...@open-wc/testing@0.8.5) (2018-12-23) **Note:** Version bump only for package @open-wc/testing ## [0.8.4](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.8.3...@open-wc/testing@0.8.4) (2018-12-22) **Note:** Version bump only for package @open-wc/testing ## [0.8.3](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.8.2...@open-wc/testing@0.8.3) (2018-12-22) **Note:** Version bump only for package @open-wc/testing ## [0.8.2](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.8.1...@open-wc/testing@0.8.2) (2018-12-20) ### Bug Fixes * properly apply prettier ([a12bb09](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/a12bb09)) ## [0.8.1](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.8.0...@open-wc/testing@0.8.1) (2018-12-20) **Note:** Version bump only for package @open-wc/testing # [0.8.0](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.7.2...@open-wc/testing@0.8.0) (2018-12-19) ### Features * use extendable karma configs by default ([8fd9435](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/8fd9435)) ## [0.7.2](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.7.1...@open-wc/testing@0.7.2) (2018-12-18) ### Bug Fixes * add testing generator + update docu ([81c765d](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/81c765d)) ## [0.7.1](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.7.0...@open-wc/testing@0.7.1) (2018-12-13) ### Bug Fixes * apply prettier; add lint-staged ([43acfad](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/43acfad)) # [0.7.0](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.6.3...@open-wc/testing@0.7.0) (2018-12-11) ### Features * add typescript type declaration files ([f5cb243](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/f5cb243)) ## [0.6.3](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.6.2...@open-wc/testing@0.6.3) (2018-12-02) **Note:** Version bump only for package @open-wc/testing ## [0.6.2](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.6.1...@open-wc/testing@0.6.2) (2018-12-01) **Note:** Version bump only for package @open-wc/testing ## [0.6.1](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.6.0...@open-wc/testing@0.6.1) (2018-11-30) ### Bug Fixes * move documentation to READMEs of packages ([b4a0426](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/b4a0426)) # [0.6.0](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.5.0...@open-wc/testing@0.6.0) (2018-11-26) ### Features * use latest testing-karma features ([5edc46c](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/5edc46c)) # [0.5.0](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.4.2...@open-wc/testing@0.5.0) (2018-11-18) ### Features * sinon is no longer a mandatory package ([ef97cec](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/ef97cec)) * use es module chai version; auto-register side-effects ([263f4ff](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/263f4ff)) ## [0.4.2](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.4.1...@open-wc/testing@0.4.2) (2018-11-18) **Note:** Version bump only for package @open-wc/testing ## [0.4.1](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.4.0...@open-wc/testing@0.4.1) (2018-11-16) **Note:** Version bump only for package @open-wc/testing # [0.4.0](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.3.2...@open-wc/testing@0.4.0) (2018-11-15) ### Features * simplify testing-helpers names ([68e1cb5](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/68e1cb5)) ## [0.3.2](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.3.1...@open-wc/testing@0.3.2) (2018-11-12) **Note:** Version bump only for package @open-wc/testing ## [0.3.1](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.3.0...@open-wc/testing@0.3.1) (2018-11-05) ### Bug Fixes * add karma.conf.js to npmignore ([9700532](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/9700532)) # [0.3.0](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.2.5...@open-wc/testing@0.3.0) (2018-11-05) ### Bug Fixes * add an npmignore file ([ddceeca](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/ddceeca)) ### Features * **testing:** refactor using testing-helpers, chai-dom-equals ([d6ac78c](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/d6ac78c)) ## [0.2.5](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.2.4...@open-wc/testing@0.2.5) (2018-10-28) ### Bug Fixes * use version ranges ([694e137](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/694e137)) ## [0.2.4](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.2.3...@open-wc/testing@0.2.4) (2018-10-27) ### Bug Fixes * **deps:** update dependency sinon to v7.1.0 ([99a095e](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/99a095e)) ## [0.2.3](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.2.2...@open-wc/testing@0.2.3) (2018-10-14) ### Bug Fixes * **deps:** update dependency sinon to v7 ([a50d8c8](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/a50d8c8)) ## [0.2.2](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.2.1...@open-wc/testing@0.2.2) (2018-10-10) **Note:** Version bump only for package @open-wc/testing ## [0.2.1](https://github.com/open-wc/open-wc/tree/master/packages/testing/compare/@open-wc/testing@0.2.0...@open-wc/testing@0.2.1) (2018-10-07) **Note:** Version bump only for package @open-wc/testing # 0.2.0 (2018-10-06) ### Bug Fixes * **deps:** pin dependencies to 4.2.0 ([98f41f5](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/98f41f5)) * add minimal readme ([9e52ca2](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/9e52ca2)) ### Features * rename test to testing ([d171018](https://github.com/open-wc/open-wc/tree/master/packages/testing/commit/d171018)) <a name="0.1.0"></a> # 0.1.0 (2018-09-29) ### Features * initial release of [@open-wc](https://github.com/open-wc)/test ([02b63ab](https://github.com/open-wc/open-wc/tree/master/packages/test/commit/02b63ab))