Skip to content

Commit

Permalink
Merge pull request #114 from pacostas/just-a-dummy-branch
Browse files Browse the repository at this point in the history
Adding proper test scripts on package.json
  • Loading branch information
mhdawson committed Jun 5, 2023
2 parents d3e3a38 + 00bf29a commit 582b771
Show file tree
Hide file tree
Showing 7 changed files with 482 additions and 430 deletions.
790 changes: 401 additions & 389 deletions backend/package-lock.json

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions backend/package-support.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"versions": [
{
"version": "*",
"target": {
"node": "lts"
},
"response": {
"type": "time-permitting"
},
"backing": {
"none": ""
}
}
]
}
7 changes: 3 additions & 4 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
},
"scripts": {
"start": "node server/server.js",
"build": "NODE_ENV=production webpack",
"test": "nyc mocha --recursive",
"dev": "MONGO_URL='root:password@localhost' npm run start",
"coverage": "nyc npm run test"
"dev": "MONGO_URL='root:password@localhost' npm run start"
},
"dependencies": {
"body-parser": "^1.20.1",
Expand All @@ -28,5 +26,6 @@
"mongodb-memory-server": "^8.9.3",
"nyc": "^15.1.0",
"supertest": "^6.3.0"
}
},
"support": true
}
79 changes: 43 additions & 36 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions frontend/package-support.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"versions": [
{
"version": "*",
"target": {
"node": "lts"
},
"response": {
"type": "time-permitting"
},
"backing": {
"none": ""
}
}
]
}
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"support": true
}
1 change: 1 addition & 0 deletions frontend/src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react';
import { render, screen } from '@testing-library/react';
import App from './containers/App';

Expand Down

0 comments on commit 582b771

Please sign in to comment.