mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 13:51:47 +00:00
### What does this PR do? `CompileResult` error message memory was not managed correctly. Fixes #23470 ### How did you verify your code works? Manually
This commit is contained in:
@@ -243,7 +243,7 @@ import path from "path";
|
||||
expect(pkg).toHaveProperty("devDependencies.@types/react-dom");
|
||||
|
||||
expect(fs.existsSync(path.join(temp, "src"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "src/index.tsx"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "src/index.ts"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "tsconfig.json"))).toBe(true);
|
||||
}, 30_000);
|
||||
|
||||
@@ -267,7 +267,7 @@ import path from "path";
|
||||
expect(pkg).toHaveProperty("dependencies.bun-plugin-tailwind");
|
||||
|
||||
expect(fs.existsSync(path.join(temp, "src"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "src/index.tsx"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "src/index.ts"))).toBe(true);
|
||||
}, 30_000);
|
||||
|
||||
test("bun init --react=shadcn works", async () => {
|
||||
@@ -291,7 +291,7 @@ import path from "path";
|
||||
expect(pkg).toHaveProperty("dependencies.bun-plugin-tailwind");
|
||||
|
||||
expect(fs.existsSync(path.join(temp, "src"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "src/index.tsx"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "src/index.ts"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "src/components"))).toBe(true);
|
||||
expect(fs.existsSync(path.join(temp, "src/components/ui"))).toBe(true);
|
||||
}, 30_000);
|
||||
|
||||
Reference in New Issue
Block a user