diff options
| author | 2023-05-25 20:54:39 -0700 | |
|---|---|---|
| committer | 2023-05-25 20:54:39 -0700 | |
| commit | 801881dd7dc4db6bcae1a32574e31e86aa859cde (patch) | |
| tree | e5a69d845edcf017fd708a131f6abd7732e4d20d | |
| parent | 7b4bba787d4f8018e2225055f2c0793e5bdede76 (diff) | |
| download | bun-801881dd7dc4db6bcae1a32574e31e86aa859cde.tar.gz bun-801881dd7dc4db6bcae1a32574e31e86aa859cde.tar.zst bun-801881dd7dc4db6bcae1a32574e31e86aa859cde.zip | |
update jsx test for classic runtime
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\"] `, }, }); |
