Skip to content

Commit

Permalink
fix: now lints correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Westlad authored and AlexZeitler committed Jul 20, 2021
1 parent 5921b51 commit 74b4d6e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,13 @@ test('ensure only single container gets paused then resumed', async (): Promise<
await compose.pauseOne('proxy', opts)
expect(await isContainerRunning('/compose_test_web')).toBeTruthy()
expect(await isContainerRunning('/compose_test_proxy')).toBeTruthy()
let errMsg
try {
await compose.exec('proxy', 'cat /etc/os-release', opts)
fail('Container was not paused')
} catch(err) {
expect(err.err).toContain('is paused')
} catch (err) {
errMsg = err.err
}
expect(errMsg).toContain('is paused')
await compose.unpauseOne('proxy', opts)
expect(await isContainerRunning('/compose_test_web')).toBeTruthy()
expect(await isContainerRunning('/compose_test_proxy')).toBeTruthy()
Expand Down

0 comments on commit 74b4d6e

Please sign in to comment.