Open Lucas-C opened 2 years ago
Using assert.notStrictEqual(..., -1) instead of assert.ok(... !== -1) and displaying stderr in case of assertion failure.
assert.notStrictEqual(..., -1)
assert.ok(... !== -1)
stderr
This commit was initially made as part of https://github.com/dougwilson/nodejs-depd/pull/48, but it could be adopted independently
The pipeline is ✔️: https://github.com/voyages-sncf-technologies/nodejs-depd/actions/runs/2004525534
Using
assert.notStrictEqual(..., -1)
instead ofassert.ok(... !== -1)
and displayingstderr
in case of assertion failure.This commit was initially made as part of https://github.com/dougwilson/nodejs-depd/pull/48, but it could be adopted independently
The pipeline is ✔️: https://github.com/voyages-sncf-technologies/nodejs-depd/actions/runs/2004525534