Morio | Morio
Morio is not ready for production|Learn more

Morio

The test run script outputs information on how to run tests.

Run npm run test in the monorepo root to trigger this script.

Under the hood, this will run:

Terminal
echo \"No test target specified.\nTry 'npm run test:api' or 'npm run test:core' instead.\" && \
exit 1

In other words, this script does nothing, but output the following:

txt
No test target specified.
Try 'npm run test:api' or 'npm run test:core' instead.
Why maintain a run script that does nothing?

Because Morio is a monorepo using containers, testing is a bit complicated and currently a work in progress.

Given that npm run test is a common way to run tests in the JavaScript ecosystem, we keep this run script to onboard new contributors, and point them in the right direction for running tests.

<!-- Morio wordmark font is phosphate (with some tweaks -->by CERT-EU