Commit Graph

31 Commits

Author SHA1 Message Date
Lars den Bakker
bdcc717f36 fix: adopt to new testing-karma setup 2019-07-16 01:54:32 +02:00
Thomas Allmer
8c5654078b feat(rollup-plugin-index-html): support import maps (#519) 2019-06-30 00:01:06 +02:00
Lars den Bakker
f7a675a01c feat(semantic-dom-diff): add support for snapshot testing 2019-04-08 09:19:13 +02:00
Thomas Allmer
cd394d96bc fix: do not assume available global types of users 2019-04-06 01:11:14 +02:00
Thomas Allmer
c94408dc78 fix(chai-dom-equals): compare children only via lightDom (#346) 2019-04-03 16:32:26 +02:00
Thomas Allmer
1888260419 fix: adopt new karma setup for all packages 2019-03-31 14:58:11 +02:00
Lars den Bakker
b1733804dc feat(testing-karma): improve karma config setup
BREAKING CHANGE: overall setup changed
=> if you have mostly default configs you should be able to just run `npm init @open-wc testing`

BREAKING CHANGE: `karma.conf.js` changes
```js
// old
const defaultSettings = require('@open-wc/testing-karma/default-settings.js');

// new
const createDefaultConfig = require('@open-wc/testing-karma/default-config.js');
```

BREAKING CHANGE: `karma.es5.config.js` is no longer needed
=> use `karma start --legacy` instead

BREAKING CHANGE: `karma.es5.bs.config.js` renamed to `karma.bs.config.js`

BREAKING CHANGE: `karma.bs.config.js` changes
```js
// old
const karmaEs5Config = require('./karma.es5.config.js');

// new
const createBaseConfig = require('./karma.conf.js');
```

BREAKING CHANGE: `package.json` scripts changed
```js
// 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"
}
```
2019-03-31 14:58:11 +02:00
Thomas Allmer
b6d260c04f feat: add types + linting & improve intellisense 2019-03-23 23:17:23 +01:00
Thomas Allmer
4c5bd856f4 feat: move to yarn 2019-03-23 10:55:04 +01:00
Thomas Allmer
a81ee50714 chore: run all needed karma tests in one session 2019-03-18 20:55:41 +01:00
Joren Broekema
438a3193dc fix(create): generated prettier scripts should work on windows 2019-03-13 18:56:49 +01:00
Thomas Allmer
1e1e6346bf docs: set vuepress mode to develop to work around terser bug 2019-02-02 20:57:21 +01:00
Thomas Allmer
7e9d463ade chore: sync vuepress + plugin version 2019-01-07 23:48:47 +01:00
Thomas Allmer
46513b718b chore: add google analytics 2019-01-05 06:34:31 +01:00
Thomas Allmer
5c29f7a853 fix: linting generators & documentation 2018-12-20 17:04:23 +01:00
Thomas Allmer
1f3eae802c fix(testing-karma): hotfix use @babel/polyfill/dist 2018-12-20 14:44:37 +01:00
Thomas Allmer
43acfad699 fix: apply prettier; add lint-staged 2018-12-12 23:18:46 +01:00
Thomas Allmer
0fc40f0faf chore(webpack): add tests for import-meta-url-loader 2018-12-01 02:26:21 +01:00
Thomas Allmer
5edc46c9f8 feat: use latest testing-karma features 2018-11-26 20:00:18 +01:00
Thomas Allmer
d21c55a0b0 chore: update docu for testing 2018-11-08 15:26:36 +01:00
Thomas Allmer
123890938c fix: testing can not be run in parallel
A single browser can not run tests in multiple packages at the same
time. Limiting concurrency to 1.
2018-11-05 05:49:32 +01:00
Thomas Allmer
9b952d5765 feat: initial site with docs using vuepress 2018-10-28 17:58:31 +01:00
Renovate Bot
106e8171d0 chore(deps): update dependency husky to v1.1.2 2018-10-27 16:35:25 +02:00
Renovate Bot
2711c6f5d4 chore(deps): update commitlint monorepo to v7.2.1 2018-10-27 16:33:25 +02:00
Renovate Bot
724adf3b4d chore(deps): update dependency lerna to v3.4.3 2018-10-10 22:31:05 +02:00
Thomas Allmer
f5e4add96b chore: add publish command 2018-10-07 20:25:19 +02:00
Renovate Bot
d9a36c61a2 fix(deps): pin dependencies to 7.1.2 2018-10-06 11:43:04 +02:00
Thomas Allmer
5aff947c87 feat(test): add karma and browserstack 2018-10-05 02:14:15 +02:00
Thomas Allmer
1e5e4c36d1 feat: add commitlint and husky 2018-09-29 15:07:58 +02:00
Thomas Allmer
6cfd014adf chore: apply eslint config 2018-09-29 01:09:39 +02:00
Thomas Allmer
54d963d53f feat: initial release 2018-09-17 14:56:22 +02:00