Skip to content

Commit 1acf312

Browse files
author
Dave Bartolomeo
committed
Fix test expectation
1 parent 8c3fbb8 commit 1acf312

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

extensions/ql-vscode/test/vscode-tests/no-workspace/contextual/astBuilder.test.ts

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,18 @@ describe("AstBuilder", () => {
5353
const roots = await astBuilder.getRoots();
5454

5555
const options = { entities: ["id", "url", "string"] };
56-
expect(mockCli.bqrsDecode).toBeCalledWith("/a/b/c", "nodes", options);
57-
expect(mockCli.bqrsDecode).toBeCalledWith("/a/b/c", "edges", options);
5856
expect(mockCli.bqrsDecode).toBeCalledWith(
59-
"/a/b/c",
57+
"/a/b/c/results.bqrs",
58+
"nodes",
59+
options,
60+
);
61+
expect(mockCli.bqrsDecode).toBeCalledWith(
62+
"/a/b/c/results.bqrs",
63+
"edges",
64+
options,
65+
);
66+
expect(mockCli.bqrsDecode).toBeCalledWith(
67+
"/a/b/c/results.bqrs",
6068
"graphProperties",
6169
options,
6270
);

0 commit comments

Comments
 (0)