Clean web worker test

This commit is contained in:
Matthew Riley MacPherson 2014-05-07 16:21:11 -04:00
parent 3a054b632c
commit 6bcd4a9c4e

View File

@ -15,7 +15,9 @@ casper.test.begin "Testing web worker handling", (test) ->
casper.then ->
if casper.ENGINE is "slimerjs"
test.skip 1, "Skip web worker test in SlimerJS; it's buggy"
else unless casper.DRIVER_NAME is "localStorage"
return
unless casper.DRIVER_NAME is "localStorage"
@evaluate (driver) ->
runWith(driver)
, casper.DRIVER