test: refactor async-hooks/test-httparser tests
My first contribution to open source.
By advice from Rich Trott I have modified both the test-httparser.request.js changing the string literal on line 22 and then also the file test-http.response.js removing unused arguments from the method. Pull request contains two commits.
Screenshot is attached of the tests that have all been passed.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test