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

Commit

Permalink
fix jest config; ensure string is string
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatterson27 committed Jul 26, 2022
1 parent a19b096 commit 665d48f
Show file tree
Hide file tree
Showing 2 changed files with 8,179 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ process.stdout.write = (str, encoding, cb) => {

const processStderrWrite = process.stderr.write.bind(process.stderr)
process.stderr.write = (str, encoding, cb) => {
if (str.match(/Hello/)) return false
if (str.toString().match(/Hello/)) return false
processStderrWrite(str, encoding, cb)
}

Expand Down
Loading

0 comments on commit 665d48f

Please sign in to comment.