Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mmews committed Feb 20, 2024
1 parent 7651225 commit 9cabf5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ let elem: any+ =
// Generated by N4JS transpiler; for copyright see original N4JS source file.
import 'n4js-runtime'
import * as React from 'react'
import {jsx as $jsx} from 'react/jsx-runtime'
import * as React from 'react'
console.log($jsx(React.Fragment, {
children: $jsx('div', {})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ MyDivWithChildren;
// Generated by N4JS transpiler; for copyright see original N4JS source file.
import 'n4js-runtime'
import {jsx as $jsx} from 'react/jsx-runtime'
import {jsx as $jsx, jsxs as $jsxs} from 'react/jsx-runtime'
const MyDiv = $jsx('div', {});
MyDiv;
Expand All @@ -61,7 +61,7 @@ const MyDivWithChild = $jsx('div', {
children: $jsx('h1', {})
});
MyDivWithChild;
const MyDivWithChildren = $jsx('div', {
const MyDivWithChildren = $jsxs('div', {
children: [
$jsx('h1', {}),
$jsx('h2', {})
Expand Down

0 comments on commit 9cabf5d

Please sign in to comment.