Add mock api and test reporting

This commit is contained in:
Djuri 2023-11-23 02:35:09 +01:00
parent e9461cee3d
commit 98f6deb253
2 changed files with 63 additions and 0 deletions

View file

@ -9,6 +9,7 @@ const config: PlaywrightTestConfig = {
command: 'npm run build && npm run preview',
port: 4173
},
reporter: process.env.CI ? 'github' : 'list',
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
};