alexei / sprintf.js

sprintf.js is a complete open source JavaScript sprintf implementation
BSD 3-Clause "New" or "Revised" License
2.11k stars 290 forks source link

Tests code improvements #219

Open rastorc3v opened 1 year ago

rastorc3v commented 1 year ago
msimerson commented 5 months ago

equal replaced with strictEqual since the first one was deprecated

The better way to do this is by loading assert like this: const assert = require('assert/strict'), or if we're willing to drop support for older versions of node: const assert = require('node:assert/strict').