0.0.2 • Published 6 years ago

@jeetiss/callbag-testing-utils v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

callbag-testing-utils

Callbag utils for testing deferent operators.

install

npm i -D @jeetiss/callbag-testing-utils

Example

import map from 'callbag-map'
import pipe from 'callbag-pipe'

import { listenable, willBe } from '../src'

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