bs-mocha

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i bs-mocha

Weekly Downloads

586

Version

1.0.0

License

MIT

Unpacked Size

24.7 kB

Total Files

13

Last publish

Collaborators

  • hongbo_zhang
  • ristostevcev