mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix tests for testswarm
This commit is contained in:
7
test/jquery.js
vendored
7
test/jquery.js
vendored
@@ -4,10 +4,9 @@
|
||||
/* jshint eqeqeq: false */
|
||||
|
||||
var i, len,
|
||||
// Parent is the current window if not an iframe, which is fine
|
||||
src = /^(.*)test\//.exec( parent.location.pathname )[1],
|
||||
QUnit = QUnit || parent.QUnit,
|
||||
require = require || parent.require;
|
||||
src = /^(.*)test\//.exec( window.location.pathname )[1],
|
||||
QUnit = window.QUnit || parent.QUnit,
|
||||
require = window.require || parent.require;
|
||||
|
||||
// Config parameter to force basic code paths
|
||||
QUnit.config.urlConfig.push({
|
||||
|
||||
Reference in New Issue
Block a user