aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Dylan Conway <dylan.conway567@gmail.com> 2023-05-25 20:54:39 -0700
committerGravatar Dylan Conway <dylan.conway567@gmail.com> 2023-05-25 20:54:39 -0700
commit801881dd7dc4db6bcae1a32574e31e86aa859cde (patch)
treee5a69d845edcf017fd708a131f6abd7732e4d20d
parent7b4bba787d4f8018e2225055f2c0793e5bdede76 (diff)
downloadbun-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.ts3
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\"]
`,
},
});