Skip to content

Conversation

eddyerburgh
Copy link
Member

  • Replace sinon.stub calls with sandbox.stub

sinon.stub was stopping some components being garbage collected. Using sandbox instead of sinon, and restoring after each test speeds up the test suite by 100%.

@eddyerburgh eddyerburgh merged commit 0c07653 into vuejs:dev Feb 3, 2019
@eddyerburgh eddyerburgh deleted the test-fix-memory-leak branch February 3, 2019 18:21
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