diff --git a/test/index.test.ts b/test/index.test.ts index 422123e..bff60f8 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -94,21 +94,25 @@ test('ensure exit code is returned correctly', async (): Promise => { }) describe('starts containers properly with --build and --timeout options', (): void => { - beforeEach(async (): Promise => { - await compose.down({ - cwd: path.join(__dirname), - log: logOutput, - config: 'docker-compose-build.yml' - }) - }) + beforeEach( + async (): Promise => { + await compose.down({ + cwd: path.join(__dirname), + log: logOutput, + config: 'docker-compose-build.yml' + }) + } + ) - afterEach(async (): Promise => { - await compose.down({ - cwd: path.join(__dirname), - log: logOutput, - config: 'docker-compose-build.yml' - }) - }) + afterEach( + async (): Promise => { + await compose.down({ + cwd: path.join(__dirname), + log: logOutput, + config: 'docker-compose-build.yml' + }) + } + ) test('ensure container gets started with --build option', async (): Promise => { await compose.upAll({