Skip to content

Create "fuzz" helper for kitimat-jest #2

@garbles

Description

@garbles

This function would be the "snapshot testing" of property-based tests - don't want to use much effort and just have something that does a general sanity check that the function won't throw.

import { integer } from 'kitimat-jest';

fuzz('my func doesn\'t throw', [integer()], int => myFunc(int));

Maybe this should also try to throw garbage and see that there is an exception if the wrong type is passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions