Add tests

This commit is contained in:
maxswa
2019-06-10 11:57:06 -04:00
parent 95a679e9a3
commit 3c0e8143c3
3 changed files with 5062 additions and 4 deletions

View File

@@ -4,8 +4,7 @@
"description": "The Oldschool Runescape API wrapper that does more!",
"main": "hiscores.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node hiscores.js"
"test": "jest"
},
"repository": {
"type": "git",
@@ -26,5 +25,11 @@
"bugs": {
"url": "https://github.com/maxswa/osrs-json-hiscores/issues"
},
"homepage": "https://github.com/maxswa/osrs-json-hiscores#readme"
"homepage": "https://github.com/maxswa/osrs-json-hiscores#readme",
"dependencies": {
"axios": "^0.19.0"
},
"devDependencies": {
"jest": "^24.8.0"
}
}