Skip to content

Commit f1af941

Browse files
authored
chore: restore-jsx.spec.ts lint (#8004)
1 parent 749e96f commit f1af941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-react/src/jsx-runtime/restore-jsx.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as babel from '@babel/core'
33

44
async function jsx(sourceCode: string) {
55
const [ast] = await restoreJSX(babel, sourceCode, 'test.js')
6-
if (ast === null) {
6+
if (ast == null) {
77
return ast
88
}
99
const { code } = await babel.transformFromAstAsync(ast, null, {

0 commit comments

Comments
 (0)