power-assert icon indicating copy to clipboard operation
power-assert copied to clipboard

Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API.

Results 44 power-assert issues
Sort by recently updated
recently updated
newest added

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 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=acorn&package-manager=npm_and_yarn&previous-version=5.7.3&new-version=5.7.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot...

dependencies

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 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](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...

dependencies

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...

dependencies

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: ![screenshot_2020-03-10_15-44-18](https://user-images.githubusercontent.com/41773861/76290334-0559e900-62e6-11ea-9551-bb3008211223.png)

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()...