From 06b90e7326e5e1b108b16109ff58856ff2cb3aad Mon Sep 17 00:00:00 2001 From: Jonathan Kingston Date: Thu, 10 Oct 2024 11:26:38 +0100 Subject: [PATCH] Remove runtime-checks tests --- integration-test/pages/runtimeChecks/index.html | 6 ------ integration-test/pages/runtimeChecks/script.js | 12 ------------ integration-test/pages/runtimeChecks/script2.js | 2 -- integration-test/test-pages.js | 2 +- 4 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 integration-test/pages/runtimeChecks/index.html delete mode 100644 integration-test/pages/runtimeChecks/script.js delete mode 100644 integration-test/pages/runtimeChecks/script2.js diff --git a/integration-test/pages/runtimeChecks/index.html b/integration-test/pages/runtimeChecks/index.html deleted file mode 100644 index 309310886..000000000 --- a/integration-test/pages/runtimeChecks/index.html +++ /dev/null @@ -1,6 +0,0 @@ - - -

Check for stack tracing

- - - diff --git a/integration-test/pages/runtimeChecks/script.js b/integration-test/pages/runtimeChecks/script.js deleted file mode 100644 index b559b232a..000000000 --- a/integration-test/pages/runtimeChecks/script.js +++ /dev/null @@ -1,12 +0,0 @@ -function init () { - window.script1Ran = true - const script = document.createElement('script') - script.src = './script2.js' - script.id = 'script2' - script.setAttribute('magicalAttribute', 'yes') - document.body.appendChild(script) -} -// Wait for setup -window.addEventListener('initialize', () => { - init() -}) diff --git a/integration-test/pages/runtimeChecks/script2.js b/integration-test/pages/runtimeChecks/script2.js deleted file mode 100644 index f82ae9bf5..000000000 --- a/integration-test/pages/runtimeChecks/script2.js +++ /dev/null @@ -1,2 +0,0 @@ -window.script2Ran = true -window.dispatchEvent(new CustomEvent('initializeFinished')) diff --git a/integration-test/test-pages.js b/integration-test/test-pages.js index 700d4ee97..8ff5212a1 100644 --- a/integration-test/test-pages.js +++ b/integration-test/test-pages.js @@ -1,5 +1,5 @@ /** - * Tests for runtime checks + * Tests for shared pages */ import { processConfig } from '../src/utils.js' import { setup } from './helpers/harness.js'