File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 57
57
"c8" : " ^7.0.0" ,
58
58
"hastscript" : " ^7.0.0" ,
59
59
"is-hidden" : " ^2.0.0" ,
60
- "mdast-util-assert" : " ^3 .0.0" ,
60
+ "mdast-util-assert" : " ^4 .0.0" ,
61
61
"negate" : " ^1.0.0" ,
62
62
"prettier" : " ^2.0.0" ,
63
63
"rehype-parse" : " ^7.0.0" ,
Original file line number Diff line number Diff line change @@ -16,22 +16,16 @@ import remarkParse from 'remark-parse'
16
16
import remarkGfm from 'remark-gfm'
17
17
import rehypeStringify from 'rehype-parse'
18
18
import remarkStringify from 'remark-stringify'
19
- import assert from 'mdast-util-assert'
19
+ import { assert } from 'mdast-util-assert'
20
20
import { removePosition } from 'unist-util-remove-position'
21
21
import { one , all , toMdast } from '../index.js'
22
22
23
23
var fixtures = path . join ( 'test' , 'fixtures' )
24
24
25
25
test ( 'exports' , function ( t ) {
26
- t . assert (
27
- one ,
28
- 'should export `one`'
29
- )
26
+ t . assert ( one , 'should export `one`' )
30
27
31
- t . assert (
32
- all ,
33
- 'should export `all`'
34
- )
28
+ t . assert ( all , 'should export `all`' )
35
29
36
30
t . end ( )
37
31
} )
You can’t perform that action at this time.
0 commit comments