diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2018-09-07 10:14:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 10:14:01 -0400 |
commit | dfa92ccead70d7dd5735a36c6d0dd1af680271cd (patch) | |
tree | 95d7500d4ddcc944f3d388216c0c6bec211461d2 /Gruntfile.js | |
parent | f997241f0011ed728be71002bc703c7a0d3f01e5 (diff) | |
download | jquery-dfa92ccead70d7dd5735a36c6d0dd1af680271cd.tar.gz jquery-dfa92ccead70d7dd5735a36c6d0dd1af680271cd.zip |
Tests: Allow Karma to load unminfied source
Closes gh-4128
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index ed2bd7753..b46b7457f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -177,7 +177,7 @@ module.exports = function( grunt ) { "external/requirejs/require.js", "test/data/testinit.js", - "dist/jquery.min.js", + "test/jquery.js", // Replacement for testinit.js#loadTests() "test/data/testrunner.js", @@ -205,9 +205,9 @@ module.exports = function( grunt ) { "test/unit/tween.js", "test/unit/ready.js", - { pattern: "dist/jquery.js", included: false, served: true }, - { pattern: "dist/*.map", included: false, served: true }, - { pattern: "external/qunit/qunit.css", included: false, served: true }, + { pattern: "dist/jquery.*", included: false, served: true }, + { pattern: "src/**", included: false, served: true }, + { pattern: "external/**", included: false, served: true }, { pattern: "test/**/*.@(js|css|jpg|html|xml|svg)", included: false, |