Skip to content

Commit 2d938c0

Browse files
committed
test: Migrate away from karma
Karma was deprecated a while ago and no longer receiving security updates.
1 parent 9888cb1 commit 2d938c0

19 files changed

Lines changed: 1033 additions & 2103 deletions

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- run: firefox --version
3333
- run: google-chrome --version
3434
- run: npm ci
35+
- run: npm run install-test-browsers
3536
- run: npm run setup-website
3637
- run: npm run ci-xvfb
3738
- run: npm run validate-es5
@@ -89,6 +90,7 @@ jobs:
8990
# Delete the package-lock to test with the latest libraries allowed
9091
- run: rm package-lock.json
9192
- run: npm install
93+
- run: npm run install-test-browsers
9294
- run: npm audit --audit-level high
9395
- run: npm run setup-website
9496
- run: npm run ci-xvfb

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
/jsdoc/template/tmpl
1818
/jsdoc/template/static
1919
/images/*
20+
test-results/*

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module.exports = [
9898
'no-console': 'error',
9999
}
100100
}, {
101-
files: ['tutorials/**', 'examples/**', 'tests/**', 'scripts/**', 'plugins/**', 'karma*.*', 'jsdoc/**'],
101+
files: ['tutorials/**', 'examples/**', 'tests/**', 'scripts/**', 'plugins/**', 'jsdoc/**'],
102102
rules: {
103103
'jsdoc/check-param-names': 'off',
104104
'jsdoc/check-tag-names': 'off',

karma-base.js

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

0 commit comments

Comments
 (0)