Update README.md

This commit is contained in:
Alec
2022-02-25 21:13:20 -05:00
committed by GitHub
parent 7662e3cc49
commit 86aedfc2ce

View File

@@ -81,8 +81,11 @@ before serving the application over HTTPS - otherwise it will revert to HTTP. Us
## Testing ## Testing
Unit tests are written using <a href="https://jasmine.github.io/">Jasmine</a>. Execute them by running `npm run test`. Tests are written using <a href="https://jasmine.github.io/">Jasmine</a>. End-to-end tests are run using <a href='https://karma-runner.github.io/latest/index.html'>Karma</a>.
They reside in the `spec/unit` directory, which maps 1:1 to the application directory structure - i.e. unit tests for
Execute unit tests by running `npm run test:unit`. Execute end-to-end tests by running `npm run test:e2e`.
Unit tests map 1:1 to the application directory structure - i.e. unit tests for
`server/modules/GameManager` are found in `spec/unit/server/modules/GameManager_Spec.js` `server/modules/GameManager` are found in `spec/unit/server/modules/GameManager_Spec.js`
## Code Formatting ## Code Formatting