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:
@@ -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 () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user