Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
error FSHARP: This runtime coercion or type test from type 'a to string #13
I'm getting some problems when compiling with Fable2.
module FableProject.Tests open Fable.Import.Jest open Matchers open FableProject.Library test "Basic sum test" <| fun () -> sum 7 4 == 11
And I get
Not entirely sure what is going wrong here, I hope it is related to Fable two. Maybe the bindings should be revisited.
Problem seems to be related to
| true -> createObj ["message" ==> (sprintf "Expected %A not to equal %A" (this?utils?printExpected(x)) (this?utils?printReceived(y))); "pass" ==> true]
let toEqualNone (x):unit = expect.Invoke(x)?toEqualNone() |> ignore
This has causing my CI process to fail since I left the
Thanks @nojaf for a working version of the Matchers.fs.
You can see my changes here: