Added mocha and chai for testing

This commit is contained in:
Mohammed Ashab Uddin
2020-07-22 10:42:51 +04:00
parent 9c7f90a102
commit 29db39c642
2 changed files with 976 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,8 @@
"description": "",
"main": "test.js",
"scripts": {
"test": "node website_test.js http://localhost:8004",
"test-web": "node website_test.js http://localhost:8004",
"test" : "mocha",
"start": "node index.js"
},
"author": "",
@@ -12,5 +13,9 @@
"dependencies": {
"request": "^2.88.2",
"whatsapp-web.js": "^1.7.0"
},
"devDependencies": {
"chai": "^4.2.0",
"mocha": "^8.0.1"
}
}