Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mocha raise default timeout

// don't use arrow functions
describe("testing promises", function () {
    this.timeout(5000); //applies to all contained test cases
    it('test1', function(){ ... });
});
Source by tips.tutorialhorizon.com #
 
PREVIOUS NEXT
Tagged: #mocha #raise #default #timeout
ADD COMMENT
Topic
Name
7+2 =