Skip to content

Commit f0b8fbb

Browse files
committed
added the timeout for test
1 parent deb6661 commit f0b8fbb

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"scripts": {
1111
"start": "node ./bin/www",
1212
"dev": "nodemon ./bin/www",
13-
"test": "mocha --exit"
13+
"test": "mocha --exit --timeout 15000"
1414
},
1515
"author": "Gaurav Walia",
1616
"license": "ISC",

‎test/test.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ describe('testing the code rating engine APIs',() => {
1414
token = res.body.accessToken;
1515
codeId1 = res.body.codeObject1.codeId;
1616
codeId2 = res.body.codeObject2.codeId;
17-
return res;
1817
}catch(err){
1918
console.log(err)
2019
}

0 commit comments

Comments
 (0)