Skip to main content

Reason

Status

Beta

Versions

3.3

Test Frameworks

Jest (bs-jest)

Example

let add = (a, b) => a + b;
let add = (a, b) => a + b;
open Jest;

describe("add", () => {
  open Expect;

  test("1 + 1", () =>
    expect(Solution.add(1, 1)) |> toBe(2));
});
open Jest;

describe("add", () => {
  open Expect;

  test("1 + 1", () =>
    expect(Solution.add(1, 1)) |> toBe(2));
});

Solution is always put in the Solution module. Optional preloaded code can be provided (Preloaded module).

Timeout

12 seconds

Packages

None

Services

None

Language ID

reason