From 9341678151a54fa2bc4a9b3da7401ee64d6d4392 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Tue, 29 Oct 2013 19:24:22 +0100 Subject: [PATCH] reactivate qunit integration tests --- Gruntfile.js | 2 +- test/unit/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index dd960de..fefc5ec 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -223,7 +223,7 @@ module.exports = function(grunt) { // Test/Dev tasks grunt.registerTask('dev', ['connect:dev']); - grunt.registerTask('test', ['jshint', 'connect:test', 'mocha']); + grunt.registerTask('test', ['jshint', 'connect:test', 'mocha', 'qunit']); grunt.registerTask('prod', ['connect:prod']); }; \ No newline at end of file diff --git a/test/unit/main.js b/test/unit/main.js index 918d69e..3ad627b 100644 --- a/test/unit/main.js +++ b/test/unit/main.js @@ -10,7 +10,7 @@ require(['../../src/require-config'], function() { require(['js/app-config', 'cordova'], function(app) { // clear session storage of failed tests, so async order is correct after fail & refresh window.sessionStorage.clear(); - //window.Worker = undefined; + window.Worker = undefined; app.config.workerPath = '../../src/js';