Permalink
Browse files

Fix tests

  • Loading branch information...
1 parent e3dc63f commit d97b8b7ce2f9449a72b0acdd5452ff2a16110bac @jansepar jansepar committed Dec 31, 2014
Showing with 5 additions and 2 deletions.
  1. +3 −1 tests/index.html
  2. +2 −1 tests/unblockify-tests.js
View
@@ -92,7 +92,9 @@
"baseUrl": "../src",
"paths": {
"mobifyjs": "../src",
- "mobifyjs/utils": "../bower_components/mobifyjs-utils/utils"
+ "mobifyjs/utils": "../bower_components/mobifyjs-utils/utils",
+ "mobifyjs/capture": "../bower_components/capturejs/src/capture",
+ "patchAnchorLinks": "../bower_components/capturejs/src/patchAnchorLinks"
}
});
@@ -1,5 +1,6 @@
require(["mobifyjs/utils", "mobifyjs/capture", "mobifyjs/unblockify"], function(Utils, Capture, Unblockify) {
window.Unblockify = Unblockify;
+ QUnit.start();
module("Unblockify");
asyncTest("moveScripts", function(){
@@ -39,4 +40,4 @@ require(["mobifyjs/utils", "mobifyjs/capture", "mobifyjs/unblockify"], function(
$("#qunit-fixture").append(iframe);
});
-});
+});

0 comments on commit d97b8b7

Please sign in to comment.