Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tests): Use proxies to collect events #920

Merged
merged 2 commits into from
Aug 24, 2021
Merged

Conversation

fb55
Copy link
Owner

@fb55 fb55 commented Aug 23, 2021

Removes the need for a lot of repetitive code.

Also refactors some parser tests to use jest.fn(), and simplifies tokenizer tests.

BREAKING: Removes the (not documented) CollectingHandler and MultiplexHandler classes.

Removes the need for a lot of repetitive code.

Also refactors some parser tests to use `jest.fn()`, and simplifies tokenizer tests.

__BREAKING:__ Removes the `CollectingHandler` and `MultiplexHandler` classes.
@fb55 fb55 enabled auto-merge (squash) August 23, 2021 15:58
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1160753477

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.4%) to 98.581%

Files with Coverage Reduction New Missed Lines %
src/fixtures/test-helper.ts 1 97.01%
Totals Coverage Status
Change from base Build 1158875845: 0.4%
Covered Lines: 903
Relevant Lines: 916

💛 - Coveralls

@fb55 fb55 merged commit a2b0bf3 into master Aug 24, 2021
@fb55 fb55 deleted the chore/test-refactor branch August 24, 2021 00:40
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.

2 participants