feat: migrate from commonjs to module
This commit is contained in:
parent
56173552af
commit
c8268c262e
5 changed files with 35 additions and 19 deletions
|
|
@ -1,4 +1,5 @@
|
|||
module.exports = {
|
||||
/** @type {import('jest-environment-puppeteer').JestPuppeteerConfig} */
|
||||
const config = {
|
||||
launch: {
|
||||
headless: process.env.CI === "true",
|
||||
},
|
||||
|
|
@ -8,3 +9,5 @@ module.exports = {
|
|||
launchTimeout: 180000,
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
|
|
|||
Loading…
Reference in a new issue