Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Unmock console.error in a finally block #13

Merged
merged 1 commit into from
Nov 30, 2017
Merged

Conversation

aweary
Copy link
Contributor

@aweary aweary commented Nov 29, 2017

Ensures that console.error is always unmocked even if the test fails.

@aweary aweary changed the title Unmock console.error in in finally block Unmock console.error in a finally block Nov 29, 2017
Copy link
Member

@ryan-roemer ryan-roemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ryan-roemer
Copy link
Member

A test is failing however...

@aweary
Copy link
Contributor Author

aweary commented Nov 29, 2017

Woops, forgot to undo a little typo I made to test that this works when it fails 😄

@aweary aweary merged commit 01e684f into master Nov 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants