File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
extensions/ql-vscode/test/vscode-tests/no-workspace/query-history Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ import {
1414} from "../../../../src/common/time" ;
1515import { mockedObject } from "../../utils/mocking.helpers" ;
1616
17- describe ( "query history scrubber" , ( ) => {
18- const now = Date . now ( ) ;
17+ const now = Date . now ( ) ;
18+ // We don't want our times to align exactly with the hour,
19+ // so we can better mimic real life
20+ const LESS_THAN_ONE_DAY = ONE_DAY_IN_MS - 1000 ;
1921
22+ describe ( "query history scrubber" , ( ) => {
2023 let deregister : vscode . Disposable | undefined ;
2124 let mockCtx : vscode . ExtensionContext ;
2225 let runCount = 0 ;
2326
24- // We don't want our times to align exactly with the hour,
25- // so we can better mimic real life
26- const LESS_THAN_ONE_DAY = ONE_DAY_IN_MS - 1000 ;
2727 const tmpDir = dirSync ( {
2828 unsafeCleanup : true ,
2929 } ) ;
You can’t perform that action at this time.
0 commit comments