I\'m submitting a network request in a test case, but this sometimes takes longer than 2 seconds (the default timeout).
How do I increase the timeout for a single te
This worked for me! Couldn't find anything to make it work with before()
describe("When in a long running test", () => {
it("Should not time out with 2000ms", async () => {
let service = new SomeService();
let result = await service.callToLongRunningProcess();
expect(result).to.be.true;
}).timeout(10000); // Custom Timeout
});