Skip to content

Commit 13f0143

Browse files
Copilotdgreif
andcommitted
Convert from Karma/Mocha/Chai to Vitest with Playwright
Co-authored-by: dgreif <3026298+dgreif@users.noreply.github.com>
1 parent 2cb7c8a commit 13f0143

10 files changed

Lines changed: 4211 additions & 5740 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
- name: Use Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version-file: '.node-version'
19+
node-version: 24
2020
cache: 'npm'
2121
- run: npm install
22+
- run: npx playwright install chromium --only-shell
2223
- run: npm run build
24+
- run: npm run lint
2325
- run: npm test
2426
env:
2527
CI: true

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version-file: '.node-version'
17+
node-version: 24
1818
registry-url: https://registry.npmjs.org/
1919
cache: npm
2020
- run: npm ci
21+
- run: npx playwright install chromium --only-shell
2122
- run: npm test
2223
- run: npm version ${TAG_NAME} --git-tag-version=false
2324
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist/
22
node_modules/
3+
test/__screenshots__/

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
24

karma.config.js

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)