-
Notifications
You must be signed in to change notification settings - Fork 91
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
Improve code quality by increasing code coverage: lib/source-map-from-file.js #453
Improve code quality by increasing code coverage: lib/source-map-from-file.js #453
Conversation
78378b4
to
67ad118
Compare
67ad118
to
6ae87f2
Compare
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.
This is looking good to me, the one thing that seems a bit weird is the if (nodeMajorVersion === 12)
because I don't think the logic that skips lines is smart enough to take if statements into account.
6ae87f2
to
6adda9f
Compare
6adda9f
to
433aefa
Compare
This looks ready to land to me, apologies for ignoring for so long. Mind rebasing? |
df725fa
to
708e64a
Compare
@bcoe ready to go! |
708e64a
to
95194b7
Compare
Completed another rebase after release. |
95194b7
to
e967873
Compare
Everything looks good except the tests on node 14. The CI process fails with the following error:
If I run the same command locally on Node 14, I get the following:
I don't think this is anything on my end. @bcoe any ideas? |
e967873
to
7118a2e
Compare
7118a2e
to
c928670
Compare
ff5d39b
to
60c7925
Compare
60c7925
to
856991a
Compare
I am going to pull this back into draft mode. I noticed another module for spies that looks much easier to implement. |
856991a
to
ff5d39b
Compare
…-file.js (bcoe#453) refactor: lib/source-map-from-file.js to improve code coverage refactor: exposed source-map-from-file.js function to write test cases test: Added two test case cases to cover error handling for improper formatting
ff5d39b
to
8e093d8
Compare
…-file.js (bcoe#453) refactor: lib/source-map-from-file.js to improve code coverage refactor: exposed source-map-from-file.js function to write test cases test: Added two test case cases to cover error handling for improper formatting
8e093d8
to
ac37487
Compare
…-file.js (bcoe#453) refactor: lib/source-map-from-file.js to improve code coverage refactor: exposed source-map-from-file.js function to write test cases test: Added two test case cases to cover error handling for improper formatting
ac37487
to
fd55f06
Compare
…-file.js (bcoe#453) refactor: lib/source-map-from-file.js to improve code coverage refactor: exposed source-map-from-file.js function to write test cases test: Added two test case cases to cover error handling for improper formatting
…-file.js (bcoe#453) refactor: lib/source-map-from-file.js to improve code coverage refactor: exposed source-map-from-file.js function to write test cases test: Added two test case cases to cover error handling for improper formatting
Pull Request 453
commit ff5d39b73f2265105a8ecf1cc4b5fd9f47a570e2
Author: The Nasty [email protected]
Date: Tue Jan 16 14:00:38 2024 -0500
Following the Contributions Recommendations here.
File Code Coverage Matrix Report
Unit Tests Results
Node Version Testing Matrix
References #448