diff options
Diffstat (limited to '')
| -rw-r--r-- | test/bundler/bundler_jsx.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bundler/bundler_jsx.test.ts b/test/bundler/bundler_jsx.test.ts index 3129f06be..cb2f6bb81 100644 --- a/test/bundler/bundler_jsx.test.ts +++ b/test/bundler/bundler_jsx.test.ts @@ -303,6 +303,7 @@ describe("bundler", () => { const h = () => 'hello' const Fragment = 123; + import * as React from "react"; import { print } from 'bun-test-helpers' print([<div props={123}>Hello World</div>, <>Fragment</>]) `, @@ -315,7 +316,7 @@ describe("bundler", () => { }, run: { stdout: ` - hello hello + [\"hello\",\"hello\"] `, }, }); |
