From 34298c495ddca1b73fa74905170353bc62809aa9 Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Fri, 15 Dec 2023 17:06:07 -0500 Subject: [PATCH] Workaround Node regression: https://github.com/nodejs/node/issues/51167 --- lib/src/utils.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/utils.test.ts b/lib/src/utils.test.ts index 0e7f29c7..f3ba97b2 100644 --- a/lib/src/utils.test.ts +++ b/lib/src/utils.test.ts @@ -5,7 +5,7 @@ describe('utils', () => { describe('pathToUrlString', () => { it('encode relative path like `pathToFileURL`', () => { const baseURL = pathToFileURL('').toString(); - for (let i = 0; i < 128; i++) { + for (let i = 33; i < 128; i++) { const char = String.fromCharCode(i); const filename = `${i}-${char}`; expect(pathToUrlString(filename)).toEqual(