-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
open() should not be able to make HTTP requests fix #963 #965
Conversation
Codecov Report
@@ Coverage Diff @@
## master #965 +/- ##
=======================================
Coverage 72.08% 72.08%
=======================================
Files 131 131
Lines 9601 9601
=======================================
Hits 6921 6921
Misses 2267 2267
Partials 413 413
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #965 +/- ##
=========================================
+ Coverage 72.08% 72.1% +0.01%
=========================================
Files 131 131
Lines 9602 9615 +13
=========================================
+ Hits 6922 6933 +11
- Misses 2267 2268 +1
- Partials 413 414 +1
Continue to review full report at Codecov.
|
006bf3d
to
a1e35ae
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.
Mostly LGTM now, besides that comment for checking the filename
parameter for sanity 😄 . I checked, and nodejs also opens relative file paths based on the current working directory: https://nodejs.org/api/fs.html#fs_file_paths
Though they have a big UX advantage in the __dirname
and __filename
constants. We might want to introduce the same constants in k6 as well, though in a separate issue/PR. @robingustafsson, thoughts?
No description provided.