Skip to content

Commit 7bcc4cc

Browse files
joyeecheungBridgeAR
authored andcommitted
doc: remove legacy WPT integration guide
Point to the new guide in test/wpt/README.md instead. PR-URL: #24035 Refs: #23192 Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
1 parent b68734b commit 7bcc4cc

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

doc/guides/writing-tests.md

+1-22
Original file line numberDiff line numberDiff line change
@@ -310,27 +310,7 @@ functions worked correctly with the `beforeExit` event, then it might be named
310310

311311
### Web Platform Tests
312312

313-
Some of the tests for the WHATWG URL implementation (named
314-
`test-whatwg-url-*.js`) are imported from the [Web Platform Tests Project][].
315-
These imported tests will be wrapped like this:
316-
317-
```js
318-
/* The following tests are copied from WPT. Modifications to them should be
319-
upstreamed first. Refs:
320-
https://github.com/w3c/web-platform-tests/blob/8791bed/url/urlsearchparams-stringifier.html
321-
License: http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html
322-
*/
323-
/* eslint-disable */
324-
325-
// Test code
326-
327-
/* eslint-enable */
328-
```
329-
330-
To improve tests that have been imported this way, please send
331-
a PR to the upstream project first. When the proposed change is merged in
332-
the upstream project, send another PR here to update Node.js accordingly.
333-
Be sure to update the hash in the URL following `WPT Refs:`.
313+
See [`test/wpt`](../../test/wpt/README.md) for more information.
334314

335315
## C++ Unit test
336316

@@ -418,7 +398,6 @@ To generate a test coverage report, see the
418398

419399
[ASCII]: http://man7.org/linux/man-pages/man7/ascii.7.html
420400
[Google Test]: https://github.com/google/googletest
421-
[Web Platform Tests Project]: https://github.com/w3c/web-platform-tests/tree/master/url
422401
[`common` module]: https://github.com/nodejs/node/blob/master/test/common/README.md
423402
[all maintained branches]: https://github.com/nodejs/lts
424403
[node.green]: http://node.green/

0 commit comments

Comments
 (0)