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 {
1010 gfmAutolinkLiteralFromMarkdown ,
1111 gfmAutolinkLiteralToMarkdown
1212} from '../index.js'
13+ import * as mod from '../index.js'
1314
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' , ( ) => {
1524 assert . deepEqual (
1625 fromMarkdown (
1726 'www.example.com, https://example.com, and contact@example.com.' ,
@@ -168,7 +177,7 @@ test('markdown -> mdast', () => {
168177 )
169178} )
170179
171- test ( 'mdast -> markdown ' , async ( ) => {
180+ test ( 'gfmAutolinkLiteralToMarkdown ' , async ( ) => {
172181 assert . deepEqual (
173182 toMarkdown (
174183 {
You can’t perform that action at this time.
0 commit comments