diff --git a/test/presets/cloudflare.test.mjs b/test/presets/cloudflare.test.mjs
index 144bec28db..472c0c0d00 100644
--- a/test/presets/cloudflare.test.mjs
+++ b/test/presets/cloudflare.test.mjs
@@ -1,5 +1,6 @@
import { resolve } from 'path'
import { promises as fsp } from 'fs'
+import { TextEncoder, TextDecoder } from 'util'
import { JSDOM } from 'jsdom'
import { setupTest, testNitroBehavior } from './_tests.mjs'
@@ -42,12 +43,18 @@ describe('nitro:preset:cloudflare', () => {
}
}
-
+