We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 449b9bc commit c44f3c9Copy full SHA for c44f3c9
2 files changed
package.json
@@ -22,7 +22,8 @@
22
"url": "https://github.com/kdhttps/node-basic/issues"
23
},
24
"scripts": {
25
- "start": "node src/index.js"
+ "start": "node src/index.js",
26
+ "test": "./node_modules/.bin/mocha src/**/*.test.js"
27
28
"author": "KD",
29
"license": "MIT",
@@ -47,6 +48,7 @@
47
48
49
"devDependencies": {
50
"chai": "^4.2.0",
- "mocha": "^5.2.0"
51
+ "mocha": "^5.2.0",
52
+ "request": "^2.88.0"
53
}
54
src/auth/auth.test.js
@@ -0,0 +1,12 @@
1
+/**
2
+ * Created by KD
3
+ */
4
+const expect = require('chai').expect;
5
+const { handleCatch } = require('../utils/common');
6
+
7
+describe('Test Common functions', function() {
8
+ it('Test handleCatch', function(done) {
9
+ expect(true).to.equal(true);
10
+ done();
11
+ });
12
+});
0 commit comments