Commit Graph

214 Commits

Author SHA1 Message Date
Haoqun Jiang 94da5243be v4.2.2 2020-02-07 19:10:35 +08:00
Haoqun Jiang 8b951f81d5 v4.2.1 2020-02-07 18:09:45 +08:00
Haoqun Jiang 079a451f18 v4.2.0 2020-02-07 15:44:52 +08:00
Haoqun Jiang 9a1d52e2ff feat: create projects with @vue/test-utils beta 31 (#5147)
See changelog at https://github.com/vuejs/vue-test-utils/blob/v1.0.0-beta.31/CHANGELOG.md#100-beta31-2020-01-18

New projects will be created with this new version.

There are a few breaking changes since beta.29. So we can't automatically migrate existing projects to this new version. Users can upgrade at their own will.
2020-02-06 14:27:21 +08:00
Haoqun Jiang 8028d9fff7 chore: dependency maintenance 2020-02-02 23:08:35 +08:00
Haoqun Jiang 51cdebdadf fix applyESLint when eslint plugin is added after unit test plugins (#5028)
* fix: fix applyESLint when eslint plugin is added after unit test plugins

closes #5017

* test: update test for mocha generator
2020-01-27 21:44:36 +08:00
Haoqun Jiang 3b7227d544 v4.1.2 2019-12-28 20:54:27 +08:00
ziga ef548a7eca Update debugging instructions (#4754)
I only tested on macOS – but I suspect it's same on all OS-es.

Refs:
- https://jestjs.io/docs/en/troubleshooting
- https://jestjs.io/docs/en/cli.html#runinband
2019-12-21 07:51:26 +02:00
Haoqun Jiang 2ddcc65dfe v4.1.1 2019-11-27 23:14:15 +08:00
Haoqun Jiang d316a18789 v4.1.0 2019-11-27 14:58:46 +08:00
Haoqun Jiang 84aed8ef10 chore: dependency maintenance 2019-11-27 00:34:22 +08:00
Haoqun Jiang 1c41371a42 v4.1.0-beta.0 2019-11-09 21:49:23 +08:00
Haoqun Jiang 17925c6ae6 v4.0.5 2019-10-22 19:53:34 +08:00
Haoqun Jiang 86c500fd4b chore: dependency maintenance (#4734)
* chore: dependency maintenance

* Revert "test: replace `waitForFunction` with `waitForXPath`"

This reverts commit b2848aeeaf.
2019-10-21 20:13:21 +08:00
Haoqun Jiang d82a2bbe26 v4.0.4 2019-10-18 15:48:03 +08:00
Haoqun Jiang aa29fd1526 v4.0.3 2019-10-17 15:59:03 +08:00
Haoqun Jiang 8b08c73e8e v4.0.2 2019-10-17 10:22:54 +08:00
Haoqun Jiang 81f84577e4 v4.0.0 2019-10-16 19:19:06 +08:00
Haoqun Jiang 5cce80c2f7 v4.0.0-rc.8 2019-10-11 16:11:02 +08:00
Haoqun Jiang da9269b328 feat(babel-preset): set target to node whenever NODE_ENV === 'test' (#4663)
Typically only unit test frameworks do so.
2019-10-10 10:00:31 +08:00
Haoqun Jiang 58592fed4e v4.0.0-rc.7 2019-10-01 23:35:39 +08:00
Haoqun Jiang b823ca84d3 v4.0.0-rc.6 2019-09-30 20:27:57 +08:00
Haoqun Jiang d49f784eb0 v4.0.0-rc.5 2019-09-30 18:39:52 +08:00
Haoqun Jiang 21257378d7 v4.0.0-rc.4 2019-09-25 12:31:11 +08:00
Haoqun Jiang 8705885d6f feat: use jsdom v15 in jest presets instead of the default v11 (#4607) 2019-09-25 00:18:26 +08:00
Haoqun Jiang ed50ceb255 refactor: rename jest presets (#4609)
* refactor: rename jest presets

Follow up of #4597.
Renamed `preset` folder to `presets`.
Added a default preset and it is accessible in the short form of
`@vue/cli-plugin-unit-jest`.

This change is inspired by ts-jest presets:
https://kulshekhar.github.io/ts-jest/user/config/#jest-preset

* fix: update import path

* fix: fix typo in file path
2019-09-25 00:02:39 +08:00
Haoqun Jiang 2e1e92b7e8 refactor: move jest configs into presets (#4597)
* refactor: move jest configs into a preset

This could significantly reduce the size of default boilerplate,
and gives us more control on the internal config details, thus
potentially making future upgrades easier.

* fix: add back applyTS
2019-09-23 18:22:59 +08:00
Haoqun Jiang 863d6bbfbf v4.0.0-rc.3 2019-09-10 00:05:39 +08:00
Haoqun Jiang d37d68afba v4.0.0-rc.2 2019-09-08 11:52:59 +08:00
Haoqun Jiang df0f813703 v4.0.0-rc.1 2019-09-04 16:19:42 +08:00
Haoqun Jiang 91024a7843 v4.0.0-rc.0 2019-08-21 17:48:28 +08:00
Thorsten Lünborg 58177d25cd fix: eslint should override env for **/tests/** subfolders (#4447)
close #4397
2019-08-21 15:34:16 +08:00
Haoqun Jiang f9a9880d93 v4.0.0-beta.3 2019-08-08 11:10:03 +08:00
Haoqun Jiang 7a399ef7e2 v4.0.0-beta.2 2019-07-30 00:22:38 +08:00
Haoqun Jiang fc3e0a30b5 chore: plugins should list @vue/cli-service in peerDependencies (#4365) 2019-07-29 10:45:12 +08:00
Haoqun Jiang 575349982b v4.0.0-beta.1 2019-07-25 10:40:03 +08:00
Haoqun Jiang 00996ba7cf v4.0.0-beta.0 2019-07-22 22:23:01 +08:00
Haoqun Jiang 615ae0f5b7 v4.0.0-alpha.5 2019-07-14 23:12:42 +08:00
Haoqun Jiang bd82649a64 v4.0.0-alpha.4 2019-07-06 19:51:01 +08:00
Haoqun Jiang 8b8bb99316 feat: allow omitting scope prefix for official plugins on vue add (#4219) 2019-07-06 17:09:38 +08:00
Haoqun Jiang 300d2aa2d4 v4.0.0-alpha.3 2019-07-04 09:08:42 +08:00
Haoqun Jiang 0c2ebc4ae2 v4.0.0-alpha.2 2019-07-03 15:42:06 +08:00
Haoqun Jiang 8fa6fa694a v4.0.0-alpha.1 2019-05-25 17:48:40 +08:00
Haoqun Jiang 2ce1fc0982 chore: update deps 2019-05-25 14:34:43 +08:00
0xflotus e9d4c4902c docs: fix typo of transformIgnorePatterns (#3927) [ci skip] 2019-05-17 17:02:06 +08:00
Haoqun Jiang 63f501a2ca v4.0.0-alpha.0 2019-05-01 00:19:37 +08:00
Haoqun Jiang ef3422cbb9 chore: don't pin jest-watch-typeahead version 2019-05-01 00:04:04 +08:00
Haoqun Jiang 6bea224ac7 fix: continue fixing peer dependencies warnings 2019-04-30 20:24:27 +08:00
Haoqun Jiang 5d1da587be fix: fix peer dependencies for ts-jest & babel-jest 2019-04-30 20:22:14 +08:00
Haoqun Jiang f395697197 fix: revert accidentally committed jest related changes 2019-04-30 19:52:04 +08:00