Skip to content

Conversation

benwiley4000
Copy link

Description

The karma tests weren't running because the invocation of enzyme's component.unmount() was triggering a performance.mark() call via React DOM. Turns out this was an issue with Sinon overwriting the Performance prototype and it was patched in version 6. So this PR just upgrades Sinon. I've verified locally the karma tests now pass with no issue.

Pull Request Checklist

  • Added/updated the following to reflect my change:
    • [N/A] Unit tests
    • [N/A] Documentation
  • Tested against the different major versions of React
    • [N/A] v15.5.x
    • [N/A] v16.x.x
  • Unit tests have passed.
  • [Pending] Code linting has passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant