Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix: fixed tests on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 8, 2018
1 parent fb3ec67 commit bfe60b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/commands/publish/s3.test.ts
Expand Up @@ -40,9 +40,9 @@ describe('publish:s3', () => {
const receivedSha = await qq.hash('sha256', `oclif-dev${ext}`)
expect(receivedSha).to.equal(expectedSha)
if (xz) {
await qq.x('cat oclif-dev.tar.xz | xz - | tar x')
await qq.x('tar xJf oclif-dev.tar.xz')
} else {
await qq.x('cat oclif-dev.tar.gz | gzip -d | tar x')
await qq.x('tar xzf oclif-dev.tar.gz')
}
const stdout = await qq.x.stdout('./oclif-dev/bin/oclif-dev', ['--version'])
expect(stdout).to.contain(`@oclif/dev-cli/${version} ${target} node-v${nodeVersion}`)
Expand Down

0 comments on commit bfe60b2

Please sign in to comment.