Closed
Description
The test suite is failing on windows for node v14 and we need to get that working before we can release a new version.
Run npm run coverage:node
> @apidevtools/[email protected] coverage:node D:\a\json-schema-ref-parser\json-schema-ref-parser
> nyc node_modules/mocha/bin/mocha
File names with special characters
1) should parse successfully
0 passing (47ms)
1 failing
1) File names with special characters
should parse successfully:
TypeError [ERR_INVALID_URL]: Invalid URL: specs/__(%7B%5B%20%25%20&%20$%20%23%20@%20%60%20~%20,)%7D%5D__/__(%7B%5B%20%25%20&%20$%20%23%20@%20%60%20~%20,)%7D%5D__.yaml
at new NodeError (internal/errors.js:322:7)
at onParseError (internal/url.js:270:9)
at new URL (internal/url.js:346:5)
at Object.resolve (lib\util\url.js:8:137)
at $RefParser.parse (lib\index.js:46:39)
at Context.<anonymous> (test\specs\__({[ % & $ # @ ` ~ ,)}]__\special-characters.spec.js:13:33)
at processImmediate (internal/timers.js:464:21)
Originally posted by @philsturgeon in #280 (comment)
Metadata
Metadata
Assignees
Labels
No labels