Skip to content

Commit

Permalink
Update cli-testlab version to 1.10.0 to use 'notExpectedOutput' funct…
Browse files Browse the repository at this point in the history
…ionality.
  • Loading branch information
yeonhoyoon committed Jan 14, 2020
1 parent 606f944 commit 85a78ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -79,7 +79,7 @@
"JSONStream": "^1.3.5",
"chai": "^4.2.0",
"chai-subset-in-order": "^2.1.3",
"cli-testlab": "^1.8.0",
"cli-testlab": "^1.10.0",
"coveralls": "^3.0.9",
"cross-env": "^6.0.3",
"dtslint": "2.0.2",
Expand Down
5 changes: 2 additions & 3 deletions test/cli/help.spec.js
Expand Up @@ -3,7 +3,6 @@
const path = require('path');
const { execCommand } = require('cli-testlab');

const cliPkg = require('../../package');
const KNEX = path.normalize(__dirname + '/../../bin/cli.js');

describe('help', () => {
Expand All @@ -26,8 +25,8 @@ describe('help', () => {
});

it('Does not print help when argument is given', () => {
return execCommand(`node ${KNEX} -V`).then(({ stdout, _ }) => {
expect(stdout).to.not.include('Usage');
return execCommand(`node ${KNEX} -V`, {
notExpectedOutput: 'Usage',
});
});
});

0 comments on commit 85a78ea

Please sign in to comment.