diff --git a/.travis.yml b/.travis.yml index 8dd0f7afc..1ce5ea544 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ before_script: # Install Nette Tester & Code Checker - travis_retry composer update --no-interaction --prefer-dist $dependencies - travis_retry composer create-project nette/code-checker code-checker ~2.5 --no-interaction - - if [ $TRAVIS_PHP_VERSION == "5.6" ]; then npm install -g grunt-cli; cd tests/netteForms; npm install; bower install; cd ../..; fi + - if [ $TRAVIS_PHP_VERSION == "5.6" ]; then npm install -g grunt-cli; cd tests/netteForms; npm install; cd ../..; fi sudo: false diff --git a/tests/netteForms/.jshintrc b/tests/netteForms/.jshintrc index 1cac83361..ea71f73ed 100644 --- a/tests/netteForms/.jshintrc +++ b/tests/netteForms/.jshintrc @@ -23,7 +23,7 @@ "expr" : false, // Tolerate `ExpressionStatement` as Programs. "forin" : false, // Tolerate `for in` loops without `hasOwnPrototype`. "immed" : true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` - "latedef" : true, // Prohipit variable use before definition. + "latedef" : false, // Prohipit variable use before definition. "loopfunc" : true, // Allow functions to be defined within loops. "noarg" : true, // Prohibit use of `arguments.caller` and `arguments.callee`. "regexp" : true, // Prohibit `.` and `[^...]` in regular expressions. diff --git a/tests/netteForms/Gruntfile.js b/tests/netteForms/Gruntfile.js index d733eaee6..e694bf188 100644 --- a/tests/netteForms/Gruntfile.js +++ b/tests/netteForms/Gruntfile.js @@ -13,7 +13,7 @@ module.exports = function(grunt) { src: '../../src/assets/*.js', options: { vendor: [ - 'bower_components/fixtures/fixtures.js' + 'node_modules/js-fixtures/fixtures.js' ], specs: 'spec/*Spec.js' } diff --git a/tests/netteForms/SpecRunner.html b/tests/netteForms/SpecRunner.html index 0b31ba550..96ead3a82 100644 --- a/tests/netteForms/SpecRunner.html +++ b/tests/netteForms/SpecRunner.html @@ -4,12 +4,12 @@