diff --git a/plugins/ssr-plugin.js b/plugins/ssr-plugin.js index b08c2348..df5632f7 100644 --- a/plugins/ssr-plugin.js +++ b/plugins/ssr-plugin.js @@ -114,8 +114,8 @@ const SSRBodyTemplate = createPlugin/*:: - els.every(el => el.crossOrigin === null) - ), - 'non-module scripts do not have crossorigin attribute' - ); - t.ok( await page.$$eval('script[src]:not([type="application/json"])', els => // eslint-disable-next-line @@ -274,13 +267,6 @@ test('`fusion build` app with Safari user agent and same-origin', async () => { 'one extra script after loading new route' ); - t.ok( - await page.$$eval('script[src]:not([type="application/json"])', els => - els.every(el => el.crossOrigin === null) - ), - 'non-module scripts do not have crossorigin attribute' - ); - t.ok( await page.$$eval('script[src]:not([type="application/json"])', els => // eslint-disable-next-line