Skip to content

Commit

Permalink
fix(tests): more windows-specific tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati committed May 6, 2023
1 parent 13ff2e3 commit e9e87cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,15 +536,15 @@ test('🧪 run() should correctly switch the working directory if given.', async
`::debug::ℹ️ Verifying CC Reporter GPG signature...`,
`::debug::✅ CC Reported GPG signature verification completed...`,
PLATFORM === 'win32'
? `[command]${EXE_PATH_PREFIX} "${CUSTOM_WORKDIR}\\test.${EXE_EXT} before-build"`
? `[command]${EXE_PATH_PREFIX} ""${CUSTOM_WORKDIR}\\test.${EXE_EXT}" before-build"`
: `[command]${CUSTOM_WORKDIR}/test.${EXE_EXT} before-build`,
`before-build`,
`::debug::✅ CC Reporter before-build checkin completed...`,
`[command]${ECHO_CMD} 'coverage ok'`,
`'coverage ok'`,
`::debug::✅ Coverage run completed...`,
PLATFORM === 'win32'
? `[command]${EXE_PATH_PREFIX} "${CUSTOM_WORKDIR}\\test.${EXE_EXT}" after-build --exit-code 0"`
? `[command]${EXE_PATH_PREFIX} ""${CUSTOM_WORKDIR}\\test.${EXE_EXT}" after-build --exit-code 0"`
: `[command]${CUSTOM_WORKDIR}/test.${EXE_EXT} after-build --exit-code 0`,
`after-build --exit-code 0`,
`::debug::✅ CC Reporter after-build checkin completed!`,
Expand Down

0 comments on commit e9e87cc

Please sign in to comment.