Skip to content

Commit

Permalink
Update webdriverjs.with.mocha.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Gorbachev authored and Denis Gorbachev committed Dec 24, 2013
1 parent 33c51b2 commit 1f95b9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/webdriverjs.with.mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ describe('my webdriverjs tests', function(){
this.timeout(99999999);
var client = {};

before(function(){
before(function(done){
client = webdriverjs.remote({ desiredCapabilities: {browserName: 'phantomjs'} });
client.init();
client.init(done);
});

it('Github test',function(done) {
Expand All @@ -33,4 +33,4 @@ describe('my webdriverjs tests', function(){
after(function(done) {
client.end(done);
});
});
});

0 comments on commit 1f95b9f

Please sign in to comment.