mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Update README with a warning and fix package.json
This commit is contained in:
parent
7634234afd
commit
0185f743e8
@ -131,6 +131,9 @@ npm run db:reset
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Run Tests
|
## Run Tests
|
||||||
|
|
||||||
|
**Beware**: We have no multiple database setup at the moment. We clean the database after each test, running the tests will wipe out all your data!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn run test
|
yarn run test
|
||||||
# -or-
|
# -or-
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"dev": "nodemon --exec babel-node src/index.js",
|
"dev": "nodemon --exec babel-node src/index.js",
|
||||||
"dev:debug": "nodemon --exec babel-node --inspect=0.0.0.0:9229 src/index.js",
|
"dev:debug": "nodemon --exec babel-node --inspect=0.0.0.0:9229 src/index.js",
|
||||||
"lint": "eslint src --config .eslintrc.js",
|
"lint": "eslint src --config .eslintrc.js",
|
||||||
"test": "nyc --reporter=text-lcov test:jest",
|
"test": "nyc --reporter=text-lcov yarn run test:jest",
|
||||||
"test:jest": "$npm_package_config_no_auth run-p --race start test:cmd:jest",
|
"test:jest": "$npm_package_config_no_auth run-p --race start test:cmd:jest",
|
||||||
"test:cmd:jest": "jest",
|
"test:cmd:jest": "jest",
|
||||||
"test:coverage": "nyc report --reporter=text-lcov > coverage.lcov",
|
"test:coverage": "nyc report --reporter=text-lcov > coverage.lcov",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user