make tests fail faster

This commit is contained in:
2024-10-25 01:05:04 -05:00
parent a42afbc9d2
commit 2c4416804b

View File

@@ -5,8 +5,12 @@ const config: PlaywrightTestConfig = {
command: 'npm run build && npm run preview',
port: 4173,
},
expect: {
timeout: 2.5 * 1000,
},
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
timeout: 5 * 1000,
use: {
viewport: {
height: 900,