Skip to content

Commit

Permalink
Add timeout to prevent notifier from locking CPU on MacOS
Browse files Browse the repository at this point in the history
See discussion jestjs#8830
  • Loading branch information
jackkinsella authored Aug 15, 2019
1 parent 3ab2fc1 commit 9c74eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/jest-reporters/src/notify_reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export default class NotifyReporter extends BaseReporter {
closeLabel: 'Close',
icon,
message,
timeout: 10,
title,
},
(err, _, metadata) => {
Expand Down

0 comments on commit 9c74eb4

Please sign in to comment.