Skip to content

Commit 6433386

Browse files
committed
improve config
1 parent 7f3b615 commit 6433386

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

epicshop/playwright.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import path from 'path'
33
import { defineConfig, devices } from '@playwright/test'
44

55
const PORT = process.env.PORT || '5639'
6-
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
6+
const tmpDir = path.join(
7+
os.tmpdir(),
8+
'epicshop-playwright',
9+
path.basename(new URL('../', import.meta.url).pathname),
10+
)
711

812
export default defineConfig({
913
outputDir: path.join(tmpDir, 'playwright-test-output'),

0 commit comments

Comments
 (0)