-
- Downloads
Add upstream tests to gitlab ci
- dont ignore package-lock (needed for npm ci) - use puppeteer container - use junit for proper gitlab tests reports integration - chrome without sandbox to not require SYS_ADMIN docker cap (cf https://pptr.dev/guides/docker)
.gitlab-ci.yml
0 → 100644
package-lock.json
0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
... | @@ -14,6 +14,7 @@ | ... | @@ -14,6 +14,7 @@ |
"lint:containers": "node ./scripts/container-lint.js", | "lint:containers": "node ./scripts/container-lint.js", | ||
"lint:translations": "node ./scripts/i18n-lint.js", | "lint:translations": "node ./scripts/i18n-lint.js", | ||
"server": "node_modules/.bin/http-server --cors", | "server": "node_modules/.bin/http-server --cors", | ||
"test:ci": "jest -c jest.json --ci --reporters=jest-junit --watchAll=false", | |||
"test": "npm run build && npm run lint && npm run size && jest -c jest.json", | "test": "npm run build && npm run lint && npm run size && jest -c jest.json", | ||
"test:debug": "node --inspect node_modules/.bin/jest -c jest.json --runInBand", | "test:debug": "node --inspect node_modules/.bin/jest -c jest.json --runInBand", | ||
"test:watch": "jest -c jest.json --watch", | "test:watch": "jest -c jest.json --watch", | ||
... | @@ -114,9 +115,10 @@ | ... | @@ -114,9 +115,10 @@ |
"http-server": "^14.1.0", | "http-server": "^14.1.0", | ||
"jest": "^27.5.1", | "jest": "^27.5.1", | ||
"jest-fetch-mock": "^3.0.0", | "jest-fetch-mock": "^3.0.0", | ||
"jest-junit": "^15.0.0", | |||
"jest-puppeteer": "^6.1.0", | "jest-puppeteer": "^6.1.0", | ||
"jsdom": "^19.0.0", | "jsdom": "^19.0.0", | ||
"puppeteer": "^13.5.1", | "puppeteer": "^13.7.0", | ||
"react": "^16.8.6", | "react": "^16.8.6", | ||
"react-dom": "^16.8.6", | "react-dom": "^16.8.6", | ||
"react-refresh": "^0.11.0", | "react-refresh": "^0.11.0", | ||
... | ... |
Please register or sign in to comment