ant-design/jest-puppeteer.config.js
vagusX 32eccfdd88
ci: make puppeteer works when reusing node_modules (#46107)
* feat: update

* feat: add options as root user

* chore: update

* chore: update

* feat: move puppeteer into node_modules cache

* chore: update

* fix: update

* fix: typo for push

* chore: cleanup

* fix: make persist finish works

* chore: test tar speed

* chore: debug tar files

* fix: clone firstly

* fix: clone with token

* chore: local passed

* fix: commit not cm

* fix: git config --local

* chore: clean up

* chore: update

* fix: replace token to user_id
2023-11-28 19:42:35 +08:00

15 lines
407 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// jest-puppeteer.config.js
module.exports = {
launch: {
ignoreDefaultArgs: ['--disable-extensions'],
args: [
// Required for Docker version of Puppeteer
'--no-sandbox',
'--disable-setuid-sandbox',
// This will write shared memory files into /tmp instead of /dev/shm,
// because Dockers default for /dev/shm is 64MB
'--disable-dev-shm-usage',
],
},
};