Test fails with node >= 10.16
See original GitHub issueHi,
I had to modify test to pass with node >= 10.16 :
--- a/test.js
+++ b/test.js
@@ -9,7 +9,7 @@
var ws = fs.createWriteStream('/dev/null');
eos(ws, function(err) {
expected--;
- assert(!!err);
+ assert(!err);
assert(this === ws);
if (!expected) process.exit(0);
});
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Tests fail only locally with latest node/npm versions #1774
Some async tests systematically fail after a node/npm upgrade, only on my machine. I tried re-installing node with Homebrew, then removed it ...
Read more >Promise test case failing only for Node 16 - Stack Overflow
We are currently upgrading from Node v12 to Node v16. After the node version update, the following test is failing with this error....
Read more >How To Test a Node.js Module with Mocha and Assert
This tutorial uses Node.js version 10.16.0. To install this on macOS or ... This text will be useful for us to debug why...
Read more >From v27 to v28 - Jest
This guide aims to help refactoring your configuration and tests. ... The supported Node versions are 12.13, 14.15, 16.10 and above.
Read more >node-gyp - npm
node -gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js. It contains a vendored ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://twitter.com/mafintosh/status/1176845777580285952
Perfect, I’ll look into that tmw