We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccbc7d2 commit 20913a8Copy full SHA for 20913a8
test.js
@@ -506,6 +506,17 @@ test('hastscript', function(t) {
506
'should not cast invalid known `boolean` values'
507
)
508
509
+ sst.deepEqual(
510
+ h('img', {title: 'title'}),
511
+ {
512
+ type: 'element',
513
+ tagName: 'img',
514
+ properties: {title: 'title'},
515
+ children: []
516
+ },
517
+ 'should not cast unknown boolean-like values'
518
+ )
519
+
520
sst.end()
521
})
522
0 commit comments