Skip to content

Commit f1fc10d

Browse files
Fix verbose test
1 parent 0344610 commit f1fc10d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/local.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ describe('Local', function () {
5252
it('should enable verbose', function (done) {
5353
bsLocal.start({ 'key': process.env.BROWSERSTACK_ACCESS_KEY, onlyCommand: true, 'verbose': true }, function(){
5454
expect(bsLocal.getBinaryArgs().indexOf('--verbose')).to.not.equal(-1);
55-
expect(bsLocal.getBinaryArgs().indexOf('1')).to.not.equal(-1);
55+
expect(bsLocal.getBinaryArgs().indexOf(1)).to.not.equal(-1);
5656
done();
5757
});
5858
});
5959

6060
it('should enable verbose with log level', function (done) {
6161
bsLocal.start({ 'key': process.env.BROWSERSTACK_ACCESS_KEY, onlyCommand: true, 'verbose': 2 }, function(){
6262
expect(bsLocal.getBinaryArgs().indexOf('--verbose')).to.not.equal(-1);
63-
expect(bsLocal.getBinaryArgs().indexOf('2')).to.not.equal(-1);
63+
expect(bsLocal.getBinaryArgs().indexOf(2)).to.not.equal(-1);
6464
done();
6565
});
6666
});

0 commit comments

Comments
 (0)