@jeetiss/callbag-testing-utils

0.0.2ย โ€ขย Publicย โ€ขย Published

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-|'),
  ))

Readme

Keywords

Package Sidebar

Install

npm i @jeetiss/callbag-testing-utils

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

8.7 kB

Total Files

4

Last publish

Collaborators

  • jeetiss