Skip to content

Commit

Permalink
fixup! expect type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Feb 29, 2024
1 parent f1b5d40 commit 7f8b02c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ses-ava/src/ses-ava-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,12 @@ const getLogger = (tlogger, loggerOrOptions) => {
if (tlog) {
const baseConsole = harden({
error: tlogger,
group: _label => {},
groupEnd: () => {},
});
// @ts-ignore Not a full VirtualConsole by a longshot
const causalConsole = makeCausalConsole(baseConsole, loggedErrorHandler);
// @ts-ignore causalConsole cannot be undefined here.
return causalConsole.error;
} else {
// Without causal console wrapper
Expand Down

0 comments on commit 7f8b02c

Please sign in to comment.