Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
Lee Miller | 50f789848d | |
Lee Miller | 4a95a1ee62 | |
Lee Miller | 0f393cea75 | |
Lee Miller | 697a2f99c5 | |
Lee Miller | 98e0fca935 | |
Lee Miller | 85132d451a |
|
@ -9,10 +9,10 @@ jobs:
|
|||
run: |
|
||||
apt-get update
|
||||
apt-get install -yq --no-install-suggests --no-install-recommends \
|
||||
xauth xvfb
|
||||
xauth xvfb chromium firefox-esr
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Install
|
||||
run: npm install
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
run: CHROME_BIN=/usr/bin/chromium npm test
|
||||
|
|
|
@ -53,7 +53,14 @@ module.exports = function(config) {
|
|||
|
||||
// start these browsers
|
||||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
||||
browsers: ["Chrome", "Firefox"],
|
||||
browsers: ["Chromium", "Firefox"],
|
||||
|
||||
customLaunchers: {
|
||||
Chromium: {
|
||||
base: "Chrome",
|
||||
flags: ["--no-sandbox"]
|
||||
}
|
||||
},
|
||||
|
||||
// Continuous Integration mode
|
||||
// if true, Karma captures browsers, runs the tests and exits
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
"jshint": "*",
|
||||
"karma": "6.4.1",
|
||||
"karma-browserify": "8.1.0",
|
||||
"karma-chrome-launcher": "3.1.0",
|
||||
"karma-chrome-launcher": "3.2.0",
|
||||
"karma-cli": "2.0.0",
|
||||
"karma-firefox-launcher": "1.2.0",
|
||||
"karma-mocha": "2.0.1",
|
||||
|
|
Loading…
Reference in New Issue