mirror of
https://github.com/Terreii/andromeda-viewer.git
synced 2026-08-14 09:01:59 +00:00
Server tests
This directory contains the tests, that check the server/backend.
It uses Mocha.js as a test-runner and Sinon.js for mocking.
With npm test you'll run all tests enter. This includes the server tests.
But if to run the server tests:
npm run test:server
To run one test-file you can pass add extra arguments:
npm run test:server -- --exclude "test/*" --file test/account.test.js