Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeetiss/callbag-marble-tester


https://github.com/jeetiss/callbag-marble-tester

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# callbag-marble-tester

Callbag utils for testing different operators.

## install

```
npm i -D @jeetiss/callbag-marble-tester
```

## Example

```js
import map from 'callbag-map'
import pipe from 'callbag-pipe'

import { listenable, willBe } from '@jeetiss/callbag-marble-tester'

test('test map operator', () =>
pipe(
listenable('--a--b--c-|'),
map(value => value.toUpperCase()),
willBe('--A--B--C-|'),
))
```