Skip to content

Commit 9704948

Browse files
Brian M HuntBrian M Hunt
authored andcommitted
Revert "Add happy-dom and node test environments"
This reverts commit dc06b53.
1 parent dc06b53 commit 9704948

4 files changed

Lines changed: 35 additions & 118 deletions

File tree

.github/workflows/test-headless.yml

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
test-browser:
9+
test:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
fail-fast: false
@@ -36,33 +36,8 @@ jobs:
3636
- name: Verify ESM extensions
3737
run: bun run verify:esm
3838

39-
- name: Run Browser Tests
40-
run: bunx vitest run --project browser
39+
- name: Run Tests
40+
run: bunx vitest run
4141
env:
4242
HOME: /root
4343
VITEST_BROWSERS: ${{ matrix.browser }}
44-
45-
test-env:
46-
runs-on: ubuntu-latest
47-
strategy:
48-
fail-fast: false
49-
matrix:
50-
project: [happy-dom, node]
51-
52-
steps:
53-
- name: Checkout code
54-
uses: actions/checkout@v6
55-
56-
- name: Setup Bun
57-
uses: oven-sh/setup-bun@v2
58-
with:
59-
bun-version-file: .tool-versions
60-
61-
- name: Install dependencies
62-
run: bun install --frozen-lockfile
63-
64-
- name: Run Build
65-
run: bun run build
66-
67-
- name: Run ${{ matrix.project }} Tests
68-
run: bunx vitest run --project ${{ matrix.project }}

bun.lock

Lines changed: 27 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"chai": "^6.2.2",
3939
"esbuild": "^0.28.0",
4040
"fs-extra": "^11.3.2",
41-
"happy-dom": "^20.9.0",
4241
"jquery": "^4.0.0",
4342
"playwright": "^1.59.1",
4443
"sinon": "^21.0.3",

0 commit comments

Comments
 (0)