diff options
author | 2023-08-19 13:58:39 -0700 | |
---|---|---|
committer | 2023-08-19 13:58:39 -0700 | |
commit | d39f60f49b76ad1a4a86152408a8166be9ac87e2 (patch) | |
tree | cd8bdf522c0ebf648278678846bb79dae300af59 /test/bundler/expectBundled.ts | |
parent | b9c3db7ff914cd0c50b2ac680c35e2fbf58a0498 (diff) | |
download | bun-dave/bundler-string-length.tar.gz bun-dave/bundler-string-length.tar.zst bun-dave/bundler-string-length.zip |
remove `dedent` library from testsdave/bundler-string-length
Diffstat (limited to 'test/bundler/expectBundled.ts')
-rw-r--r-- | test/bundler/expectBundled.ts | 3 |
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); } |