Skip to content

Commit 8368a7b

Browse files
committed
test: @putout/engine-runner: JSXText
1 parent 88c5d12 commit 8368a7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/engine-runner/test/replace.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -730,8 +730,7 @@ test('putout: runner: replace: jsx: attribute', (t) => {
730730
report: () => '',
731731
replace: () => ({
732732
[from]: ({__b}) => {
733-
__b.type = 'StringLiteral';
734-
return __b;
733+
return StringLiteral(__b.value);
735734
},
736735
}),
737736
};

0 commit comments

Comments
 (0)