diff --git a/README.md b/README.md new file mode 100644 index 0000000..6a1b69a --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# Testing in Node.js by example using the SOLID principles + +read more about it on [cri.dev](https://cri.dev/posts/2020-05-20-Testing-in-Nodejs-by-example-using-the-SOLID-principles/) + +### requirements + +- node.js > 10 +- mongodb installation running locally + +## try it out + +install the dependencies + +```sh +npm i +``` + +run the tests + +```sh +npm t +``` \ No newline at end of file diff --git a/package.json b/package.json index cd332a3..9a6c9c2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "test": "MONGO_URL=localhost:27017/test ava" + "test": "MONGO_URL=localhost:27017/test ava -s" }, "keywords": [], "author": "",