mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
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>
This commit is contained in:
parent
8caade8bb7
commit
1357913180
14 changed files with 29 additions and 8704 deletions
|
@ -12,7 +12,9 @@ const URL = require('url').URL;
|
|||
const assert = require('assert');
|
||||
const fixtures = require('../common/fixtures');
|
||||
|
||||
const tests = require(fixtures.path('url-tests'));
|
||||
const tests = require(
|
||||
fixtures.path('wpt', 'url', 'resources', 'urltestdata.json')
|
||||
);
|
||||
|
||||
const originalFailures = tests.filter((test) => test.failure);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue