Skip to content

Instantly share code, notes, and snippets.

@gabrielschulhof
Created July 11, 2012 21:40
Show Gist options
  • Save gabrielschulhof/3093769 to your computer and use it in GitHub Desktop.
Save gabrielschulhof/3093769 to your computer and use it in GitHub Desktop.
diff --git a/external/qunit.js b/external/qunit.js
index 193d52d..79e320b 100644
--- a/external/qunit.js
+++ b/external/qunit.js
@@ -1549,4 +1549,8 @@ QUnit.diff = (function() {
};
})();
+// Add a two second delay to allow for phantomjs
+// to inject its qunit callbacks
+stop();
+setTimeout(start, 2000);
})(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment