Fix usage of mocha-phantomjs-core after update

This commit is contained in:
Andreas Hocevar
2015-11-06 20:34:30 +01:00
parent 3254e08785
commit a58f66a9a9
3 changed files with 11 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ var blue = 'data:image/gif;base64,R0lGODlhAQABAPAAAAAA/////yH5BAAAAAAALAAAAA' +
'ABAAEAAAICRAEAOw==';
function itNoPhantom() {
if (window.initMochaPhantomJS) {
if (window.checkForMocha) {
return xit.apply(this, arguments);
} else {
return it.apply(this, arguments);