FluidHelloWorld/jest-puppeteer.config.js

19 строки
669 B
JavaScript
Исходник Обычный вид История

2022-10-18 04:04:00 +03:00
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
module.exports = {
server: {
command: `npm run start:client -- --port=7575`,
port: 7575,
launchTimeout: 60000,
},
launch: {
slowMo: 30, // slows down process for easier viewing
headless: "new", // run in the browser; https://developer.chrome.com/articles/new-headless/
args: ["--no-sandbox", "--disable-setuid-sandbox"], // https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#setting-up-chrome-linux-sandbox
dumpio: process.env.FLUID_TEST_VERBOSE !== undefined, // output browser console to cmd line
},
2022-10-18 04:04:00 +03:00
};