rxjs-marbles
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -40,3 +40,3 @@ { | ||
"unpkg": "./bundles/rxjs-marbles.umd.js", | ||
"version": "1.0.0" | ||
"version": "1.0.1" | ||
} |
@@ -11,3 +11,3 @@ # rxjs-marbles | ||
`rxjs-marbles` is an RxJS [marble testing](https://github.com/ReactiveX/rxjs/blob/master/doc/writing-marble-tests.md) library for any test framework. | ||
`rxjs-marbles` is an RxJS [marble testing](https://github.com/ReactiveX/rxjs/blob/master/doc/writing-marble-tests.md) library that should be compatible with any test framework. It wraps the RxJS [`TestScheduler`](https://github.com/ReactiveX/rxjs/blob/5.4.2/src/testing/TestScheduler.ts) and provides methods similar to the [basic methods](https://github.com/ReactiveX/rxjs/blob/master/doc/writing-marble-tests.md#basic-methods) used in RxJS's marble tests. | ||
@@ -20,3 +20,3 @@ It can be used with [Jasmine](https://github.com/jasmine/jasmine), [Mocha](https://github.com/mochajs/mocha) or [Tape](https://github.com/substack/tape) in the browser or in Node and it supports CommonJS and ES module bundlers. | ||
There are a number of marble testing packages available, including the Mocha-based implementation in RxJS itself - although much of that implementation is not part of the RxJS distribution - but I wanted something that was simple, didn't involve messing with globals and `beforeEach`/`afterEach` functions and was consistent across test frameworks. | ||
There are a number of marble testing packages available - including the Mocha-based implementation in RxJS itself; although, much of that implementation is not part of the RxJS distribution - but I wanted something that was simple, didn't involve messing with globals and `beforeEach`/`afterEach` functions and was consistent across test frameworks. | ||
@@ -122,3 +122,3 @@ If you are looking for something similar, this might suit. | ||
const destination = source.map((value: number) => value + 1); | ||
const destination = source.map((value) => value + 1); | ||
m.expect(destination).toBeObservable(expected); | ||
@@ -158,3 +158,3 @@ m.expect(source).toHaveSubscriptions(subs); | ||
const destination = source.map((value: number) => value + 1); | ||
const destination = source.map((value) => value + 1); | ||
m.expect(destination).toBeObservable(expected); | ||
@@ -199,3 +199,3 @@ m.expect(source).toHaveSubscriptions(subs); | ||
const destination = source.map((value: number) => value + 1); | ||
const destination = source.map((value) => value + 1); | ||
m.expect(destination).toBeObservable(expected); | ||
@@ -209,5 +209,5 @@ m.expect(source).toHaveSubscriptions(subs); | ||
```ts | ||
const destination = source.map((value: number) => value + 1); | ||
const destination = source.map((value) => value + 1); | ||
m.equal(destination, expected); | ||
m.has(source, subs); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80330