Fixes jshint issues
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -21,7 +21,7 @@ casper.test.begin('onclick variants tests', 8, function(test) { | ... | @@ -21,7 +21,7 @@ casper.test.begin('onclick variants tests', 8, function(test) { |
21 | test.assert(this.click('#test3'), 'Casper.click() can click an `onclick=".*; return false"` link'); | 21 | test.assert(this.click('#test3'), 'Casper.click() can click an `onclick=".*; return false"` link'); |
22 | test.assert(this.click('#test4'), 'Casper.click() can click an unobstrusive js handled link'); | 22 | test.assert(this.click('#test4'), 'Casper.click() can click an unobstrusive js handled link'); |
23 | var results = this.getGlobal('results'); | 23 | var results = this.getGlobal('results'); |
24 | if (phantom.casperEngine == 'slimerjs') { | 24 | if (phantom.casperEngine === 'slimerjs') { |
25 | // "javascript:" link in Gecko are executed asynchronously, so we don't have result at this time | 25 | // "javascript:" link in Gecko are executed asynchronously, so we don't have result at this time |
26 | test.skip(1) | 26 | test.skip(1) |
27 | } | 27 | } |
... | @@ -46,7 +46,7 @@ casper.test.begin('clickLabel tests tests', 8, function(test) { | ... | @@ -46,7 +46,7 @@ casper.test.begin('clickLabel tests tests', 8, function(test) { |
46 | test.assert(this.clickLabel('test4'), | 46 | test.assert(this.clickLabel('test4'), |
47 | 'Casper.clickLabel() can click an unobstrusive js handled link'); | 47 | 'Casper.clickLabel() can click an unobstrusive js handled link'); |
48 | var results = this.getGlobal('results'); | 48 | var results = this.getGlobal('results'); |
49 | if (phantom.casperEngine == 'slimerjs') { | 49 | if (phantom.casperEngine === 'slimerjs') { |
50 | // "javascript:" link in Gecko are executed asynchronously, so we don't have result at this time | 50 | // "javascript:" link in Gecko are executed asynchronously, so we don't have result at this time |
51 | test.skip(1) | 51 | test.skip(1) |
52 | } | 52 | } | ... | ... |
-
Please register or sign in to post a comment