1.0.0 • Published 5 years ago

bs-mocha v1.0.0

Weekly downloads
49
License
MIT
Repository
github
Last release
5 years ago

bs-mocha

Bucklescript bindings for mocha

Install

npm install bs-mocha --save-dev 

Usage

let (it', it_skip') = Async.(it, it_skip);
open Mocha;

describe("Some Test Suite", () => {
  describe("List.map", () => {
    it("should map the values", () =>
      Assert.deep_equal(List.map(( * )(2), [1, 2, 3]), [2, 4, 6])
    );

    it("should work with an empty list", () =>
      Assert.equal(List.map(( * )(2), []), [])
    );
  })
});

License

See LICENSE

1.0.0

5 years ago

0.5.0

5 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago