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

Migrate tests to testing-library #3027

Merged
merged 13 commits into from
Feb 11, 2021
Merged

Migrate tests to testing-library #3027

merged 13 commits into from
Feb 11, 2021

Conversation

darthtrevino
Copy link
Member

The testing patterns that we can utilize with testing-library are a big improvement on the tests we have in-place.

@codecov
Copy link

codecov bot commented Feb 11, 2021

Codecov Report

Merging #3027 (93bf36f) into main (7a89d46) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3027   +/-   ##
=======================================
  Coverage   52.09%   52.09%           
=======================================
  Files          79       79           
  Lines        2290     2290           
  Branches      500      500           
=======================================
  Hits         1193     1193           
  Misses       1097     1097           
Impacted Files Coverage Δ
packages/backend-html5/src/HTML5BackendImpl.ts 20.52% <0.00%> (ø)

@darthtrevino darthtrevino changed the title Migrate to using testing-library Migrate tests to testing-library Feb 11, 2021
@darthtrevino darthtrevino merged commit 75b37f9 into main Feb 11, 2021
@darthtrevino darthtrevino deleted the feat/improve_testing branch February 11, 2021 19:22
darthtrevino added a commit that referenced this pull request Feb 3, 2022
* test: move Box tests to testing-library

* feat: move single-target integration tests to testing-library

* chore: cut semver doc

* feat: update wrapInTestContext to allow for usage with other Backends

* refactor: use the act function provided by testing-library

* refactor: use wrapWithBackend in box.spec

* refactor: update tests to use updated wrapper functions

* refactor: move drag sequence simulations into separate module

* refactor: use wrapWithBackend in tests

* feat: add testing-library drag/drop sequences to utils

* test: migrate multi-target integ test in decorators

* test: remove enzyme

* fix: add @types/node to examples-decorators
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