skip Worker test unless the browser supports them
This commit is contained in:
parent
ecd847cad7
commit
5640d641d6
|
@ -22,7 +22,7 @@
|
|||
"use strict";
|
||||
|
||||
describe('ReactWebWorker', function() {
|
||||
it('can run React in a web worker', function() {
|
||||
;(typeof Worker == 'undefined' ? xit : it)('can run React in a web worker', function() {
|
||||
var done = false;
|
||||
var error;
|
||||
|
||||
|
|
Loading…
Reference in New Issue