Skip to content

Commit 9a86bc8

Browse files
committed
[Tests] jsx-fragments: use output:null to assert no autofix
1 parent d8f3186 commit 9a86bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/rules/jsx-fragments.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ ruleTester.run('jsx-fragments', rule, {
142142
},
143143
{
144144
code: '<><Foo /></>',
145-
output: '<><Foo /></>', // should get '<Act.Frag><Foo /></Act.Frag>', but the old TS parser lacks opening/closing Fragment info
145+
output: null, // should get '<Act.Frag><Foo /></Act.Frag>', but the old TS parser lacks opening/closing Fragment info
146146
features: ['fragment', 'no-babel', 'ts', 'no-ts-new'],
147147
options: ['element'],
148148
settings,

0 commit comments

Comments
 (0)