Skip to content

Commit 5d6e3fa

Browse files
committed
improve config
1 parent ee6bd55 commit 5d6e3fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

epicshop/playwright.config.js

+5-1
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)