File tree 4 files changed +983
-16
lines changed
4 files changed +983
-16
lines changed Original file line number Diff line number Diff line change 16
16
"reset" : " yarn && yarn clean && yarn build" ,
17
17
"clean" : " lerna run clean" ,
18
18
"build" : " lerna run build" ,
19
- "test" : " yarn workspace foam-vscode test" ,
19
+ "test" : " yarn workspace foam-vscode test --stream " ,
20
20
"lint" : " lerna run lint" ,
21
21
"watch" : " lerna run watch --concurrency 20 --stream"
22
22
},
Original file line number Diff line number Diff line change 561
561
},
562
562
"devDependencies" : {
563
563
"@types/dateformat" : " ^3.0.1" ,
564
- "@types/jest" : " ^27 .5.1 " ,
564
+ "@types/jest" : " ^29 .5.3 " ,
565
565
"@types/lodash" : " ^4.14.157" ,
566
566
"@types/markdown-it" : " ^12.0.1" ,
567
567
"@types/micromatch" : " ^4.0.1" ,
578
578
"eslint-plugin-import" : " ^2.27.5" ,
579
579
"eslint-plugin-jest" : " ^27.2.1" ,
580
580
"husky" : " ^4.2.5" ,
581
- "jest" : " ^27.5.1 " ,
581
+ "jest" : " ^29.6.2 " ,
582
582
"jest-extended" : " ^3.2.3" ,
583
583
"markdown-it" : " ^12.0.4" ,
584
584
"micromatch" : " ^4.0.2" ,
585
585
"rimraf" : " ^3.0.2" ,
586
- "ts-jest" : " ^27 .1.5 " ,
586
+ "ts-jest" : " ^29 .1.1 " ,
587
587
"tslib" : " ^2.0.0" ,
588
588
"typescript" : " ^4.9.5" ,
589
589
"vscode-test" : " ^1.3.0" ,
Original file line number Diff line number Diff line change 1
- const NodeEnvironment = require ( 'jest-environment-node' ) ;
1
+ const { TestEnvironment } = require ( 'jest-environment-node' ) ;
2
2
const vscode = require ( 'vscode' ) ;
3
3
4
- class VscodeEnvironment extends NodeEnvironment {
4
+ class VscodeEnvironment extends TestEnvironment {
5
5
async setup ( ) {
6
6
await super . setup ( ) ;
7
7
this . global . vscode = vscode ;
You can’t perform that action at this time.
0 commit comments