Skip to content

Commit 3a744ca

Browse files
committed
test: ignore jsx test for bun/cjs
require(async module) is not allowed in bun
1 parent e88ac44 commit 3a744ca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/bun.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ for (const fixture of fixtures) {
2929
if (
3030
fixture !== "esm" &&
3131
fixture !== "top-level-await" &&
32-
fixture !== "json"
32+
fixture !== "json" &&
33+
fixture !== "jsx" // require(<async module>) is not allowed
3334
) {
3435
test("fixtures/" + fixture + " (CJS)", () => {
3536
_jiti("./" + fixture);

0 commit comments

Comments
 (0)