How to use the @glennsl/bs-jest/src/jest.js.testAll function in @glennsl/bs-jest

To help you get started, we’ve selected a few @glennsl/bs-jest examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github glennsl / rebase / __tests__ / helpers / TestHelpers.bs.js View on Github external
function testFn(name, f, cases) {
  return Jest.testAll(name, cases, (function (param) {
                return Curry._2(Jest.Expect[/* Operators */24][/* = */5], Jest.Expect[/* expect */0](Curry._1(f, param[0])), param[1]);
              }));
}

@glennsl/bs-jest

BuckleScript bindings to the Jest testing framework

MIT
Latest version published 3 years ago

Package Health Score

52 / 100
Full package analysis