bloodyowl / rescript-test

A lightweight test framework for ReScript
https://bloodyowl.github.io/rescript-test/
MIT License
78 stars 9 forks source link

Listed suffixes in `bin/retest.mjs` does not cover all suffixes suggested at rescript-lang.org #22

Closed brettcannon closed 3 months ago

brettcannon commented 4 months ago

For example, when I ran npm create rescript-app on my project, the suffix chosen was .res.mjs. https://rescript-lang.org/docs/manual/latest/installation#new-project also lists both .res.js and .res.mjs as suffixes.

The line that hard-codes the suffixes seems to be: https://rescript-lang.org/docs/manual/latest/installation#new-project

When I manually add the above suffixes, rescript-test works in my project.