Skip to content

Commit c4b356a

Browse files
committed
chore: update Readme file
1 parent c0345d8 commit c4b356a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,23 @@ npm start # or
1515
docker compose up
1616
```
1717

18-
Run all e2e tests
18+
Run all e2e tests. In order for this to work locally, you need to change the [Node version](/Dockerfile#1) from the RedHat to `node:latest` for example. Then run the following command:
1919

2020
```bash
2121
npm run test
2222
```
2323

24-
Open cypress, then run the container (set the port [here](https://github.com/UniversityOfHelsinkiCS/kliksutin/blob/ffe33eee1f187f260cd27c587825fbe4771430ba/cypress/support/e2e.ts#LL19))
24+
Run e2e tests in interactive Cypress environment. In order for this to work correctly change the baseURL in the [cypress.config](cypress.config.js#8) to `localhost:3000`. Then you can run the following command:
2525

2626
```bash
2727
npm run test:cypress
2828
```
2929

30-
Run eslint
30+
Run static code analysis tools. Each commit triggers these runs through the pre-commit hooks.
3131

3232
```bash
33-
npm run lint
33+
npm run lint # Run eslint
34+
npm run format # Run prettier
3435
```
3536

3637
## Development

0 commit comments

Comments
 (0)