From 6dec0c6bb6220b06eff188a26220b405d632bed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Mon, 10 May 2021 23:21:32 +0200 Subject: [PATCH] fix: fix mapping ipv6-based port mappings --- test/index.test.ts | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) 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({