Questions tagged [bs-jest]

2 questions
2
votes
3 answers

Reason/Bucklescript + bs-jest: How to compile files with a *.test.re pattern outside of __tests__ folder?

Background: I am currently using bs-jest for unit testing. In addition, I am using the bsb init project, meaning that I am first compiling files using Reason/Bucklescript + then running compiled files using Webpack. Jest by default will pick up…
Charlie-Greenman
  • 1,469
  • 1
  • 16
  • 36
1
vote
1 answer

Reason: Error: Unbound value not__ for bs-jest

Trying to test a binding of lit-html method html open Jest; let write = () => LitHtml.html("
"); open Expect; describe("LitHtml", () => test("#html", () => expect(() => write() ) |> not_ |> toThrow ) ); I am told this…