Skip to content

Commit 0ba768f

Browse files
committed
increased list command timeout
1 parent ecc2a30 commit 0ba768f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands/list/list-command.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { describe, beforeEach, jest, test, afterEach } from '@jest/globals';
22

33
import { ListCommand } from './list.command';
4-
import { FileMockUtilities, getMockConstants, MAX_BARELY_NOTICEABLE_TIME, MockConstants, inquireMock, MAX_FAST_TIME } from '../../__testing__';
4+
import { FileMockUtilities, getMockConstants, MockConstants, inquireMock, MAX_FAST_TIME } from '../../__testing__';
55
import { InquirerUtilities } from '../../encapsulation';
66
import { DownCommand } from '../down';
77
import { UpCommand } from '../up';
@@ -35,7 +35,7 @@ describe('ListCommand', () => {
3535

3636
const command: DownCommand = new DownCommand();
3737
await command.start(['d']);
38-
}, MAX_FAST_TIME + (MAX_BARELY_NOTICEABLE_TIME * 2) /** We call up, list and down. */);
38+
}, MAX_FAST_TIME * 3 /** We call up, list and down. */);
3939

4040
afterEach(() => {
4141
jest.restoreAllMocks();

0 commit comments

Comments
 (0)