Skip to content

Commit e01fb91

Browse files
committed
Update tests.
1 parent 1764151 commit e01fb91

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

extensions/ql-vscode/test/vscode-tests/no-workspace/data-extensions-editor/auto-model-codeml-queries.test.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { join } from "path";
2020
import { exists, readFile } from "fs-extra";
2121
import { load as loadYaml } from "js-yaml";
2222
import { CancellationTokenSource } from "vscode-jsonrpc";
23+
import { QueryOutputDir } from "../../../../src/run-queries-shared";
2324

2425
describe("runAutoModelQueries", () => {
2526
const qlpack = {
@@ -59,12 +60,8 @@ describe("runAutoModelQueries", () => {
5960
});
6061

6162
it("should run the query and return the results", async () => {
62-
const logPath = (await file()).path;
63-
const bqrsPath = (await file()).path;
64-
const outputDir = {
65-
logPath,
66-
bqrsPath,
67-
};
63+
const queryStorageDir = (await file()).path;
64+
const outputDir = new QueryOutputDir(join(queryStorageDir, "1"));
6865

6966
const options = {
7067
mode: Mode.Application,

0 commit comments

Comments
 (0)