diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-10-30 12:03:41 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2018-11-09 20:27:20 +0800 |
commit | 1357913180fcce97c447d1d5e3acbf0bbcc39b8c (patch) | |
tree | 6cb54d0e9187dbce3ce959507f4397e72a5dd2cf /test/parallel/test-whatwg-url-setters.js | |
parent | 8caade8bb7e7157bd066851d69886646dbd6c5c3 (diff) | |
download | android-node-v8-1357913180fcce97c447d1d5e3acbf0bbcc39b8c.tar.gz android-node-v8-1357913180fcce97c447d1d5e3acbf0bbcc39b8c.tar.bz2 android-node-v8-1357913180fcce97c447d1d5e3acbf0bbcc39b8c.zip |
test: use URL fixtures under test/fixtures/wpt/url/resources
Removes the following files:
- test/fixtures/url-tests.js
- test/fixtures/url-setter-tests.js
- test/fixtures/url-toascii.js
in favor of:
- test/fixtures/wpt/url/resources/urltestdata.json
- test/fixtures/wpt/url/resources/setters_tests.json
- test/fixtures/wpt/url/resources/toascii.json
Also removes dependency of `fixtures/url-tests.js` in http2 tests
and use `fixtures/person-large.jpg` instead since they are just
looking for a big enough file to transfer.
PR-URL: https://github.com/nodejs/node/pull/24035
Refs: https://github.com/nodejs/node/issues/23192
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Diffstat (limited to 'test/parallel/test-whatwg-url-setters.js')
-rw-r--r-- | test/parallel/test-whatwg-url-setters.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/parallel/test-whatwg-url-setters.js b/test/parallel/test-whatwg-url-setters.js index a04b6c93ec..a5d59f761c 100644 --- a/test/parallel/test-whatwg-url-setters.js +++ b/test/parallel/test-whatwg-url-setters.js @@ -11,7 +11,9 @@ const { test, assert_equals } = require('../common/wpt'); const fixtures = require('../common/fixtures'); const request = { - response: require(fixtures.path('url-setter-tests')) + response: require(fixtures.path( + 'wpt', 'url', 'resources', 'setters_tests.json' + )) }; /* The following tests are copied from WPT. Modifications to them should be |