Added mocha and chai for testing
This commit is contained in:
970
whatsapp-web.js/package-lock.json
generated
970
whatsapp-web.js/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user