Skip to content

Commit a1d3c61

Browse files
committed
Use new createMockLocalQueryInfo method in query-history-info tests
1 parent 2fe0c79 commit a1d3c61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extensions/ql-vscode/src/vscode-tests/no-workspace/query-history-info.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ import { VariantAnalysisRepoStatus, VariantAnalysisStatus } from '../../remote-q
1717
describe('Query history info', () => {
1818

1919
const date = new Date('2022-01-01T00:00:00.000Z');
20-
const dateStr = date.toLocaleString();
21-
const localQueryHistoryItem = createMockLocalQueryInfo(dateStr);
20+
const localQueryHistoryItem = createMockLocalQueryInfo({ startTime: date });
2221
const remoteQueryHistoryItem = createMockRemoteQueryHistoryItem({});
2322
const variantAnalysisHistoryItem: VariantAnalysisHistoryItem = {
2423
t: 'variant-analysis',

0 commit comments

Comments
 (0)