Skip to content

Commit 39d0901

Browse files
committed
In tests, remove no longer needed polyfill for the global File.
1 parent 6e81940 commit 39d0901

File tree

4 files changed

+1
-13
lines changed

4 files changed

+1
-13
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- Run tests with Node.js v20, v22, v24.
2323
- Enabled the TypeScript compiler options `noUnusedLocals` and `noUnusedParameters`.
2424
- Migrated to the ESLint v9 CLI and “flat” config.
25+
- In tests, removed the no longer needed polyfill for the global `File`.
2526

2627
## 18.0.1
2728

createUploadLink.test.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// @ts-check
22

3-
import "./test/polyfillFile.mjs";
4-
53
import { deepEqual, deepStrictEqual, ok, strictEqual } from "node:assert";
64
import { describe, it } from "node:test";
75

formDataAppendFile.test.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// @ts-check
22

3-
import "./test/polyfillFile.mjs";
4-
53
import { ok, strictEqual } from "node:assert";
64
import { describe, it } from "node:test";
75

test/polyfillFile.mjs

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)