I followed your installation directions faithfully (I hope).
when I run yarn test I get this error:
$ dotnet fable -o dist/tests
Fable 4.19.3: F# to JavaScript compiler
Minimum @fable-org/fable-library-js version (when installed from npm): 1.4.2
Thanks to the contributor! @kerams
Stand with Ukraine! https://standwithukraine.com.ua/
Parsing Tests.fsproj...
Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option.
Project and references (58 source files) parsed in 118ms
Skipped compilation because all generated files are up-to-date!
$ mocha dist/tests
node:internal/modules/cjs/loader:1432
throw err;
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/michaelfremont/Documents/playthink/code/zebra-shmebra/packages/zebra-shmebra-app/tests/dist/tests/Tests.js from /usr/local/lib/node_modules/mocha/lib/mocha.js not supported.
Instead change the require of Tests.js in /usr/local/lib/node_modules/mocha/lib/mocha.js to a dynamic import() which is available in all CommonJS modules.
at /usr/local/lib/node_modules/mocha/lib/mocha.js:184:27
at Array.forEach (<anonymous>)
at Mocha.loadFiles (/usr/local/lib/node_modules/mocha/lib/mocha.js:181:14)
at Mocha.run (/usr/local/lib/node_modules/mocha/lib/mocha.js:393:31)
at Object.<anonymous> (/usr/local/lib/node_modules/mocha/bin/_mocha
So I uninstalled the current version of Mocha and installed 9.2.0 is in your example, and it now works - there's apparently something in newer versions causing the problem...
I followed your installation directions faithfully (I hope). when I run
yarn test
I get this error:package.json:
Tests.fsproj:
Tests.fs:
Thanks!