Skip to content

Commit

Permalink
Fix inclusion of fetch_tests_from_{window,worker} into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnedders committed Sep 25, 2024
1 parent e3af2c7 commit a687e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/writing-tests/testharness-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ preferable if the entire test is optional.
### Consolidating tests from other documents ###

```eval_rst
.. js::autofunction fetch_tests_from_window
.. js:autofunction:: fetch_tests_from_window
```

**Note:** By default any markup file referencing `testharness.js` will
Expand Down Expand Up @@ -408,7 +408,7 @@ Here's an example that uses `window.open`.
### Web Workers ###

```eval_rst
.. js:autofunction fetch_tests_from_worker
.. js:autofunction:: fetch_tests_from_worker
```

The `testharness.js` script can be used from within [dedicated workers, shared
Expand Down

0 comments on commit a687e33

Please sign in to comment.