You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2020. It is now read-only.
I'm still a bit confused around how this package should be used. Is there any configuration needed of AVA itself? How should AVA be invoked? Will npx ava (AVA's own CLI) suffice? Do we need a separate CLI command?
The text was updated successfully, but these errors were encountered:
I thought that we need to manually compile these test files before running tests (BuckleScript does not have a register hook). By default bsb will emit files alongside their original Reason or OCaml source code, so if the source code of test index.test.re is present in the test directory, index.test.js will be emitted inside the test directory. Then after compilation, AVA will be able to recognize the JS file and run the tests correctly.
The full step of this may look like:
Install ava and @ava/bucklescript
Add @ava/bucklescript to bs-dev-dependencies in the bsconfig.json
I'm still a bit confused around how this package should be used. Is there any configuration needed of AVA itself? How should AVA be invoked? Will
npx ava
(AVA's own CLI) suffice? Do we need a separate CLI command?The text was updated successfully, but these errors were encountered: