Skip to content

Commit

Permalink
Update test/helpers/test.utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nivida authored Jan 30, 2020
1 parent e78bed7 commit bca6a58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/helpers/test.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var getWebsocketPort = function(){
}

// Delay
var waitSeconds = async function(seconds=0){
var waitSeconds = async function(seconds = 0){
return new Promise(resolve => setTimeout(() => resolve(), seconds * 1000))
}

Expand All @@ -65,4 +65,3 @@ module.exports = {
getWebsocketPort: getWebsocketPort,
waitSeconds: waitSeconds
};

0 comments on commit bca6a58

Please sign in to comment.