fix: update test cases

This commit is contained in:
mingholy.lmh 2026-01-30 10:08:19 +08:00
parent 54bb39f6ab
commit 371b408d6d
2 changed files with 4 additions and 3 deletions

View file

@ -19,7 +19,8 @@
<script>
const withKey = (props, key) =>
key == null ? props : Object.assign({}, props, { key });
const jsx = (type, props, key) => React.createElement(type, withKey(props, key));
const jsx = (type, props, key) =>
React.createElement(type, withKey(props, key));
const jsxRuntime = {
Fragment: React.Fragment,
jsx,