jest-puppeteer.config.js 291 字节
Newer Older
C
changy1105 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
// jest-puppeteer.config.js
module.exports = {
    launch: {
        headless: false,
        product: 'chrome'
    },
    browserContext: 'default',
    server: {
        command: 'python3 -m http.server 9811',
        port: 9811,
        launchTimeout: 10000,
        debug: true
    }
};