File tree 3 files changed +5
-7
lines changed
packages/@vue/cli-plugin-unit-mocha
3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
- # @vue/cli-plugin-unit-mocha-webpack
1
+ # @vue/cli-plugin-unit-mocha
2
2
3
- > unit-mocha-webpack plugin for vue-cli
3
+ > unit-mocha plugin for vue-cli
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const generateWithPlugin = require('@vue/cli-test-utils/generateWithPlugin')
3
3
test ( 'base' , async ( ) => {
4
4
const { pkg, files } = await generateWithPlugin ( [
5
5
{
6
- id : 'unit-mocha-webpack ' ,
6
+ id : 'unit-mocha' ,
7
7
apply : require ( '../generator' ) ,
8
8
options : { }
9
9
} ,
Original file line number Diff line number Diff line change @@ -3,12 +3,10 @@ jest.setTimeout(20000)
3
3
const create = require ( '@vue/cli-test-utils/createTestProject' )
4
4
5
5
test ( 'should work' , async ( ) => {
6
- const project = await create ( 'unit-mocha-webpack ' , {
6
+ const project = await create ( 'unit-mocha' , {
7
7
plugins : {
8
8
'@vue/cli-plugin-babel' : { } ,
9
- '@vue/cli-plugin-unit-mocha-webpack' : {
10
- assertionLibrary : 'chai'
11
- }
9
+ '@vue/cli-plugin-unit-mocha' : { }
12
10
}
13
11
} )
14
12
await project . run ( `vue-cli-service test` )
You can’t perform that action at this time.
0 commit comments