File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,17 @@ import {
10
10
gfmAutolinkLiteralFromMarkdown ,
11
11
gfmAutolinkLiteralToMarkdown
12
12
} from '../index.js'
13
+ import * as mod from '../index.js'
13
14
14
- test ( 'markdown -> mdast' , ( ) => {
15
+ test ( 'core' , ( ) => {
16
+ assert . deepEqual (
17
+ Object . keys ( mod ) . sort ( ) ,
18
+ [ 'gfmAutolinkLiteralFromMarkdown' , 'gfmAutolinkLiteralToMarkdown' ] ,
19
+ 'should expose the public api'
20
+ )
21
+ } )
22
+
23
+ test ( 'gfmAutolinkLiteralFromMarkdown' , ( ) => {
15
24
assert . deepEqual (
16
25
fromMarkdown (
17
26
'www.example.com, https://example.com, and contact@example.com.' ,
@@ -168,7 +177,7 @@ test('markdown -> mdast', () => {
168
177
)
169
178
} )
170
179
171
- test ( 'mdast -> markdown ' , async ( ) => {
180
+ test ( 'gfmAutolinkLiteralToMarkdown ' , async ( ) => {
172
181
assert . deepEqual (
173
182
toMarkdown (
174
183
{
You can’t perform that action at this time.
0 commit comments