File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
packages/@vuepress/test-utils Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,10 @@ const usedPorts = []
5
5
6
6
module . exports = function createJestRunner ( jestArgs ) {
7
7
return async function ( ) {
8
- let args = [ ...jestArgs , ...rawArgs ]
9
8
const execArgv = getChildProcesExecArgv ( )
10
- args = [ ...execArgv , 'node_modules/.bin/jest' , ...args ]
9
+ const args = [ ...execArgv , ... jestArgs , ...rawArgs ]
11
10
console . log ( `running node with args: ${ args . join ( ' ' ) } ` )
12
- await execa ( 'node ' , args , {
11
+ await execa ( 'jest ' , args , {
13
12
stdio : 'inherit'
14
13
} )
15
14
}
Original file line number Diff line number Diff line change 29
29
"execa" : " ^0.10.0" ,
30
30
"jest-serializer-vue" : " ^1.0.0" ,
31
31
"ts-jest" : " ^23.10.5" ,
32
- "vue-jest" : " ^4.0.0-beta.1"
32
+ "vue" : " ^2.5.16" ,
33
+ "vue-jest" : " ^4.0.0-beta.1" ,
34
+ "vue-template-compiler" : " ^2.5.16"
33
35
},
34
36
"author" : " ULIVZ <chl814@foxmail.com>" ,
35
37
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments