File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
extensions/ql-vscode/test/vscode-tests Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ import { beforeEachAction } from "./test-config";
1515// create an extension storage location
1616let removeStorage : tmp . DirResult [ "removeCallback" ] | undefined ;
1717
18+ jest . retryTimes ( 3 , {
19+ logErrorsBeforeRetry : true ,
20+ } ) ;
21+
1822beforeAll ( async ( ) => {
1923 // Set the CLI version here before activation to ensure we don't accidentally try to download a cli
2024 await beforeEachAction ( ) ;
Original file line number Diff line number Diff line change 11import { env } from "vscode" ;
22import { beforeEachAction } from "./test-config" ;
33
4+ jest . retryTimes ( 3 , {
5+ logErrorsBeforeRetry : true ,
6+ } ) ;
7+
48beforeEach ( async ( ) => {
59 jest . spyOn ( env , "openExternal" ) . mockResolvedValue ( false ) ;
610
You can’t perform that action at this time.
0 commit comments