Skip to content

Commit f77fd60

Browse files
committed
fix: always use posix join
1 parent 7bff129 commit f77fd60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration.test.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import assert from 'node:assert'
2-
import { join } from 'node:path'
2+
import { join as posixJoin } from 'node:path/posix'
33
import { test } from 'node:test'
44
import { fileURLToPath } from 'node:url'
55

@@ -31,7 +31,7 @@ test('application builder uses /browser publish dir', async () => {
3131

3232
assert(
3333
logs.stderr.includes(
34-
`Publish directory is configured incorrectly. Updating to "${join('dist', 'test-browser-dir', 'browser')}".`,
34+
`Publish directory is configured incorrectly. Updating to "${posixJoin('dist', 'test-browser-dir', 'browser')}".`,
3535
),
3636
)
3737

@@ -47,7 +47,7 @@ test('browser builder uses different publish dir', async () => {
4747

4848
assert(
4949
logs.stderr.includes(
50-
`Publish directory is configured incorrectly. Updating to "${join('dist', 'test-browser-dir')}".`,
50+
`Publish directory is configured incorrectly. Updating to "${posixJoin('dist', 'test-browser-dir')}".`,
5151
),
5252
)
5353

0 commit comments

Comments
 (0)