aboutsummaryrefslogtreecommitdiff
path: root/test/bundler/expectBundled.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/bundler/expectBundled.ts')
-rw-r--r--test/bundler/expectBundled.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bundler/expectBundled.ts b/test/bundler/expectBundled.ts
index 3ec68ac4e..b4b242d35 100644
--- a/test/bundler/expectBundled.ts
+++ b/test/bundler/expectBundled.ts
@@ -3,7 +3,6 @@
*/
import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "fs";
import path from "path";
-import dedent from "dedent";
import { bunEnv, bunExe } from "harness";
import { tmpdir } from "os";
import { callerSourceOrigin } from "bun:jsc";
@@ -11,6 +10,7 @@ import { BuildConfig, BunPlugin, fileURLToPath } from "bun";
import type { Expect } from "bun:test";
import { PluginBuilder } from "bun";
import * as esbuild from "esbuild";
+import dedent from "./dedent";
let currentFile: string | undefined;
@@ -22,6 +22,7 @@ export function testForFile(file: string): BunTestExports {
var testFile = testFiles.get(file);
if (!testFile) {
+ // @ts-ignore
testFile = Bun.jest(file);
testFiles.set(file, testFile);
}