File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import { readFileSync } from 'node:fs'
33import { type Page , expect , test } from '@playwright/test'
44import { type Fixture , setupIsolatedFixture , useFixture } from './fixture'
55import { expectNoReload , testNoJs , waitForHydration } from './helper'
6+ import os from 'node:os'
7+ import path from 'node:path'
68
79// TODO: parallel?
810// TODO: all tests don't need to be tested in all variants?
@@ -109,7 +111,7 @@ test.describe.only(() => {
109111 // disabled by default
110112 // if (process.env.TEST_ISOLATED !== 'true') return
111113
112- let tmpRoot = '/tmp/ test-vite-rsc'
114+ let tmpRoot = path . join ( os . tmpdir ( ) , ' test-vite-rsc')
113115 test . beforeAll ( async ( ) => {
114116 await setupIsolatedFixture ( { src : 'examples/basic' , dest : tmpRoot } )
115117 // try {
You can’t perform that action at this time.
0 commit comments