Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
chore: remove type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
smeijer committed May 1, 2022
1 parent d546240 commit f2df7ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/__tests__/print.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ describe('printResults', () => {

let restore: any;
beforeEach(() => {
// Typings seem incorrect, looks like this was supposed to be fixed
// but hasn't been: https://github.com/kevin940726/console-testing-library/pull/25
const strippingConsole = createConsole(<any>{ stripAnsi: true });
const strippingConsole = createConsole({ stripAnsi: true });
restore = mockConsole(strippingConsole);
});
afterEach(() => {
Expand Down

0 comments on commit f2df7ab

Please sign in to comment.