All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
3.1.22 (2019-08-20)
Note: Version bump only for package @open-wc/testing-karma
3.1.21 (2019-08-20)
- do not destructure exports to support es-module-lexer (3709413)
3.1.20 (2019-08-18)
- use chai instead of @bundled-es-modules/chai (f9d19bb)
3.1.19 (2019-08-17)
Note: Version bump only for package @open-wc/testing-karma
3.1.18 (2019-08-14)
Note: Version bump only for package @open-wc/testing-karma
3.1.17 (2019-08-13)
Note: Version bump only for package @open-wc/testing-karma
3.1.16 (2019-08-13)
Note: Version bump only for package @open-wc/testing-karma
3.1.15 (2019-08-12)
Note: Version bump only for package @open-wc/testing-karma
3.1.14 (2019-08-12)
Note: Version bump only for package @open-wc/testing-karma
3.1.13 (2019-08-07)
Note: Version bump only for package @open-wc/testing-karma
3.1.12 (2019-08-07)
Note: Version bump only for package @open-wc/testing-karma
3.1.11 (2019-08-05)
- cleanup package.json scripts (be6bdb5)
3.1.10 (2019-08-04)
Note: Version bump only for package @open-wc/testing-karma
3.1.9 (2019-08-04)
Note: Version bump only for package @open-wc/testing-karma
3.1.8 (2019-08-04)
Note: Version bump only for package @open-wc/testing-karma
3.1.7 (2019-08-04)
Note: Version bump only for package @open-wc/testing-karma
3.1.6 (2019-07-30)
Note: Version bump only for package @open-wc/testing-karma
3.1.5 (2019-07-28)
Note: Version bump only for package @open-wc/testing-karma
3.1.4 (2019-07-26)
Note: Version bump only for package @open-wc/testing-karma
3.1.3 (2019-07-25)
Note: Version bump only for package @open-wc/testing-karma
3.1.2 (2019-07-24)
Note: Version bump only for package @open-wc/testing-karma
3.1.1 (2019-07-24)
Note: Version bump only for package @open-wc/testing-karma
3.1.0 (2019-07-24)
- testing: adding a11y testing via chai-a11y-axe plugin (5f05b53)
3.0.7 (2019-07-24)
Note: Version bump only for package @open-wc/testing-karma
3.0.6 (2019-07-22)
Note: Version bump only for package @open-wc/testing-karma
3.0.5 (2019-07-22)
3.0.4 (2019-07-19)
Note: Version bump only for package @open-wc/testing-karma
3.0.3 (2019-07-17)
Note: Version bump only for package @open-wc/testing-karma
3.0.2 (2019-07-17)
Note: Version bump only for package @open-wc/testing-karma
3.0.1 (2019-07-17)
Note: Version bump only for package @open-wc/testing-karma
3.0.0 (2019-07-15)
- testing-karma: support modules on all browsers (e800597)
- testing-karma: Removed the legacy flag which used webpack on older browsers. We now use karma-esm everywhere which supports older browsers with a compatibility option.
Update your package.json
script:
// before
"test": "karma start --legacy",
// after
"test": "karma start --compatibility all"
- testing-karma: changed config import path:
// before
const createDefaultConfig = require('@open-wc/testing-karma/default-config.js');
// after
const { createDefaultConfig } = require('@open-wc/testing-karma');
- testing-karma: node resolve is no longer enabled by default You can enable it by adding this to your karma config:
esm: {
nodeResolve: true
},
2.0.16 (2019-07-13)
Note: Version bump only for package @open-wc/testing-karma
2.0.15 (2019-07-08)
Note: Version bump only for package @open-wc/testing-karma
2.0.14 (2019-07-08)
- use file extensions for imports to support import maps (c711b13)
2.0.13 (2019-07-08)
Note: Version bump only for package @open-wc/testing-karma
2.0.12 (2019-07-08)
Note: Version bump only for package @open-wc/testing-karma
2.0.11 (2019-07-02)
Note: Version bump only for package @open-wc/testing-karma
2.0.10 (2019-07-02)
Note: Version bump only for package @open-wc/testing-karma
2.0.9 (2019-06-30)
Note: Version bump only for package @open-wc/testing-karma
2.0.8 (2019-06-23)
Note: Version bump only for package @open-wc/testing-karma
2.0.7 (2019-06-23)
Note: Version bump only for package @open-wc/testing-karma
2.0.6 (2019-06-18)
Note: Version bump only for package @open-wc/testing-karma
2.0.5 (2019-06-14)
Note: Version bump only for package @open-wc/testing-karma
2.0.4 (2019-06-08)
- testing-karma: changelog formatting for 2.0.0 (a0c70f8)
2.0.3 (2019-05-25)
Note: Version bump only for package @open-wc/testing-karma
2.0.2 (2019-05-19)
Note: Version bump only for package @open-wc/testing-karma
2.0.1 (2019-05-06)
Note: Version bump only for package @open-wc/testing-karma
2.0.0 (2019-05-06)
- testing-karma: use native es modules in modern browsers (187d155)
- testing-karma: You need to specify type: 'module' for you files
// old karma.conf.js
files: [
config.grep ? config.grep : 'test/**/*.test.js',
]
// new karma.conf.js
files: [
{ pattern: config.grep ? config.grep : 'test/**/*.test.js', type: 'module' },
]
1.1.2 (2019-05-03)
Note: Version bump only for package @open-wc/testing-karma
1.1.1 (2019-04-14)
- update generator usage (5d284d4)
1.1.0 (2019-04-08)
- semantic-dom-diff: add support for snapshot testing (f7a675a)
1.0.2 (2019-04-06)
- testing-karma: resolve chrome launcher (6e303b5)
1.0.1 (2019-04-05)
- do not assume available global types of users (cd394d9)
1.0.0 (2019-03-31)
- adopt new karma setup for all packages (1888260)
- testing-karma: improve karma config setup (b173380)
- testing-karma: overall setup changed
=> if you have mostly default configs you should be able to just run
npm init @open-wc testing
- testing-karma:
karma.conf.js
changes
// old
const defaultSettings = require('@open-wc/testing-karma/default-settings.js');
// new
const createDefaultConfig = require('@open-wc/testing-karma/default-config.js');
- testing-karma:
karma.es5.config.js
is no longer needed => usekarma start --legacy
instead - testing-karma:
karma.es5.bs.config.js
renamed tokarma.bs.config.js
- testing-karma:
karma.bs.config.js
changes
// old
const karmaEs5Config = require('./karma.es5.config.js');
// new
const createBaseConfig = require('./karma.conf.js');
- testing-karma:
package.json
scripts changed
// old package.json
"scripts": {
"test": "karma start",
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:es5": "karma start karma.es5.config.js",
"test:es5:watch": "karma start karma.es5.config.js --auto-watch=true --single-run=false",
"test:es5:bs": "karma start karma.es5.bs.config.js"
},
// new
"scripts": {
"test": "karma start --coverage",
"test:watch": "karma start --auto-watch=true --single-run=false",
"test:legacy": "karma start --legacy --coverage",
"test:legacy:watch": "karma start --legacy --auto-watch=true --single-run=false",
"test:bs": "karma start karma.bs.conf.js --legacy --coverage"
}
0.4.15 (2019-03-23)
Note: Version bump only for package @open-wc/testing-karma
0.4.14 (2019-03-08)
- testing-karma: exclude spec files in node_modules (c4ad1c1)
0.4.13 (2019-03-03)
- testing-karma: replace deprecated import meta url loader (e44f3ca)
0.4.12 (2019-02-26)
- testing-karma: add docs how to replace a specific config part (7bcb901)
0.4.11 (2019-02-16)
- update package repository fields with monorepo details (cb1acb7)
0.4.10 (2019-02-14)
- testing-karma: upgrade karma to 4.x (7b8a2f2)
0.4.9 (2019-02-02)
- unify npm readme header for all open-wc packages (1bac939)
0.4.8 (2019-02-02)
- testing-karma: show file/line number of failing tests on terminal (32b0b00)
0.4.7 (2019-01-26)
- align all open-wc readme headers (b589429)
0.4.6 (2019-01-20)
- refactor generators (1dab1f4)
0.4.5 (2019-01-19)
- restructure menu and improve docu (dd37e22)
0.4.4 (2019-01-16)
- improve documentation (4f5472f)
0.4.3 (2019-01-09)
- docu typos (aafd5e4)
0.4.2 (2018-12-20)
Note: Version bump only for package @open-wc/testing-karma
0.4.1 (2018-12-20)
0.4.0 (2018-12-19)
- use extendable karma configs by default (8fd9435)
0.3.0 (2018-12-13)
- apply prettier; add lint-staged (43acfad)
0.2.3 (2018-12-02)
Note: Version bump only for package @open-wc/testing-karma
0.2.2 (2018-12-01)
Note: Version bump only for package @open-wc/testing-karma
0.2.1 (2018-11-30)
- move documentation to READMEs of packages (b4a0426)
0.2.0 (2018-11-26)
- testing-karma: provide latest and es5 karma config creators (575f53e)
0.1.3 (2018-10-28)
- use version ranges (694e137)
0.1.2 (2018-10-27)
- deps: update dependency karma to v3.1.1 (29476bb)
- deps: update dependency webpack to v4.23.1 (9f0f8bd)
0.1.1 (2018-10-07)
- move karma-bs into its own package (9a15330)
- add minimal readme (9e52ca2)
- rename test to testing (d171018)