fix: fix mapping ipv6-based port mappings

This commit is contained in:
Paweł Niedzielski 2021-05-10 23:21:32 +02:00 committed by Alexander Zeitler
parent dbdb9008f2
commit 6dec0c6bb6

View file

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