Skip to content

Commit

Permalink
scale cli timeout to cover previous case
Browse files Browse the repository at this point in the history
  • Loading branch information
phanen committed Nov 17, 2023
1 parent fbbd6c5 commit 280d2f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ describe('CompletionProviderImpl', function () {
const item = completions?.items?.[0];
assert.strictEqual(item?.label, 'abc');
}
});
}).timeout(this.timeout() * 2);

it('provides default slot-let completion for components with type definition', async () => {
const { completionProvider, document } = setup('component-events-completion-ts-def.svelte');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('DiagnosticsProvider', function () {

const diagnostics3 = await plugin.getDiagnostics(document);
assert.deepStrictEqual(diagnostics3.length, 1);
});
}).timeout(this.timeout() * 2.5);

it('notices changes of module resolution because of new file', async () => {
const { plugin, document, lsAndTsDocResolver } = setup('unresolvedimport.svelte');
Expand Down Expand Up @@ -90,7 +90,7 @@ describe('DiagnosticsProvider', function () {
unlinkSync(newTsFilePath);
unlinkSync(newFilePath);
}
});
}).timeout(this.timeout() * 2.5);

it('notices update of imported module', async () => {
const { plugin, document, lsAndTsDocResolver } = setup(
Expand All @@ -116,7 +116,7 @@ describe('DiagnosticsProvider', function () {
const diagnostics2 = await plugin.getDiagnostics(document);
assert.deepStrictEqual(diagnostics2.length, 0);
await lsAndTsDocResolver.deleteSnapshot(newFilePath);
});
}).timeout(this.timeout() * 2.5);

it('notices file changes in all services that reference that file', async () => {
// Hacky but ensures that this tests is not interfered with by other tests
Expand Down

0 comments on commit 280d2f5

Please sign in to comment.