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.
@types/unist
1 parent 939ef57 commit a8a37a1Copy full SHA for a8a37a1
test.js
@@ -16,7 +16,9 @@ test('unist-util-size', function (t) {
16
17
t.equal(size(tree), 11, 'complete tree')
18
t.equal(size(tree.children[0]), 7, 'parent node with mixed children')
19
+ // @ts-expect-error: fine.
20
t.equal(size(tree.children[0].children[1]), 1, 'parent of text')
21
22
t.equal(size(tree.children[0].children[0]), 0, 'text node')
23
24
t.equal(size(tree, 'element'), 5, 'test')
0 commit comments