diff --git a/test/wpt/README.md b/test/wpt/README.md index 1810a98c8dc982..ff9092e6a1acd9 100644 --- a/test/wpt/README.md +++ b/test/wpt/README.md @@ -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 diff --git a/test/wpt/test-whatwg-console.js b/test/wpt/test-console.js similarity index 100% rename from test/wpt/test-whatwg-console.js rename to test/wpt/test-console.js diff --git a/test/wpt/test-whatwg-url.js b/test/wpt/test-url.js similarity index 100% rename from test/wpt/test-whatwg-url.js rename to test/wpt/test-url.js