Add unit tests and fix map load

This commit is contained in:
Conor McNamara
2023-03-20 16:15:01 +00:00
parent c408f21d91
commit aa4fd87de1
8 changed files with 9414 additions and 14 deletions

View File

@ -1,10 +1,13 @@
# Running Build & Deploying it to Firebase
# Manual Firebase Build & Deploy
`npm run build && firebase deploy`
# Running Firebase Tests
# Run Vue.js Unit Tests
`npm run test:unit`
# Run Firebase Integration Tests
`cd functions && npm run test`
# Running Locally
# Run Locally
1. Ensure you have Java 11 or greater installed.
2. Run `npm install` in the traintracker directory.
3. Run `npm install` in the functions directory.
@ -16,8 +19,8 @@ To kill the npm process do `CTRL + C` in your terminal.
To kill the firebase emulators run `fg` to bring the process to the foreground, then do `CTRL + C`
# Links
Deployed site: [irishrailtracker.web.app](https://irishrailtracker.web.app/)
Deployed Site: [irishrailtracker.web.app](https://irishrailtracker.web.app/)
Jira: [trainenthusiasts.atlassian.net](https://trainenthusiasts.atlassian.net/jira/software/projects/TE/boards/1)
Github: [github.com/0hAodha/traintracker](https://github.com/0hAodha/traintracker)
GitHub: [github.com/0hAodha/traintracker](https://github.com/0hAodha/traintracker)