test: remove reference to whatwg in file names under test/wpt
WPT covers standards in both W3C and WHATWG, as such it would be strange to make this disparity explicit in our file names (e.g. when testing standards that are solely in W3C, like performance-timeline). Remove the reference to WHATWG will also make the file names shorter. PR-URL: https://github.com/nodejs/node/pull/24826 Refs: https://github.com/nodejs/node/issues/24823 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
This commit is contained in:
parent
87006be62a
commit
a96ba1c8b6
@ -40,7 +40,7 @@ $ git node wpt url
|
||||
|
||||
### 3. Create the test driver
|
||||
|
||||
For example, for the URL tests, add a file `test/wpt/test-whatwg-url.js`:
|
||||
For example, for the URL tests, add a file `test/wpt/test-url.js`:
|
||||
|
||||
```js
|
||||
'use strict';
|
||||
@ -75,14 +75,14 @@ Run the test using `tools/test.py` and see if there are any failures.
|
||||
For example, to run all the URL tests under `test/fixtures/wpt/url`:
|
||||
|
||||
```text
|
||||
$ tools/test.py wpt/test-whatwg-url
|
||||
$ tools/test.py wpt/test-url
|
||||
```
|
||||
|
||||
To run a specific test in WPT, for example, `url/url-searchparams.any.js`,
|
||||
pass the file name as argument to the corresponding test driver:
|
||||
|
||||
```text
|
||||
node --expose-internals test/wpt/test-whatwg-url.js url-searchparams.any.js
|
||||
node --expose-internals test/wpt/test-url.js url-searchparams.any.js
|
||||
```
|
||||
|
||||
If there are any failures, update the corresponding status file
|
||||
|
Loading…
x
Reference in New Issue
Block a user