Skip to content

Conversation

cknitt
Copy link
Member

@cknitt cknitt commented Oct 4, 2024

In #6956 and #6978, I started porting tests from mocha to the built-in node test runner.

However, having two different test runners complicates things, and the existing coverage reporting (npm run coverage) also works for mocha only.

Actually, the basic API is the same for mocha and the built-in node test runner anyway, and my main concern was with using the OCaml-like API in mt.res built on top of mocha instead of using the basic mocha API directly like you normally would in JS.

So I am now running all tests with mocha again, but keeping the refactorings I already made for the Belt tests. I think all tests should eventually be refactored to this simpler style, but there is no rush here.

@cknitt cknitt merged commit 06c7a26 into rescript-lang:master Oct 4, 2024
20 checks passed
@cknitt cknitt deleted the tests-mocha branch October 4, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants