add testing framewrok
This diff is collapsed.
... | ... | @@ -4,8 +4,8 @@ |
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start": "node app.js" | ||
"start": "node app.js", | ||
"test": "mocha" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... | @@ -22,5 +22,10 @@ |
"express": "^4.17.1", | ||
"express-validator": "^6.4.0", | ||
"pug": "^2.0.4" | ||
}, | ||
"devDependencies": { | ||
"chai": "^4.3.4", | ||
"chai-http": "^4.3.0", | ||
"mocha": "^9.0.2" | ||
} | ||
} | ||
\ No newline at end of file | ||
} |
test/jsonStorage.js
0 → 100644
Please register or sign in to comment