Skip to content

Commit ecc2a30

Browse files
committed
increased down command time
1 parent b303084 commit ecc2a30

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

jest.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const config = {
88
'^.+.tsx?$': ['ts-jest', {}]
99
},
1010
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
11-
bail: true,
11+
bail: false,
1212
modulePathIgnorePatterns: ['tmp'],
1313
// coverage
1414
collectCoverage: true,

src/commands/down/down-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, expect, afterEach } from '@jest/globals';
22

33
import { DownCommand } from './down.command';
4-
import { FileMockUtilities, getMockConstants, MockConstants, inquireMock, MAX_FAST_TIME, MAX_BARELY_NOTICEABLE_TIME } from '../../__testing__';
4+
import { FileMockUtilities, getMockConstants, MockConstants, inquireMock, MAX_FAST_TIME } from '../../__testing__';
55
import { FullyParsedDockerService, getDockerServices } from '../../docker';
66
import { InquirerUtilities } from '../../encapsulation';
77
import { UpCommand } from '../up';
@@ -41,7 +41,7 @@ describe('DownCommand', () => {
4141
const runningDockerServicesAfterDown: FullyParsedDockerService[] = await getDockerServices(false);
4242

4343
expect(runningDockerServicesAfterDown.length).toEqual(runningDockerServicesBeforeUp.length);
44-
}, MAX_FAST_TIME + MAX_BARELY_NOTICEABLE_TIME /** We call up and down. */);
44+
}, MAX_FAST_TIME * 2 /** We call up and down. */);
4545

4646
afterEach(() => {
4747
jest.restoreAllMocks();

0 commit comments

Comments
 (0)