diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02752969..24ed8574 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/setup-node@v1 with: - node-version: "14.x" + node-version: "20.x" - name: Install run: | @@ -19,5 +19,4 @@ jobs: - name: Test run: | - sudo apt-get install xvfb - xvfb-run --auto-servernum npm run test:ci + npm run test diff --git a/.gitignore b/.gitignore index 004a3f5b..46c61afd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ package-lock.json # Inserted automatically by Gitmesh /.dat - +/.build diff --git a/.npmignore b/.npmignore index f605ddb0..11edbdb3 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1,3 @@ docs types +.build diff --git a/_test/fixtures/testcafe.js b/_test/fixtures/testcafe.js deleted file mode 100644 index 53dda2c0..00000000 --- a/_test/fixtures/testcafe.js +++ /dev/null @@ -1,65 +0,0 @@ -import Tonic from '@socketsupply/tonic' -import { Components } from '../../index.js' -import { html } from '../util.js' - -import './test-form.js' - -window.promiseCounter = 0 -const OldPromise = window.Promise -window.Promise = function () { - window.promiseCounter++ - console.trace('a promise here') - return new OldPromise(...arguments) -} - -Components(Tonic) - -document.body.appendChild(html` -