<commit_before>[![Build Status](https://circleci.com/gh/kwonoj/rxjs-testscheduler-compat/tree/master.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/kwonoj/rxjs-testscheduler-compat/tree/master)
[![Build Status](https://snap-ci.com/kwonoj/rxjs-testscheduler-compat/branch/master/build_image)](https://snap-ci.com/kwonoj/rxjs-testscheduler-compat/branch/master)
[![codecov](https://codecov.io/gh/kwonoj/rxjs-testscheduler-compat/branch/master/graph/badge.svg)](https://codecov.io/gh/kwonoj/rxjs-testscheduler-compat)

# RxJS-TestScheduler-Compat

`rxjs-testscheduler-compat` provides RxJS v4's [test scheduler interface](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/testing/testscheduler.md) to v5 version of [RxJS](https://github.com/ReactiveX/rxjs) allows to migrate existing test cases with minimum effort as well as writing new test cases for certain cases.

# Install

This has a peer dependencies of `rxjs@5.*.*`, which will have to be installed as well

```sh
npm install @kwonoj/rxjs-testscheduler-compat
```

# Usage

You can import `TestScheduler` and other helpers to create test cases.

```js<commit_msg>docs(README): add npm package version badge<commit_after>[![Build Status](https://circleci.com/gh/kwonoj/rxjs-testscheduler-compat/tree/master.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/kwonoj/rxjs-testscheduler-compat/tree/master)
[![Build Status](https://snap-ci.com/kwonoj/rxjs-testscheduler-compat/branch/master/build_image)](https://snap-ci.com/kwonoj/rxjs-testscheduler-compat/branch/master)
[![codecov](https://codecov.io/gh/kwonoj/rxjs-testscheduler-compat/branch/master/graph/badge.svg)](https://codecov.io/gh/kwonoj/rxjs-testscheduler-compat)
[![npm (scoped)](https://img.shields.io/npm/v/@kwonoj/rxjs-testscheduler-compat.svg?maxAge=2592000)](https://www.npmjs.com/package/@kwonoj/rxjs-testscheduler-compat)

# RxJS-TestScheduler-Compat

`rxjs-testscheduler-compat` provides RxJS v4's [test scheduler interface](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/testing/testscheduler.md) to v5 version of [RxJS](https://github.com/ReactiveX/rxjs) allows to migrate existing test cases with minimum effort as well as writing new test cases for certain cases.

# Install

This has a peer dependencies of `rxjs@5.*.*`, which will have to be installed as well

```sh
npm install @kwonoj/rxjs-testscheduler-compat
```

# Usage

You can import `TestScheduler` and other helpers to create test cases.

```js
{'fraction_non_alphanumeric': 0.1507177033492823, 'fraction_numerical': 0.00518341307814992, 'mean_word_length': 5.637566137566138, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '994714', 'n_tokens_mistral': 870, 'n_tokens_neox': 843, 'n_words': 146}