Skip to content

Commit

Permalink
Workaround Node regression: nodejs/node#51167
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Dec 15, 2023
1 parent 97b3685 commit 34298c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 34298c4

Please sign in to comment.