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

Commit 8d2edab

Browse files
committed
fix(tests): more windows-specific test fixes
1 parent 31699e0 commit 8d2edab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/main.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,13 +401,13 @@ test('🧪 run() should convert patterns to locations.', async (t) => {
401401
`::debug::✅ CC Reporter before-build checkin completed...`,
402402
`ℹ️ 'coverageCommand' not set, so skipping building coverage report!`,
403403
`::debug::Parsing 2 coverage location(s) — ${DEFAULT_WORKDIR}/file-a.lcov:lcov,${DEFAULT_WORKDIR}/file-b.lcov:lcov (object)`,
404-
`[command]${DEFAULT_WORKDIR}/test.sh format-coverage ${DEFAULT_WORKDIR}/file-a.lcov -t lcov -o codeclimate.0.json`,
404+
`[command]${DEFAULT_WORKDIR}/test.${EXE_EXT} format-coverage ${DEFAULT_WORKDIR}/file-a.lcov -t lcov -o codeclimate.0.json`,
405405
`format-coverage ${DEFAULT_WORKDIR}/file-a.lcov -t lcov -o codeclimate.0.json`,
406-
`[command]${DEFAULT_WORKDIR}/test.sh format-coverage ${DEFAULT_WORKDIR}/file-b.lcov -t lcov -o codeclimate.1.json`,
406+
`[command]${DEFAULT_WORKDIR}/test.${EXE_EXT} format-coverage ${DEFAULT_WORKDIR}/file-b.lcov -t lcov -o codeclimate.1.json`,
407407
`format-coverage ${DEFAULT_WORKDIR}/file-b.lcov -t lcov -o codeclimate.1.json`,
408-
`[command]${DEFAULT_WORKDIR}/test.sh sum-coverage codeclimate.0.json codeclimate.1.json -p 2 -o coverage.total.json`,
408+
`[command]${DEFAULT_WORKDIR}/test.${EXE_EXT} sum-coverage codeclimate.0.json codeclimate.1.json -p 2 -o coverage.total.json`,
409409
`sum-coverage codeclimate.0.json codeclimate.1.json -p 2 -o coverage.total.json`,
410-
`[command]${DEFAULT_WORKDIR}/test.sh upload-coverage -i coverage.total.json`,
410+
`[command]${DEFAULT_WORKDIR}/test.${EXE_EXT} upload-coverage -i coverage.total.json`,
411411
`upload-coverage -i coverage.total.json`,
412412
`::debug::✅ CC Reporter upload coverage completed!`,
413413
``,
@@ -589,7 +589,7 @@ test('🧪 run() should throw an error if the checksum verification fails.', asy
589589
test('🧪 run() should throw an error if the GPG signature verification fails.', async (t) => {
590590
t.plan(1);
591591
t.teardown(() => sandbox.restore());
592-
const filePath = './test.sh';
592+
const filePath = `./test.${EXE_EXT}`;
593593
nock('http://localhost.test')
594594
.get('/dummy-cc-reporter')
595595
.reply(200, async () => {

0 commit comments

Comments
 (0)