You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those tests will always pass as they're just testing whether the strings "true" and "false" are truthy. I tried to fix the test using t.equal() and splitting stdo into separate lines but for some reason the child process didn't really produce the desired output.
Not sure what's going on and why I couldn't fix the test but I thought I'll file an issue so someone more familiar with the code can take a look at it.
The text was updated successfully, but these errors were encountered:
Basically the problem here is that the intent of the test is to check if node gs-script.js produces the desired values. However, since this is going through the tap bin, the output is not the output of the node process, but the output of the tap process. Since the tap process ignores everything except TAP protocol lines (version, plan, ok, not ok, comments, etc.), the output of the child node process never makes it out.
What needs to be changed is that the gc-script.js needs to be a tap test file itself. Going to attempt to fix.
Those tests will always pass as they're just testing whether the strings
"true"
and"false"
are truthy. I tried to fix the test usingt.equal()
and splittingstdo
into separate lines but for some reason the child process didn't really produce the desired output.Not sure what's going on and why I couldn't fix the test but I thought I'll file an issue so someone more familiar with the code can take a look at it.
The text was updated successfully, but these errors were encountered: