X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fqunit%2FQUnitTestResources.php;h=d55b603ba98180eb21a39332f8d20c2eac2a5144;hb=942f708b61d8d7b79fd3af8415287654e6b79c1c;hp=3b511c27cf6bb6cd7b6424c96fd48535118df356;hpb=5410cfccce9b0b84bc909506c9b66d3f27d6dba7;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/qunit/QUnitTestResources.php b/tests/qunit/QUnitTestResources.php index 3b511c27cf..d55b603ba9 100644 --- a/tests/qunit/QUnitTestResources.php +++ b/tests/qunit/QUnitTestResources.php @@ -6,17 +6,16 @@ return [ /* Utilities */ + 'jquery.qunit' => [ + 'scripts' => 'resources/lib/qunitjs/qunit.js', + 'styles' => 'resources/lib/qunitjs/qunit.css', + 'targets' => [ 'desktop', 'mobile' ], + ], + 'test.sinonjs' => [ 'scripts' => [ 'tests/qunit/suites/resources/test.sinonjs/index.js', - 'resources/lib/sinonjs/sinon-1.17.3.js', - // We want tests to work in IE, but can't include this as it - // will break the placeholders in Sinon because the hack it uses - // to hijack IE globals relies on running in the global scope - // and in ResourceLoader this won't be running in the global scope. - // Including it results (among other things) in sandboxed timers - // being broken due to Date inheritance being undefined. - // 'resources/lib/sinonjs/sinon-ie-1.15.4.js', + 'resources/lib/sinonjs/sinon.js', ], 'targets' => [ 'desktop', 'mobile' ], ], @@ -48,10 +47,8 @@ return [ 'tests/qunit/suites/resources/jquery/jquery.color.test.js', 'tests/qunit/suites/resources/jquery/jquery.colorUtil.test.js', 'tests/qunit/suites/resources/jquery/jquery.getAttrs.test.js', - 'tests/qunit/suites/resources/jquery/jquery.hidpi.test.js', 'tests/qunit/suites/resources/jquery/jquery.highlightText.test.js', 'tests/qunit/suites/resources/jquery/jquery.lengthLimit.test.js', - 'tests/qunit/suites/resources/jquery/jquery.localize.test.js', 'tests/qunit/suites/resources/jquery/jquery.makeCollapsible.test.js', 'tests/qunit/suites/resources/jquery/jquery.tabIndex.test.js', 'tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js', @@ -109,10 +106,8 @@ return [ 'jquery.color', 'jquery.colorUtil', 'jquery.getAttrs', - 'jquery.hidpi', 'jquery.highlightText', 'jquery.lengthLimit', - 'jquery.localize', 'jquery.makeCollapsible', 'jquery.tabIndex', 'jquery.tablesorter',