Unverified Commit 165b2a09 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

[segment explorer] windows compatibility (#82147)

Let segment explorer tests running on windows CI to ensure it works with windows.

Closes NEXT-4633
parent 5321ba84
...@@ -654,7 +654,8 @@ jobs: ...@@ -654,7 +654,8 @@ jobs:
node run-tests.js \ node run-tests.js \
test/e2e/app-dir/app/index.test.ts \ test/e2e/app-dir/app/index.test.ts \
test/e2e/app-dir/app-edge/app-edge.test.ts test/e2e/app-dir/app-edge/app-edge.test.ts \
test/development/app-dir/segment-explorer/segment-explorer.test.ts
stepName: 'test-dev-windows' stepName: 'test-dev-windows'
runs_on_labels: '["windows","self-hosted","x64"]' runs_on_labels: '["windows","self-hosted","x64"]'
buildNativeTarget: 'x86_64-pc-windows-msvc' buildNativeTarget: 'x86_64-pc-windows-msvc'
......
...@@ -34,7 +34,7 @@ export function normalizeConventionFilePath( ...@@ -34,7 +34,7 @@ export function normalizeConventionFilePath(
relativePath = `${BUILTIN_PREFIX}${relativePath}` relativePath = `${BUILTIN_PREFIX}${relativePath}`
} }
return relativePath return relativePath.replace(/\\/g, '/')
} }
// if a filepath is a builtin file. e.g. // if a filepath is a builtin file. e.g.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment