Fable.Jester [](https://www.nuget.org/packages/Fable.Jester) [](https://www.nuget.org/packages/Fable.ReactTestingLibrary) [](https://www.nuget.org/packages/Fable.FastCheck) [](https://www.nuget.org/packages/Fable.FastCheck.Jest)

December 11, 2020 ยท View on GitHub

Fable bindings for jest and friends for delightful Fable testing:

A quick look:

Jest.describe("my tests", fun () ->
    Jest.test("water is wet", fun () ->
        Jest.expect("test").toBe("test")
        Jest.expect("test").not.toBe("somethingElse")
        Jest.expect("hi").toHaveLength(2)
        Jest.expect("hi").not.toHaveLength(3)
    )
    Jest.test.prop("Is positive", Arbitrary.ConstrainedDefaults.integer(1,100), fun i ->
        Jest.expect(i).toBeGreaterThan(0)
    )
)

Full documentation can be found here.