Skip to content

Commit 847082c

Browse files
Set live results mode to off both before and after tests
1 parent 7874a34 commit 847082c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

extensions/ql-vscode/src/vscode-tests/cli-integration/remote-queries/run-remote-query.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ describe('Remote queries', function() {
6565
await setVariantAnalysisLiveResultsEnabled(false);
6666
});
6767

68-
afterEach(() => {
68+
afterEach(async () => {
6969
sandbox.restore();
70+
71+
// Always set this option to false so we leave a consistent state for the next test (which might not be from this file)
72+
await setVariantAnalysisLiveResultsEnabled(false);
7073
});
7174

7275
it('should run a remote query that is part of a qlpack', async () => {

0 commit comments

Comments
 (0)