Closed wallymathieu closed 4 years ago
For some reason appveyor and github actions doesn't trigger
I've gotten so far that it compiles. The odd thing right now is that while starting it with node, it seems to exit before running the tests. Any ideas @alfonsogarciacaro ?
@wallymathieu It may be that the test runner doesn't find any test. Can you try running the tests with npx mocha ./bin -r esm
. Make sure the files in that folder contain tests in Mocha format: https://mochajs.org/#getting-started
The thing is that Fuchu is a test runner written in F#. Since it's less than 1000 lines of code I'm thinking that it would be neat to be able to use Fuchu instead of Mocha/Expecto and instead use a single runner for both .net and Fable (given some adjustment of Fuchu).
Ah, ok! Yes, an F# test runner for Fable would be nice. I will try to clone and reproduce.
Right now I've found that I'm probably doing something wrong related to async things. The current code hangs in a setTimeout while loop.
I think I did something silly indeed, the Async.RunSynchronously polyfill didn't work as intended.