-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Ava showing random line as error #1604
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
Labels
Comments
The snippet does correspond to the stack trace: Though the line there seems wrong. Have you tried without |
Hadn't thought of running it without nyc. Should I report this to nyc's repo?
|
Thanks for reporting this upstream, @OmgImAlexis. |
Looks like versions of node above v14 can use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using ava on my test file the error shown is from a completely different line.
Test Source
Error Message & Stack Trace
Config
Copy the relevant section from
package.json
:N/A
Command-Line Arguments
Copy your npm build scripts or the
ava
command used:Relevant Links
This is
lib/definition.js
.Environment
Tell us which operating system you are using, as well as which versions of Node.js, npm, and AVA. Run the following to get it quickly:
The text was updated successfully, but these errors were encountered: