Skip to content

Commit

Permalink
Increase wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Sep 25, 2024
1 parent b7c33b5 commit f8095ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/addons/test/src/node/test-manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ const tests = [
describe('TestManager', () => {
it('should create a vitest instance', async () => {
new TestManager(mockChannel);
await new Promise((r) => setTimeout(r, 10));
await new Promise((r) => setTimeout(r, 1000));
expect(createVitest).toHaveBeenCalled();
});

it('should call onReady callback', async () => {
const onReady = vi.fn();
new TestManager(mockChannel, { onReady });
await new Promise((r) => setTimeout(r, 10));
await new Promise((r) => setTimeout(r, 1000));
expect(onReady).toHaveBeenCalled();
});

Expand Down

0 comments on commit f8095ba

Please sign in to comment.