Don't try to restore setting

This commit is contained in:
Elena Tanasoiu
2023-05-03 08:35:40 +00:00
parent 530ae689d3
commit 42320fcb87

View File

@@ -646,20 +646,6 @@ describe("local databases", () => {
});
describe("when the language is set", () => {
let originalValue: string | undefined;
beforeEach(() => {
originalValue = workspace
.getConfiguration("codeQL.createQuery")
.get("autogenerateQlPacks");
});
afterEach(async () => {
await workspace
.getConfiguration("codeQL.createQuery")
.update("autogenerateQlPacks", originalValue);
});
it("should offer the user to set up a skeleton QL pack", async () => {
await (databaseManager as any).createSkeletonPacks(mockDbItem);