Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed Aug 12, 2023
1 parent f3f3a5d commit 19f8ab6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/types/pino.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ const customBaseLogger: CustomBaseLogger = {

// custom levels
const log3 = pino({ customLevels: { myLevel: 100 } })
// @ts-expect-error We intentionally cause a run-time error here.
expectError(log3.log())
log3.level = 'myLevel'
log3.myLevel('')
Expand Down

0 comments on commit 19f8ab6

Please sign in to comment.