diff --git a/packages/react/test/router-custom.js b/packages/react/test/router-custom.js index 5b40d0e..8a4df76 100644 --- a/packages/react/test/router-custom.js +++ b/packages/react/test/router-custom.js @@ -2,7 +2,7 @@ import {expect} from 'chai'; import {withWeb} from '@flecks/headless/test/helpers/with-web'; -it('allows custom routes', withWeb( +it('allows custom routes', 'undefined' !== typeof Headers && withWeb( async ({page, response}) => { expect(response) .to.not.be.null; diff --git a/packages/react/test/router-data.js b/packages/react/test/router-data.js index 9f2c71b..f4d50d0 100644 --- a/packages/react/test/router-data.js +++ b/packages/react/test/router-data.js @@ -2,7 +2,7 @@ import {expect} from 'chai'; import {withWeb} from '@flecks/headless/test/helpers/with-web'; -it('implements data router', withWeb( +it('implements data router', 'undefined' !== typeof Headers && withWeb( async ({page, response}) => { expect(response) .to.not.be.null; @@ -26,7 +26,7 @@ it('implements data router', withWeb( }, )); -it('implements data router with ssr', withWeb( +it('implements data router with ssr', 'undefined' !== typeof Headers && withWeb( async ({page, response}) => { expect(response) .to.not.be.null; diff --git a/packages/react/test/router-default.js b/packages/react/test/router-default.js index 4bde0df..44aabd4 100644 --- a/packages/react/test/router-default.js +++ b/packages/react/test/router-default.js @@ -2,7 +2,7 @@ import {expect} from 'chai'; import {withWeb} from '@flecks/headless/test/helpers/with-web'; -it('provides default routes', withWeb( +it('provides default routes', 'undefined' !== typeof Headers && withWeb( async ({page, response}) => { expect(response) .to.not.be.null; @@ -17,7 +17,7 @@ it('provides default routes', withWeb( }, )); -it('provides default routes with ssr', withWeb( +it('provides default routes with ssr', 'undefined' !== typeof Headers && withWeb( async ({page, response}) => { expect(response) .to.not.be.null; diff --git a/packages/react/test/router-lazy.js b/packages/react/test/router-lazy.js index fb1d738..9f0239f 100644 --- a/packages/react/test/router-lazy.js +++ b/packages/react/test/router-lazy.js @@ -2,7 +2,7 @@ import {expect} from 'chai'; import {withWeb} from '@flecks/headless/test/helpers/with-web'; -it('allows lazy routes', withWeb( +it('allows lazy routes', 'undefined' !== typeof Headers && withWeb( async ({page, response}) => { expect(response) .to.not.be.null;