Skip to content

Commit b849fa9

Browse files
committed
Write to a new path for last test
1 parent 86eaf9d commit b849fa9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extensions/ql-vscode/src/vscode-tests/no-workspace/query-results.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ describe('query-results', () => {
321321
// up to 2 minutes per test
322322
this.timeout(2 * 60 * 1000);
323323

324-
const invalidSarifStream = fs.createWriteStream(interpretedResultsPath, { flags: 'w' });
324+
const invalidLargeInterpretedResultsPath = path.join(tmpDir.name, 'interpreted.json');
325+
const invalidSarifStream = fs.createWriteStream(invalidLargeInterpretedResultsPath, { flags: 'w' });
325326

326327
const finished = new Promise((res, rej) => {
327328
invalidSarifStream.addListener('close', res);

0 commit comments

Comments
 (0)