Skip to content

Commit c877f6c

Browse files
committed
Fix error in skeleton wizard tests
We modify both these options in the beforeEach(). We should reset them in the afterEach().
1 parent f260143 commit c877f6c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

extensions/ql-vscode/test/vscode-tests/cli-integration/skeleton-query-wizard.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,13 @@ describe("SkeletonQueryWizard", () => {
421421
});
422422

423423
afterEach(async () => {
424+
await workspace
425+
.getConfiguration("codeQL.createQuery")
426+
.update("folder", originalValue);
427+
424428
await workspace
425429
.getConfiguration("codeQL")
426-
.update("codespacesTemplate", originalValue);
430+
.update("codespacesTemplate", false);
427431
});
428432

429433
it("should not prompt the user", async () => {

0 commit comments

Comments
 (0)