aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-04-03 15:21:16 -0400
committerScott González <scott.gonzalez@gmail.com>2015-04-09 09:21:06 -0400
commit7c896ddb8563e1f4fc655904614cf72d010e2ecb (patch)
tree160c3d2c1c4aa7e89f38f8371558f3fccd8e8d8a /Gruntfile.js
parentd0ea32e3ad613eaaa523d0c88c776dab2b26b25f (diff)
downloadjquery-ui-7c896ddb8563e1f4fc655904614cf72d010e2ecb.tar.gz
jquery-ui-7c896ddb8563e1f4fc655904614cf72d010e2ecb.zip
Tests: Change test infrastructure to use AMD and reduce boilerplate
Ref #10119 Ref gh-1528 * Adds RequireJS and relies on AMD for loading dependencies. * Updates to grunt-contrib-qunit 0.6.0. * Convert `domEqual()` to a proper QUnit assertion. * Introduces two bootstrap files (JS and CSS) which use `data-` attributes to reduce the amount of boilerplate needed in each test
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 53b34280a..b9a3a792b 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -225,6 +225,7 @@ grunt.initConfig({
return !( /(all|index|test)\.html$/ ).test( file );
}),
options: {
+ inject: false,
page: {
viewportSize: { width: 700, height: 500 }
}
@@ -284,6 +285,8 @@ grunt.initConfig({
"qunit-composite/qunit-composite.css": "qunit-composite/qunit-composite.css",
"qunit-composite/LICENSE.txt": "qunit-composite/LICENSE.txt",
+ "requirejs/require.js": "requirejs/require.js",
+
"jquery-mousewheel/jquery.mousewheel.js": "jquery-mousewheel/jquery.mousewheel.js",
"jquery-mousewheel/LICENSE.txt": "jquery-mousewheel/LICENSE.txt",