Set live results mode to off both before and after tests

This commit is contained in:
Robert
2022-09-23 10:41:14 +01:00
parent 7874a34947
commit 847082cd30

View File

@@ -65,8 +65,11 @@ describe('Remote queries', function() {
await setVariantAnalysisLiveResultsEnabled(false); await setVariantAnalysisLiveResultsEnabled(false);
}); });
afterEach(() => { afterEach(async () => {
sandbox.restore(); sandbox.restore();
// Always set this option to false so we leave a consistent state for the next test (which might not be from this file)
await setVariantAnalysisLiveResultsEnabled(false);
}); });
it('should run a remote query that is part of a qlpack', async () => { it('should run a remote query that is part of a qlpack', async () => {