Commit Graph

33 Commits

Author SHA1 Message Date
Haoqun Jiang b4af27a0e1 feat: support webpack 5 in unit-mocha plugin (#6471)
mochapack 2.1.0 has added webpack 5 support

Closes #6412
2021-05-14 15:11:43 +08:00
Haoqun Jiang 4d134066b4 fix: better dev server & webpack 4 compatibility and some trivial dependency updates (#6291) 2021-02-19 15:07:31 +08:00
Haoqun Jiang b711a05a5f fix(unit-mocha): shouldn't require webpack-4 plugin with cli-service v4 (#6215)
Note this plugin is compatible with cli-service v4, therefore users can
upgrade to it separately for mocha major version upgrades
2021-01-18 17:23:05 +08:00
Haoqun Jiang c72b6b0abd feat: add a @vue/cli-plugin-webpack-4 package for future use (#6144) 2020-12-14 10:18:38 +08:00
Haoqun Jiang f1962ad1e9 feat!: update mocha to v8 (#6121) 2020-12-09 14:33:25 +08:00
Haoqun Jiang 2dbe0be840 feat!: support and use webpack 5 as default (#6060) 2020-12-03 15:16:35 +08:00
Parker Mauney d03169cffb fix: ensure EOL in existing tsconfig.json (#6006)
Fixes #5948

Ensure EOL in existing tsconfig.json when invoking unit-jest, unit-mocha, e2e-webdriverio
2020-10-31 17:41:47 +08:00
Haoqun Jiang e4820c6bd9 fixup! chore!: bump unit-mocha dependency versions (#5907) 2020-09-29 16:53:51 +08:00
Haoqun Jiang edce9d075c chore!: bump unit-mocha dependency versions (#5907) 2020-09-29 15:43:09 +08:00
Sergey Skrynnikov d6e493db74 fix(unit-jest, unit-mocha): generate passing tests when bare option is used with router enabled (#5591)
Fixes #3544
2020-09-07 15:45:09 +08:00
Haoqun Jiang b1772cadd2 feat: allow choosing vue version on creation (and in presets) (#5637) 2020-07-24 18:54:15 +08:00
Haoqun Jiang 8b01c9ec51 chore: dependency maintenance (#5496) 2020-05-18 21:24:19 +08:00
Haoqun Jiang ee05918486 chore: dependency maintenance 2020-04-01 14:27:44 +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 84aed8ef10 chore: dependency maintenance 2019-11-27 00:34:22 +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 266090da2a fix: lock @vue/test-utils version as it's still in beta and may introduce breaking changes 2019-02-25 00:39:55 +08:00
Evan You 6bdf7040d4 chore: remove unnecessary rules for unit test eslint config 2018-08-18 15:44:33 -04: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 252dd3d9e1 fix: improve jest/mocha add compat with typescript 2018-07-28 23:07:41 -04:00
Evan You ba43900657 refactor: add invoking flag for generators, fix eslint + ts
close #1972
2018-07-28 15:53:24 -04:00
Guillaume Chau 96778b2caf chore: update main deps (#1772)
* chore: update main deps

* chore: update ts types

* chore: update generator deps versions

* fix: ts-jest

* chore: upgrade ts-jest again

* fix: re-generated yarn.lock

* chore: more upgrades

* fix: jest test matching on Windows
2018-07-08 13:56:10 +02:00
Evan You e5d7893587 test: bump test-utils version 2018-05-11 13:00:26 -04:00
arszp10 5c54df799a fix: rename test-utils shallow to shallowMount (#1269) 2018-05-11 12:39:06 -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 9cfafea328 refactor(cli): default to .js for eslintrc and postcssrc
close #994
2018-04-27 12:45:45 -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 d391e4741e fix: eslint + airbnb compat with TypeScript 2018-02-16 11:38:39 +01:00
Kévin Dunglas 1902d9c41c chore: fix the name of the tested file (#775)
* Jest template: fix the name of the tested file (Hello.vue instead of HelloWorld.vue)

* Jest template: fix the name of the tested file
2018-02-06 13:40:53 -05:00
Evan You 132b0db8e4 feat: wip invoke command 2018-01-14 19:11:26 -05:00
Evan You e773479272 WIP: TS compat with other plugins 2018-01-11 00:37:21 -05:00