diff --git a/js/tests/bring-it-to-life-dom_test.mjs b/js/tests/bring-it-to-life-dom_test.mjs index a9e25ffb2..5d85eb95b 100644 --- a/js/tests/bring-it-to-life-dom_test.mjs +++ b/js/tests/bring-it-to-life-dom_test.mjs @@ -1,17 +1,5 @@ export const tests = [] -tests.push(async ({ eq, page }) => { - // check the JS script has been linked - await eq.$('script', { type: 'module' }) - - // check the JS script has a valid src - const source = await page.$eval( - 'script', - (node) => node.src.includes('.js') && node.src, - ) - if (!source.length) throw Error('missing script src') -}) - tests.push(async ({ eq, page }) => { // check the class 'eye-closed' has been added in the CSS eq.css('.eye-closed', {