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
Evan You
c5ea39a088
chore: remove deprecated alias
2018-08-05 21:46:50 -04:00
Evan You
cd88cfa1e4
feat(unit-jest): run jest in the same process
...
This allows vue-cli-service test:unit to be debugged via node inspector.
2018-07-18 17:12:17 -04:00
Evan You
7ce91c89f2
workflow: enable eslint node/no-extraneous-require
2018-05-30 10:25:33 -04:00
Evan You
aa07942638
chore: backwards compatible warnings for test commands rename
2018-05-03 14:39:31 -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
d595adacf4
refactor: adjust mode loading order
...
BREAKING CHANGE: PluginAPI.setMode() has been removed. Instead, for a plugin to
sepcify the default mode for a registered command, the plugins should expose
`module.exports.defaultModes` in the form of `{ [commandName]: mode }`.
close #959
2018-05-01 17:14:33 -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
2c61d236d7
fix: fix jest test match
...
fix #771
2018-02-03 14:21:57 -05:00
Evan You
4a7fd642e9
fix: jest should only run files in given directory
...
fix #740
2018-01-27 21:27:24 -05:00
Evan You
6e29daa8fd
chore: cleanup comments
2018-01-15 20:21:33 -05:00
Evan You
ea2648e62b
feat: make jest plugin work with TypeScript
2018-01-15 15:16:08 -05:00
Evan You
bb5d968e09
feat: WIP jest plugin
2018-01-15 13:53:41 -05:00
Evan You
4e6024b2d6
use execa for cross-platform-ness
2018-01-05 17:38:40 -05:00
Evan You
89d19322e7
babel preset
2017-12-30 18:40:55 -05:00
Evan You
267a12d926
adjust logging
2017-12-29 11:14:04 -05:00