4.0.0 • Published 6 years ago

cyclejs-test-helpers v4.0.0

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

cyclejs-test-helpers

A small collection of useful utilities

Content

diagramArbitrary

A jsverify Arbitrary, that can be used to generate random stream diagrams. Use @cycle/time to get Streams.

Usage:

const property = forall(diagramArbitrary, diagram => {
    const Time = mockTimeSource();
    const click$ = Time.diagram(diagram);

    //... Rest of the test
});
4.0.0

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago