Skip to content

Commit f1c2bcf

Browse files
jquery-ui:Removed PhantomJS Dependency
Signed-off-by: sakshi87 <sakshi.sharma@puresoftware.com>
1 parent 74f8a0a commit f1c2bcf

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

Gruntfile.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,21 @@ grunt.initConfig({
219219
return !( /(all|index|test)\.html$/ ).test( file );
220220
}),
221221
options: {
222-
inject: false,
222+
puppeteer: {
223+
ignoreDefaultArgs: true,
224+
args: [
225+
"--headless",
226+
"--disable-web-security",
227+
"--allow-file-access-from-files"
228+
]
229+
},
230+
inject: [
231+
require.resolve("grunt-contrib-qunit/chrome/bridge")
232+
],
223233
page: {
224234
viewportSize: { width: 700, height: 500 }
225235
}
226-
}
236+
},
227237
},
228238
jshint: {
229239
options: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"grunt-contrib-concat": "0.5.1",
6363
"grunt-contrib-csslint": "0.5.0",
6464
"grunt-contrib-jshint": "0.12.0",
65-
"grunt-contrib-qunit": "1.0.1",
65+
"grunt-contrib-qunit": "3.1.0",
6666
"grunt-contrib-requirejs": "0.4.4",
6767
"grunt-contrib-uglify": "0.11.1",
6868
"grunt-git-authors": "3.1.0",

0 commit comments

Comments
 (0)