Fix error in skeleton wizard tests

We modify both these options in the beforeEach(). We should reset
them in the afterEach().
This commit is contained in:
Elena Tanasoiu
2023-04-19 17:03:57 +00:00
parent f2601432d3
commit c877f6cc60

View File

@@ -421,9 +421,13 @@ describe("SkeletonQueryWizard", () => {
}); });
afterEach(async () => { afterEach(async () => {
await workspace
.getConfiguration("codeQL.createQuery")
.update("folder", originalValue);
await workspace await workspace
.getConfiguration("codeQL") .getConfiguration("codeQL")
.update("codespacesTemplate", originalValue); .update("codespacesTemplate", false);
}); });
it("should not prompt the user", async () => { it("should not prompt the user", async () => {