Skip to content

Commit f35d72d

Browse files
committed
fix: not all tests use posix join!
1 parent f77fd60 commit f35d72d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration.test.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import assert from 'node:assert'
2+
import { join } from 'node:path'
23
import { join as posixJoin } from 'node:path/posix'
34
import { test } from 'node:test'
45
import { fileURLToPath } from 'node:url'
@@ -31,7 +32,7 @@ test('application builder uses /browser publish dir', async () => {
3132

3233
assert(
3334
logs.stderr.includes(
34-
`Publish directory is configured incorrectly. Updating to "${posixJoin('dist', 'test-browser-dir', 'browser')}".`,
35+
`Publish directory is configured incorrectly. Updating to "${join('dist', 'test-browser-dir', 'browser')}".`,
3536
),
3637
)
3738

0 commit comments

Comments
 (0)