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

Move test folder to src #1661

Merged
merged 1 commit into from
Nov 30, 2024
Merged

Move test folder to src #1661

merged 1 commit into from
Nov 30, 2024

Conversation

notaphplover
Copy link
Member

Description

Move tests to the src folder

Motivation and Context

Moving tests to the src folder allow us to simplify our config. Same typescript config can now be used to compile tests, wich could now be run without relying on ts-node in the CI environment or could be processed to run them in a real ESM context.

How Has This Been Tested?

  • Tests run successfully.

Types of changes

  • Updated docs / Refactor code / Added a tests case (non-breaking change)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the changelog.

Copy link

codecov bot commented Nov 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.09%. Comparing base (66ebe9a) to head (8947e3a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1661      +/-   ##
==========================================
- Coverage   99.61%   99.09%   -0.53%     
==========================================
  Files          50       51       +1     
  Lines        1307     1327      +20     
  Branches      180      180              
==========================================
+ Hits         1302     1315      +13     
- Misses          4       11       +7     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@notaphplover notaphplover merged commit 756d338 into master Nov 30, 2024
5 of 6 checks passed
@notaphplover notaphplover deleted the test/move-tests-to-src-folder branch November 30, 2024 14:03
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