diff options
author | Brian J. Dowling <bjd-dev@simplicity.net> | 2013-12-02 20:54:29 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-02-11 19:47:29 +0100 |
commit | 9660b43c01f473da96b76d2d605b9295cefe6f0f (patch) | |
tree | a625c04d936ae9d87577e697eab4210f56c9f3ba /Gruntfile.js | |
parent | 4c6fce77a701b3b7431f70a2db6391e2779aad97 (diff) | |
download | jquery-ui-9660b43c01f473da96b76d2d605b9295cefe6f0f.tar.gz jquery-ui-9660b43c01f473da96b76d2d605b9295cefe6f0f.zip |
Tests: Fix andenable a couple of unit tests: dialog, tooltip, draggable
Some unit tests were disabled in phantomjs. Dialog and draggable
depended on a larger viewPort. Tooltip just worked, that was reenabled
as well.
Closes gh-1173
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index b6a4ca24b..f20008d4e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -171,10 +171,14 @@ grunt.initConfig({ }, qunit: { files: expandFiles( "tests/unit/**/*.html" ).filter(function( file ) { - // disabling everything that doesn't (quite) work with PhantomJS for now // TODO except for all|index|test, try to include more as we go - return !( /(all|index|test|dialog|tooltip)\.html$/ ).test( file ); - }) + return !( /(all|index|test)\.html$/ ).test( file ); + }), + options: { + page: { + viewportSize: { width: 700, height: 500 } + } + } }, jshint: { options: { |