Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions editors/vscode/tests/code_actions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ suite('code actions', () => {
// flaky test for multi workspace mode
testSingleFolderMode('listed code actions', async () => {
await loadFixture('debugger');
await sleep(500);
const fileUri = Uri.joinPath(fixturesWorkspaceUri(), 'fixtures', 'debugger.js');
// await window.showTextDocument(fileUri); -- should also work without opening the file

Expand Down
6 changes: 2 additions & 4 deletions editors/vscode/tests/e2e_server_linter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,9 @@ suite('E2E Server Linter', () => {
const secondDiagnostics = await getDiagnostics('debugger.js');
strictEqual(secondDiagnostics.length, 0);

// enable it for other tests
await workspace.getConfiguration('oxc').update('enable', true);
await workspace.saveAll();
await waitForDiagnosticChange();

const thirdDiagnostics = await getDiagnostics('debugger.js');
strictEqual(thirdDiagnostics.length, 1);
await sleep(500);
})
});
Loading