Commit 04f12635 authored by Timmy Willison's avatar Timmy Willison

Fix tests for testswarm

parent f5f36dbd
...@@ -4,10 +4,9 @@ ...@@ -4,10 +4,9 @@
/* jshint eqeqeq: false */ /* jshint eqeqeq: false */
var i, len, var i, len,
// Parent is the current window if not an iframe, which is fine src = /^(.*)test\//.exec( window.location.pathname )[1],
src = /^(.*)test\//.exec( parent.location.pathname )[1], QUnit = window.QUnit || parent.QUnit,
QUnit = QUnit || parent.QUnit, require = window.require || parent.require;
require = require || parent.require;
// Config parameter to force basic code paths // Config parameter to force basic code paths
QUnit.config.urlConfig.push({ QUnit.config.urlConfig.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment