chore: add quick test command

This commit is contained in:
tzhangchi
2022-12-21 21:03:48 +08:00
parent e913f4ebcf
commit b7bc57b823
2 changed files with 4 additions and 15 deletions
+1
View File
@@ -8,6 +8,7 @@
"export": "pnpm --filter @pathfinder/app export",
"start": "pnpm --filter @pathfinder/app start",
"lint": "pnpm --filter @pathfinder/app lint",
"test": "playwright test",
"test:e2e": "playwright test",
"test:unit": "jest"
},
+3 -15
View File
@@ -50,21 +50,9 @@ const config: PlaywrightTestConfig = {
{
name: 'chromium',
use: {
...devices['Desktop Chrome'],
},
},
{
name: 'firefox',
use: {
...devices['Desktop Firefox'],
},
},
{
name: 'webkit',
use: {
...devices['Desktop Safari'],
browserName: 'chromium',
viewport: { width: 1920, height: 1080 },
actionTimeout: 5 * 1000,
},
},