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

watch mode runs all the latest code #38

Merged
merged 1 commit into from
Jun 16, 2024
Merged

watch mode runs all the latest code #38

merged 1 commit into from
Jun 16, 2024

Conversation

okwolf
Copy link
Member

@okwolf okwolf commented Jun 16, 2024

ESM doesn't allow hooking into the module cache, so we work around this in the same way that the imports for test files work, by adding a custom resolve that appends a unique query param to all imported filesystem modules

also fixed an issue with the default test pattern regex

closes #33

Copy link

codecov bot commented Jun 16, 2024

Codecov Report

Attention: Patch coverage is 65.38462% with 9 lines in your changes missing coverage. Please review.

Project coverage is 88.19%. Comparing base (1db42b4) to head (7021ca3).

Files Patch % Lines
src/index.js 65.38% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   90.20%   88.19%   -2.02%     
==========================================
  Files           8        8              
  Lines         388      398      +10     
==========================================
+ Hits          350      351       +1     
- Misses         38       47       +9     

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

@okwolf okwolf merged commit c9762fd into master Jun 16, 2024
18 of 22 checks passed
@okwolf okwolf deleted the watch branch June 16, 2024 21:26
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.

watch mode for test imports
1 participant