power-assert
power-assert copied to clipboard
Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.
I think it is worthy to be added in the docs. 😄
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot...
Looks like now assertion APIs of Node.js such as `assert.strictEqual` and `assert.deepStrictEqual` can compare NaN but power-assert is not. ```js // Node.js: undefined // power-assert (on browsers): Exception assert.strictEqual(NaN, NaN);...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...
IDE hangs because of too long output if debug info has large info such as a string of length over 1,000,000.
Can you support? ``` echo 'try{}catch{}' | espower SyntaxError: 1: try{}catch{} ^ ```
I am trying to use official demo with `power-assert`. After Mocha run the unit test, it output `func.apply(thisObj, args)` insted of the descriptive assertion messages. spec.js ```js const assert =...
cause ci [build](https://travis-ci.org/tjx666/fe-algorithm) failed: 
What would be tests needed to support [BigNumber](https://github.com/MikeMcl/bignumber.js/) comparison in power-assert? BigNumber is userful in cryptography, finance and blockchain. Currently comparing BigNumbers works if you stringify them first ```javascript assert(supply.toString()...