From 0185f743e8d64917d993a290d3acfa3adfc58b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Wed, 2 Jan 2019 15:59:32 +0100 Subject: [PATCH] Update README with a warning and fix package.json --- README.md | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1eb8cc528..55e79b2b1 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,9 @@ npm run db:reset ``` ## 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 yarn run test # -or- diff --git a/package.json b/package.json index 4f4d457c5..ee388d0e6 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dev": "nodemon --exec babel-node src/index.js", "dev:debug": "nodemon --exec babel-node --inspect=0.0.0.0:9229 src/index.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:cmd:jest": "jest", "test:coverage": "nyc report --reporter=text-lcov > coverage.lcov",