Open rastorc3v opened 1 year 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')
.
var
replaced withconst
anonymous functions replaced with arrow functions
PI value replaced with
Math.PI
constantequal
replaced withstrictEqual
since the first one was deprecated[x] tests
[x] linter