Skip to content

Commit

Permalink
Merge pull request #3966 from spicyj/no-worker-test
Browse files Browse the repository at this point in the history
Remove web worker test
  • Loading branch information
sophiebits committed May 27, 2015
2 parents 1503994 + 12ea09a commit f44bf7e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 91 deletions.
10 changes: 3 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,13 @@ module.exports = function(grunt) {
'coverage:parse'
]);
grunt.registerTask('fasttest', function() {
if (grunt.option('debug')) {
grunt.task.run('build:test', 'connect:server:keepalive');
} else {
grunt.task.run('build:test', 'test:webdriver:phantomjs');
}
grunt.task.run('test');
});
grunt.registerTask('test', function() {
if (grunt.option('debug')) {
grunt.task.run('build:test', 'build:basic', 'connect:server:keepalive');
grunt.task.run('build:test', 'connect:server:keepalive');
} else {
grunt.task.run('build:test', 'build:basic', 'test:webdriver:phantomjs');
grunt.task.run('build:test', 'test:webdriver:phantomjs');
}
});
grunt.registerTask('npm:test', ['build', 'npm:pack']);
Expand Down
44 changes: 0 additions & 44 deletions src/renderers/dom/client/__tests__/ReactWebWorker-test.js

This file was deleted.

38 changes: 0 additions & 38 deletions src/test/worker.js

This file was deleted.

3 changes: 1 addition & 2 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'the-files-to-test.generated.js',
'lib/jasmine-execute.js'
];

if (typeof Function.prototype.bind == 'undefined') {
urls.unshift('../node_modules/es5-shim/es5-sham.js');
urls.unshift('../node_modules/es5-shim/es5-shim.js');
Expand All @@ -33,7 +33,6 @@
}

var base = location.protocol + '//' + location.hostname + ':' + location.port + location.pathname.replace(/^\/?/,'/').split('/').reverse().slice(1).reverse().join('/');
window.ReactWebWorker_URL = base + '/../src/test/worker.js' + cacheBust;

}());
</script>

0 comments on commit f44bf7e

Please sign in to comment.