Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit e44e0a3

Browse files
committed
fix(tests): more windows-specific test fixes
1 parent 79ab2b7 commit e44e0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/main.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ test('🧪 run() should throw an error if the before-build step throws an error.
763763
PLATFORM === 'win32'
764764
? `[command]${EXE_PATH_PREFIX} "${DEFAULT_WORKDIR}\\test.${EXE_EXT} before-build"`
765765
: `[command]${DEFAULT_WORKDIR}/test.${EXE_EXT} before-build`,
766-
`::error::The process '${DEFAULT_WORKDIR}/test.${EXE_EXT}' failed with exit code 69`,
766+
PLATFORM === 'win32' ? `::error::The process '${DEFAULT_WORKDIR}\\test.${EXE_EXT}' failed with exit code 69` : `::error::The process '${DEFAULT_WORKDIR}/test.${EXE_EXT}' failed with exit code 69`,
767767
`::error::🚨 CC Reporter before-build checkin failed!`,
768768
``,
769769
].join(EOL),

0 commit comments

Comments
 (0)