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

feat: support screen export #12

Merged
merged 1 commit into from
Jun 2, 2021
Merged

feat: support screen export #12

merged 1 commit into from
Jun 2, 2021

Conversation

DylanPiercey
Copy link
Collaborator

Description

Features:

  • Exposes top level screen api that works for both client and server.
  • Exposes component level cleanup method.
  • debug api now in line with @testing-library/dom.
  • cleanup afterEach now automatically enabled (can use dont-cleanup-after-each import to disable).
  • now exposes esm and commonjs modules.

Breaking Changes:

  • drop support for cleanup-after-each import, now this is the default
  • drop node 12 support

Misc:

  • Updates to codebase to use our modern tooling setup.

Checklist:

  • I have updated/added documentation affected by my changes.
  • I have added tests to cover my changes.

@codecov
Copy link

codecov bot commented Jun 2, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@07c6338). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage        ?   95.77%           
=======================================
  Files           ?        3           
  Lines           ?      142           
  Branches        ?       35           
=======================================
  Hits            ?      136           
  Misses          ?        6           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07c6338...5655653. Read the comment docs.

BREAKING CHANGE: drop support for `cleanup-after-each` import, now this is the default
@DylanPiercey DylanPiercey merged commit fe01359 into main Jun 2, 2021
@DylanPiercey DylanPiercey deleted the modernize branch June 2, 2021 19:13
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