🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

cyclejs-test-helpers

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cyclejs-test-helpers

A small collection of useful utilities

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
1
Created
Source

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
});

Keywords

cyclejs

FAQs

Package last updated on 22 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts