Skip to content

Commit d7e92e0

Browse files
Fix parallel runs test
1 parent dc30cee commit d7e92e0

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
@@ -167,15 +167,15 @@ describe('Local', function () {
167167

168168
it('should set parallelRuns', function (done) {
169169
bsLocal.start({ 'key': process.env.BROWSERSTACK_ACCESS_KEY, onlyCommand: true, 'parallelRuns': '10' }, function(){
170-
expect(bsLocal.getBinaryArgs().indexOf('-parallel-runs')).to.not.equal(-1);
170+
expect(bsLocal.getBinaryArgs().indexOf('--parallel-runs')).to.not.equal(-1);
171171
expect(bsLocal.getBinaryArgs().indexOf('10')).to.not.equal(-1);
172172
done();
173173
});
174174
});
175175

176176
it('should set parallelRuns with integer value', function (done) {
177177
bsLocal.start({ 'key': process.env.BROWSERSTACK_ACCESS_KEY, onlyCommand: true, 'parallelRuns': 10 }, function(){
178-
expect(bsLocal.getBinaryArgs().indexOf('-parallel-runs')).to.not.equal(-1);
178+
expect(bsLocal.getBinaryArgs().indexOf('--parallel-runs')).to.not.equal(-1);
179179
expect(bsLocal.getBinaryArgs().indexOf('10')).to.not.equal(-1);
180180
done();
181181
});

0 commit comments

Comments
 (0)