testing-library / dom-testing-library

πŸ™ Simple and complete DOM testing utilities that encourage good testing practices.
https://testing-library.com/dom
MIT License
3.26k stars 467 forks source link

chore: Convert `helpers.js` to TypeScript #1156

Closed eps1lon closed 2 years ago

eps1lon commented 2 years ago

What:

Part of #494

Why:

To use generated TypeScript declaration files eventually

How:

Fairly low level helpers where most types are unknown. Uses any for pragmatic reasons.

Checklist:

codesandbox-ci[bot] commented 2 years ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d9717981cc960b11f802bbe32ee1aa95e5d72dd4:

Sandbox Source
react-testing-library-examples Configuration
codecov[bot] commented 2 years ago

Codecov Report

Merging #1156 (d971798) into main (d50a967) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main     #1156   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           24        24           
  Lines          990       990           
  Branches       322       322           
=========================================
  Hits           990       990           
Flag Coverage Ξ”
node-12 100.00% <100.00%> (ΓΈ)
node-14 100.00% <100.00%> (ΓΈ)
node-16 100.00% <100.00%> (ΓΈ)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Ξ”
src/helpers.ts 100.00% <100.00%> (ΓΈ)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 8.18.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: