fix to use with sveltekit

This commit is contained in:
Thiago Lagden
2023-12-11 13:34:34 -03:00
commit e14f35aff0
29 changed files with 4880 additions and 0 deletions

12
playwright.config.js Normal file
View File

@@ -0,0 +1,12 @@
/** @type {import('@playwright/test').PlaywrightTestConfig} */
const config = {
webServer: {
command: 'env PREVIEW=1 npm run build && npm run preview',
port: 4173,
},
testDir: 'tests/e2e',
testMatch: /(.+\.)(test|spec)\.[jt]s/,
outputDir: 'tests/e2e/__snapshots__',
}
export default config