Skip to content

Commit ae6a99d

Browse files
committed
Docs: Remove stray and, in testTimeout
Follows-up 448e976.
1 parent 9c3ae1a commit ae6a99d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/api/config/testTimeout.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Starting in QUnit 2.21, a deprecation warning will be logged if a test takes lon
3434
Test {name} took longer than 3000ms, but no timeout was set.
3535
```
3636

37-
You can prepare yourself for QUnit 3 when this happens, by either calling `assert.timeout()` inside those tests, or by setting `QUnit.config.testTimeout` once globally with a higher timeout.
37+
You can prepare yourself for QUnit 3 when this happens, by either calling `assert.timeout()` inside those tests, or by setting `QUnit.config.testTimeout` once globally with a higher timeout (in your [HTML or bootstrap script](../config/index.md)).
3838

3939
Depending on your test runner of choice, there may be more convenient ways to set configuration:
4040

@@ -52,8 +52,6 @@ Depending on your test runner of choice, there may be more convenient ways to se
5252
});
5353
```
5454

55-
* and, are not using a test runner that sets its own timeout (e.g. [grunt-contrib-qunit](https://github.com/gruntjs/grunt-contrib-qunit)),
56-
5755
### Introducing a timeout
5856

5957
Prior to QUnit 3, there has not been a default timeout. This meant that a test could time out or get stuck for many seconds or minutes before diagnostic details are presented (e.g. after a CI job reaches the maximum run time).

0 commit comments

Comments
 (0)