Skip to content

Commit

Permalink
fix: fix up last of the TS errors from tap API change
Browse files Browse the repository at this point in the history
  • Loading branch information
paambaati committed Jun 6, 2024
1 parent 2c56dd7 commit d99b041
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ t.test(
stdHook.unhook();
} catch (err) {
stdHook.unhook();
t.fail(err);
t.fail({ error: err });
} finally {
for (const artifact of FILE_ARTIFACTS) {
try {
Expand Down
10 changes: 5 additions & 5 deletions test/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ t.test('🧪 run() should run the CC reporter (happy path).', async (t) => {
stdHook.unhook();
} catch (err) {
stdHook.unhook();
t.fail(err);
t.fail({ error: err });
} finally {
nock.cleanAll();
}
Expand Down Expand Up @@ -250,7 +250,7 @@ t.test(
stdHook.unhook();
} catch (err) {
stdHook.unhook();
t.fail(err);
t.fail({ error: err });
} finally {
nock.cleanAll();
}
Expand Down Expand Up @@ -315,7 +315,7 @@ t.test(
stdHook.unhook();
} catch (err) {
stdHook.unhook();
t.fail(err);
t.fail({ error: err });
} finally {
nock.cleanAll();
}
Expand Down Expand Up @@ -439,7 +439,7 @@ t.test(
stdHook.unhook();
} catch (err) {
stdHook.unhook();
t.fail(err);
t.fail({ error: err });
} finally {
nock.cleanAll();
}
Expand Down Expand Up @@ -542,7 +542,7 @@ t.test(
stdHook.unhook();
} catch (err) {
stdHook.unhook();
t.fail(err);
t.fail({ error: err });
} finally {
nock.cleanAll();
}
Expand Down

0 comments on commit d99b041

Please sign in to comment.