Skip to content

Commit c12c1ae

Browse files
committed
Update tests for fixes in dependencies
1 parent f381bc4 commit c12c1ae

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -622,10 +622,12 @@ test('integration (micromark-extension-mdxjs, mdast-util-mdx)', function (t) {
622622
'should transform attribute value expressions on JSX elements'
623623
)
624624

625-
t.deepEqual(
626-
transform('<x y={/* x */} />'),
627-
'<><x y={} /></>;',
628-
'should transform empty attribute value expressions'
625+
t.throws(
626+
function () {
627+
transform('<x y={/* x */} />')
628+
},
629+
/Unexpected empty expression/,
630+
'should crash on empty attribute value expressions'
629631
)
630632

631633
t.deepEqual(

0 commit comments

Comments
 (0)