question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test fails with node >= 10.16

See original GitHub issue

Hi,

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:closed
  • Created 4 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mafintoshcommented, Sep 24, 2019

Perfect, I’ll look into that tmw

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found