Skip to content

Commit

Permalink
docs add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-fei committed May 22, 2020
1 parent 00918e3 commit f4edbc0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "",
Expand Down

0 comments on commit f4edbc0

Please sign in to comment.