feat: migrate from commonjs to module

This commit is contained in:
Rotzbua 2025-01-02 00:25:46 +01:00
commit c8268c262e
No known key found for this signature in database
GPG key ID: C69022D529C17845
5 changed files with 35 additions and 19 deletions

View file

@ -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;