Can be useful for enforcing a consistent coding style when using node:assert
.
When assert.ok()
should be preferred:
assert(condition);
When assert()
should be preferred:
assert.ok(condition);
Generally just a bad idea (but this does actually work):
assert.ok.ok.ok.ok.ok.ok.ok.ok.ok.ok.ok.ok(condition);
When assert.ok()
should be preferred:
assert.ok(condition);
When assert()
should be preferred:
assert(condition);
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too