Commit 493548c0 authored by Timmy Willison's avatar Timmy Willison

Fix tests for testswarm

parent 42cd19fb
...@@ -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 = window.location.pathname.split( "test" )[ 0 ], src = window.location.pathname.split( "test" )[ 0 ],
QUnit = window.QUnit || parent.QUnit, QUnit = window.QUnit || parent.QUnit,
require = require || parent.require; require = window.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