Skip to content

Commit 12ea09a

Browse files
committed
Remove web worker test
1 parent a30c875 commit 12ea09a

File tree

4 files changed

+4
-91
lines changed

4 files changed

+4
-91
lines changed

Gruntfile.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,17 +205,13 @@ module.exports = function(grunt) {
205205
'coverage:parse'
206206
]);
207207
grunt.registerTask('fasttest', function() {
208-
if (grunt.option('debug')) {
209-
grunt.task.run('build:test', 'connect:server:keepalive');
210-
} else {
211-
grunt.task.run('build:test', 'test:webdriver:phantomjs');
212-
}
208+
grunt.task.run('test');
213209
});
214210
grunt.registerTask('test', function() {
215211
if (grunt.option('debug')) {
216-
grunt.task.run('build:test', 'build:basic', 'connect:server:keepalive');
212+
grunt.task.run('build:test', 'connect:server:keepalive');
217213
} else {
218-
grunt.task.run('build:test', 'build:basic', 'test:webdriver:phantomjs');
214+
grunt.task.run('build:test', 'test:webdriver:phantomjs');
219215
}
220216
});
221217
grunt.registerTask('npm:test', ['build', 'npm:pack']);

src/renderers/dom/client/__tests__/ReactWebWorker-test.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/test/worker.js

Lines changed: 0 additions & 38 deletions
This file was deleted.

test/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'the-files-to-test.generated.js',
2020
'lib/jasmine-execute.js'
2121
];
22-
22+
2323
if (typeof Function.prototype.bind == 'undefined') {
2424
urls.unshift('../node_modules/es5-shim/es5-sham.js');
2525
urls.unshift('../node_modules/es5-shim/es5-shim.js');
@@ -32,7 +32,6 @@
3232
}
3333

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

3736
}());
3837
</script>

0 commit comments

Comments
 (0)