Commit Graph

14 Commits

Author SHA1 Message Date
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
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
Haoqun Jiang
4f0cd2da66 workflow: add dist-tag when publishing [ci skip] 2019-04-30 19:43:20 +08:00
Haoqun Jiang
4feaacfc83 fix: fix typo in jest config 2019-01-02 16:29:17 +08:00
Evan You
b62c6ba7f2 fix: ensure unit test examples work in projects created with --bare
close #2262
2018-08-18 15:41:44 -04:00
Evan You
65d5d36d39 fix: transform es modules syntax for Jest when not using Babel
close #1524
2018-06-08 18:41:14 -04:00
Evan You
7e38f98ec8 feat: upgrade jest to 23.1.0
BREAKING CHANGE: jest is upgraded to 23.1.0 with minor breaking changes
but should not affect normal test cases
2018-06-01 12:42:24 -04:00
Evan You
69ebd800a2 refactor: rename test commands
BREAKING CHANGE: `cli-plugin-unit-jest` and `cli-plugin-unit-mocha` now register
"test:unit" command and script instead of "test"; `cli-plugin-e2e-cypress` now
register "test:e2e" with optional `--headless` flag instead of "e2e" and
"e2e:open"; `cli-plugin-e2e-nightwatch` now register "test:e2e" instead of "e2e".

close #876, close #878
2018-05-01 18:15:25 -04:00
Evan You
6b865dbc85 refactor: require Node 8
BREAKING CHANGE: @vue/cli-service and all plugins now require Node version 8+.
2018-04-30 18:35:36 -04:00
Evan You
9cfafea328 refactor(cli): default to .js for eslintrc and postcssrc
close #994
2018-04-27 12:45:45 -04:00
Derek Henscheid
cac18f231e fix: allow user to define testMatch in package.json (#1069)
close #1067
2018-04-25 17:50:41 -04:00
Evan You
64b4515731 refactor: change default test directory name to "tests"
BREAKING CHANGE: all tests are now located in "tests" instead of "test"
close #877
2018-02-28 18:07:06 -05:00
Evan You
27ba51f9f8 test: test jest plugin 2018-01-15 18:28:47 -05:00