skip Worker test unless the browser supports them

This commit is contained in:
Thomas Aylott 2013-10-28 16:45:48 -04:00
parent ecd847cad7
commit 5640d641d6
1 changed files with 1 additions and 1 deletions

View File

@ -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;