You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 31, 2024. It is now read-only.
Note: All assertions return Promise values, so you will want to return expect(/*...*/) (using Mocha) or otherwise use async functions.
<Observable> to complete - Asserts an Observable completes. Given the halting problem, this can only fail if the Observable emits an error or your test framework times out.
<Observable> [not] to emit (value|values) <any+> - Asserts an Observable emits one or more values using object equivalence.
<Observable> [not] to emit times <count> - Asserts an Observable emits count times.
<Observable> [not] to emit (once|twice|thrice) - Sugar for previous assertion.
<Observable> [not] to emit error <any?> - Asserts an Observable emits an "error"; uses Unexpected's default error matching.
<Observable> to emit error [exhaustively] satisfying <any> - Asserts an Observable emits an "error" using "to satisfy" semantics.
<Observable> [not] to complete with value <any+> - Assert when an Observable completes, it has emitted one or more matching values.
<Observable> [not] to complete with value [exhaustively] satisfying <any+> - Same as previous, except using "to satisfy" semantics.
<Observable> when complete <assertion> - Akin to Unexpected's <Promise> when fulfilled <assertion> syntax.
Development
Execute npm run build to bundle the project for distribution.
Notes
<Observable> [not] to complete with value [exhaustively] satisfying <any+> has some significant performance issues.