Closed m-bock closed 3 years ago
It should be:
describe('greet', () => { it('greets anything', () => { fc.assert( fc.property(fc.string(), (name) => { expect(myLib.greet(name)).toBe(`Hello, ${name}!`) }) ) }) })
Or maybe even use: https://github.com/dubzzz/jest-fast-check ?
It should be:
Or maybe even use: https://github.com/dubzzz/jest-fast-check ?