-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
test_runner: fix test enqueue when test file has syntax error #61573
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
base: main
Are you sure you want to change the base?
Conversation
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #61573 +/- ##
==========================================
+ Coverage 88.52% 89.75% +1.23%
==========================================
Files 704 673 -31
Lines 208863 203843 -5020
Branches 40335 39179 -1156
==========================================
- Hits 184905 182969 -1936
+ Misses 15928 13196 -2732
+ Partials 8030 7678 -352
🚀 New features to boost your workflow:
|
| const { spawnSync } = require('node:child_process'); | ||
| const fixtures = require('../common/fixtures'); | ||
|
|
||
| const testFile = fixtures.path('test-runner', 'syntax-error-test.mjs'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the original issue states "test:enqueue event has no file field", should we cover it with a test?
22983f0 to
1e6e3dd
Compare
Fixes #61565
Add location to the test placeholder