Add browsers
This commit is contained in:
parent
7b38bbc5ad
commit
66fa3e0e63
|
@ -1,7 +1,8 @@
|
|||
FROM node:18-bullseye
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -yq --no-install-suggests --no-install-recommends xauth xvfb
|
||||
RUN apt-get install -yq --no-install-suggests --no-install-recommends \
|
||||
xauth xvfb chromium firefox-esr
|
||||
|
||||
WORKDIR /app
|
||||
ADD src ./src
|
||||
|
|
|
@ -9,7 +9,7 @@ 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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
process.env.CHROME_BIN = "chromium-browser";
|
||||
process.env.CHROME_BIN = "/usr/bin/chromium";
|
||||
var allTests = process.env.ALL_TESTS === "1";
|
||||
|
||||
module.exports = function(config) {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"install": "node-gyp rebuild || exit 0",
|
||||
"test": "ALL_TESTS=1 mocha && ALL_TESTS=1 xvfb-run -a karma start --browsers Chromium && ALL_TESTS=1 xvfb-run -a karma start --browsers Firefox && jshint .",
|
||||
"test": "ALL_TESTS=1 mocha && xvfb-run -a karma start && jshint .",
|
||||
"m": "mocha",
|
||||
"kc": "xvfb-run -a karma start --browsers Chromium",
|
||||
"kf": "xvfb-run -a karma start --browsers Firefox",
|
||||
|
|
Loading…
Reference in New Issue
Block a user