method Assert.prototype.timeout Assert.prototype.timeout(number: number): void Sets the number of milliseconds after which the current test will fail if not yet complete. Examples Example 1 test("slow async operation", async (assert) => { assert.timeout(500); await somethingAsync(); assert.ok(true); }); Parameters number: number Timeout in milliseconds (positive integer). Return Type void