Skip to content

Commit b19d66a

Browse files
committed
test: tweak
1 parent 78758a3 commit b19d66a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/plugin-rsc/e2e/fixture.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ export async function setupIsolatedFixture(options: {
170170
const overridesSection = overridesMatch ? overridesMatch[0] : 'overrides:'
171171
const tempWorkspaceYaml = `\
172172
${overridesSection}
173-
'@vitejs/plugin-rsc': file:${path.join(rootDir, 'packages/plugin-rsc')}
174-
'@vitejs/plugin-react': file:${path.join(rootDir, 'packages/plugin-react')}
173+
'@vitejs/plugin-rsc': ${JSON.stringify('file:' + path.join(rootDir, 'packages/plugin-rsc'))}
174+
'@vitejs/plugin-react': ${JSON.stringify('file:' + path.join(rootDir, 'packages/plugin-react'))}
175175
`
176176
fs.writeFileSync(
177177
path.join(options.dest, 'pnpm-workspace.yaml'),

0 commit comments

Comments
 (0)