mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
16 lines
410 B
JavaScript
16 lines
410 B
JavaScript
|
// jest-puppeteer.config.js
|
|||
|
module.exports = {
|
|||
|
launch: {
|
|||
|
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 Docker’s default for /dev/shm is 64MB
|
|||
|
'--disable-dev-shm-usage',
|
|||
|
],
|
|||
|
},
|
|||
|
browser: 'chromium',
|
|||
|
browserContext: 'default',
|
|||
|
};
|