Skip to content

Commit

Permalink
improve config
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Sep 18, 2024
1 parent 7f3b615 commit 6433386
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion epicshop/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import path from 'path'
import { defineConfig, devices } from '@playwright/test'

const PORT = process.env.PORT || '5639'
const tmpDir = path.join(os.tmpdir(), 'epicreact-server-components')
const tmpDir = path.join(
os.tmpdir(),
'epicshop-playwright',
path.basename(new URL('../', import.meta.url).pathname),
)

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

0 comments on commit 6433386

Please sign in to comment.