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

monorepo of power-assert runtime side

Results 10 power-assert-runtime issues
Sort by recently updated
recently updated
newest added

Thanks for making power-assert possible! I'm working on a project that uses power-assert together with karma, mocha, rollup and coffeescript. To make it all work together, I needed to make...

Experimental implementation of power-assert v2 runtime side.

This dependency is unnecessary as all functions are available natively in supported versions of node.

## Description ``` js const obj = {a: 1} t.true(obj == {...obj}) ``` throws the following exception ``` SyntaxError: Unexpected token (1:16) at Parser.pp.raise (/Users/nuno/cp/j2/node_modules/power-assert-formatter/node_modules/acorn/dist/acorn.js:943:13) at Parser.pp.unexpected (/Users/nuno/cp/j2/node_modules/power-assert-formatter/node_modules/acorn/dist/acorn.js:1503:8) at Parser.pp.parseIdent...

- [ ] Interop with String and Object diffs - [x] Avoid explosion on parse error (#15) - [ ] Transpile-time customization - [ ] Move `empower-core` to this monorepo?...

- [Better string and object diffs · Issue #406 · sindresorhus/ava](https://github.com/sindresorhus/ava/issues/406) - [Objects are difficult to differentiate. · Issue #1 · twada/power-assert-renderers](https://github.com/twada/power-assert-renderers/issues/1) - [String comparing · Issue #31 · power-assert-js/power-assert](https://github.com/power-assert-js/power-assert/issues/31)

enhancement

In AVA, I get the following output: ``` t.is(fn(), 'bar') | "foo" ``` Would be nice if `"foo"` could match the single-quote of `'bar'`.

Here is the output from one assertion: ``` t.is(fn('foo\nbar\nbaz\nquz', { startPosition, endPosition, move:1 }), expected) | | "bar\nfoo\nbaz\nquz" "bar\nfoo\nbaz\nquza" Test.alternateOptions (test.js:149:4) ``` In this case: `startPostion` and `endPosition` should be...

- [SuccinctRenderer could be better. · Issue #3 · twada/power-assert-renderers](https://github.com/twada/power-assert-renderers/issues/3) - [Best practice assertions for string inclusion and dynamic regex · Issue #381 · sindresorhus/ava](https://github.com/sindresorhus/ava/issues/381)