7.0.1 (2021-07-13)
- With Jest, pass errors to
done
inobserve
. (8acf083)
7.0.0 (2021-05-08)
- Upgrade to RxJS version 7. (fc98cde)
6.0.1 (2020-06-22)
- Added
rxjs-report-usage
.
6.0.0 (2020-03-26)
- Use strict equality -
toStrictEqual
- by default for Jest. (c12ce82)
5.0.6 (2020-03-26)
- Revert defaulting Jest to
toStrictEqual
(c12ce82), as it was a breaking change. - Allow caller-specified configurations to override default and framework-specific configurations. (e4f5930)
5.0.5 (2020-03-20)
- Fix links to RxJS documentation in
README.md
. (469b780) - Use strict equality -
toStrictEqual
- by default for Jest. (c12ce82)
5.0.4 (2019-12-14)
- The
observe
helper now reports assertions that fail withinfinalize
operators. (66e4093)
5.0.3 (2019-09-14)
- Fix the incorrect patching within
fakeSchedulers
. (e1d9c83)
5.0.2 (2019-04-23)
- Call
circularDeepEqual
instead ofdeepEqual
so that higher-order observables are asserted correctly. (cdb43eb)
5.0.1 (2019-04-01)
- Changed a parameter name from
unsubscription
tosubscription
better reflect that subscription can now be used, too. See this RxJS PR. (ac61708)
5.0.0 (2018-12-16)
- Upgrade to AVA 1.0. In that version, breaking changes were made to AVA's exports. The major version bump for
rxjs-marbles
reflects this; there are no changes torxjs-marbles
functionality in this release. (2dab29b)
4.3.5 (2018-11-12)
- Check for Jasmine's
withContext
at runtime. (24a0715)
4.3.4 (2018-11-11)
- Overwrite the Jasmine and Jest assert options. (24a0715)
4.3.3 (2018-11-11)
- Use Jasmine assertions for the
rxjs-marbles/jasmine
import location. (36771ca)
4.3.2 (2018-11-02)
- Replace
lodash
withfast-equals
to avoidrequire
calls in the ES module distributions. (5909ebc)
4.3.1 (2018-07-30)
- Update
lodash
to avoid security warning from David.
4.3.0 (2018-06-24)
- Add
fakeSchedulers
helpers for all frameworks. (54b86de)
4.2.1 (2018-06-10)
- Support the
asapScheduler
infakeSchedulers
. (e510698)
4.2.0 (2018-06-09)
- Add a
fakeSchedulers
helper for non-marble tests in Jasmine (with Angular) and Jest. (01cfbb3)
4.1.0 (2018-05-19)
- Add an
observe
helper for non-marble tests in Jasmine, Jest and Mocha. (9c38cce)
4.0.2 (2018-05-18)
- Fix an error message. (55b8a92)
4.0.1 (2018-05-18)
- Support explicit durations in the context's
time
method. (4a7ac1d)
4.0.0 (2018-05-17)
-
Default to using
TestScheduler.run
. See the RxJS documentation for an explanation of the new behaviour and of the breaking changes. -
Added a
run
property to the configuration settings - it defaults totrue
. -
The
configure
function now returns an object containing amarbles
function (and acases
function, for the framework-specific imports) that has the specified configuration applied. For example, to continue using the now deprecated behaviour, you would make these changes:- import { cases, marbles } from "rxjs-marbles/mocha"; + import { configure } from "rxjs-marbles/mocha"; + const { cases, marbles } = configure({ run: false });
-
The following context methods and properties can only be used with
configure({ run: false })
:autoFlush
bind
configure
reframe
teardown
3.0.1 (2018-04-26)
- Preserve the
this
context in themarbles
callback. (be32253)
3.0.0 (2018-04-25)
- Upgrade to RxJS version 6.
- Rename the UMD global to
rxjsMarbles
.
2.4.1 (2018-04-11)
- reframe: Fix import case. (651fe31)
2.4.0 (2018-04-11)
- reframe: Add
reframe
to theContext
to allow amount of virtual time per frame/character to be specified. (15ef0e9)
2.3.3 (2018-03-29)
- bind: Ensure teardown always happens for each
bind
. (19caa51)
2.3.2 (2018-03-05)
- marbles: Return whatever the supplied
func
returns. (dde5031)
2.3.1 (2018-02-15)
- matcher: Support
undefined
values instringify
. (f156dab)
2.3.0 (2017-12-21)
- Jest: Use Jest's matcher for the marbles assertion. (3721847)
2.2.0 (2017-11-30)
- bind: Add a
bind
method for binding non-test schedulers to the context'sTestScheduler
. (3a7963c)
2.1.0 (2017-10-08)
- cases: Add support for a
jest-in-case
-stylecases
function. (4d3559e)
2.0.0 (2017-09-11)
- context: Remove the unintended public
testScheduler
property (it was an alias for the publicscheduler
property). (83032e9)
- context: Add support for preventing the automatic flushing of the test scheduler. (5f9ff6a)
- Update dependencies.
1.6.0 (2017-08-08)
- expect: Add support for unsubscription strings. (a9a839d)
1.5.2 (2017-07-29)
- Minor documentation changes.
1.5.1 (2017-07-24)
- Updated interfaces in README.
1.5.0 (2017-07-24)
- string expectations: Expectations can be passed as marble strings or hot/cold observables. (99fc0df)
1.4.0 (2017-07-23)
- AVA and Jest: Add support for AVA and Jest. (abcf069)
1.3.2 (2017-07-23)
- Minor documentation changes.
1.3.1 (2017-07-22)
- Correct missing
plan
call in Tape example. (7400890)
1.3.0 (2017-07-22)
- Tape: Distribute Tape boilerplate in
rxjs-marbles/tape
. (95580f3)
1.2.0 (2017-07-22)
- context: Assert test observable args and subscriptions. (024cc16)
1.1.0 (2017-07-21)
- context: Expose the scheduler. (8774ca1)
1.0.2 (2017-07-21)
- Trivial documentation changes.
1.0.1 (2017-07-20)
- Trivial documentation changes.