Skip to content

Commit

Permalink
Release 1.0.0 :celebration:
Browse files Browse the repository at this point in the history
  • Loading branch information
samporapeli committed May 30, 2022
1 parent 0a2e722 commit 2c5e5ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ npm run lint
# all tests
# NB! cypress tests assume that there are no votes given
# restart/reset backend if necessary
# additionally, frontend must be running while e2e testing
npm run tests

# jest unit tests
Expand All @@ -83,6 +84,10 @@ CI=true npm test
npm run cypress
```

Please note that `npm run tests` requires that both backend and frontend are
running, as they are not started automatically. Also, there must be no votes
given in order for Cypress tests to pass; reset backend manually if needed.

When using `npm run tests`, npm runs first unit tests (Jest), and if they pass,
it will run end-to-end tests (Cypress). There's definitely room for improvement
in tests, especially the e2e tests only test some part of the features. E.g.
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "koodihaaste22-frontend",
"version": "0.1.0",
"version": "1.0.0",
"private": true,
"dependencies": {
"98.css": "^0.1.18",
Expand Down

0 comments on commit 2c5e5ed

Please sign in to comment.