Skip to content

Commit

Permalink
made viewportsize explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh committed Jul 14, 2017
1 parent 32da80b commit 9fe65a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gulpfile.coffee
Expand Up @@ -37,7 +37,7 @@ gulp.task "test", ["webpack:tests", "lint"], ->
.pipe(phantomjs({
reporter: "dot"
phantomjs:
# viewportSize: {width: 1024, height: 768}
viewportSize: {width: 400, height: 300}
useColors: true
loadImages: false
}))
Expand Down Expand Up @@ -126,13 +126,13 @@ gulp.task "coverage", ["version", "webpack:coverage", "webpack:tests"], ->
return gulp
.src("test/phantomjs/index.html")
.pipe(phantomjs(
reporter: "dot"
phantomjs:
hooks: "mocha-phantomjs-istanbul"
coverageFile: coverageFile
# viewportSize: {width: 1024, height: 768}
viewportSize: {width: 400, height: 300}
useColors: true
loadImages: false
reporter: "dot"
))
.on "finish", ->
gulp.src(coverageFile)
Expand Down

0 comments on commit 9fe65a5

Please sign in to comment.