Skip to content

Commit

Permalink
refactor: speeded up unit tests (#189)
Browse files Browse the repository at this point in the history
Replaced beforeEach with beforeAll. Added console reporter and npm commands.

Issue-Ref: #184
  • Loading branch information
stas-at-ibm authored Nov 13, 2023
1 parent 3d9ef2e commit dd3a1fa
Show file tree
Hide file tree
Showing 13 changed files with 1,006 additions and 296 deletions.
3 changes: 3 additions & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"description": "Steam game stats backend.",
"main": "src/main.js",
"scripts": {
"unit-test:report": "jasmine --config=jasmine-unit.json --reporter=jasmine-console-reporter",
"integration-test:report": "jasmine --config=jasmine-integration.json --reporter=jasmine-console-reporter",
"unit-test": "jasmine --config=jasmine-unit.json",
"integration-test": "jasmine --config=jasmine-integration.json",
"start": "node src/main.js",
Expand Down Expand Up @@ -31,6 +33,7 @@
"devDependencies": {
"eslint": "8.11.0",
"jasmine": "4.0.2",
"jasmine-console-reporter": "3.1.0",
"mongodb-memory-server": "8.12.2",
"pino-pretty": "10.2.0",
"prettier": "2.6.0"
Expand Down
Loading

0 comments on commit dd3a1fa

Please sign in to comment.