Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rxjs-marbles

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rxjs-marbles - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json

@@ -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);
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc