File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 17
17
strategy :
18
18
matrix :
19
19
node :
20
- - lts/fermium
20
+ - lts/gallium
21
21
- node
Original file line number Diff line number Diff line change 48
48
"mdast-util-to-markdown" : " ^1.0.0"
49
49
},
50
50
"devDependencies" : {
51
- "@types/tape " : " ^4 .0.0" ,
51
+ "@types/node " : " ^18 .0.0" ,
52
52
"c8" : " ^7.0.0" ,
53
53
"github-slugger" : " ^2.0.0" ,
54
54
"hast-util-to-html" : " ^8.0.0" ,
58
58
"prettier" : " ^2.0.0" ,
59
59
"remark-cli" : " ^11.0.0" ,
60
60
"remark-preset-wooorm" : " ^9.0.0" ,
61
- "rimraf" : " ^3.0.0" ,
62
- "tape" : " ^5.0.0" ,
63
61
"type-coverage" : " ^2.0.0" ,
64
62
"typescript" : " ^4.0.0" ,
65
63
"xo" : " ^0.53.0"
Original file line number Diff line number Diff line change 1
1
import assert from 'node:assert/strict'
2
2
import fs from 'node:fs/promises'
3
- import test from 'tape '
3
+ import test from 'node:test '
4
4
import { slug } from 'github-slugger'
5
5
import { toHast } from 'mdast-util-to-hast'
6
6
import { toHtml } from 'hast-util-to-html'
@@ -10,7 +10,7 @@ import {gfm} from 'micromark-extension-gfm'
10
10
import { gfmFromMarkdown , gfmToMarkdown } from '../index.js'
11
11
import { spec } from './spec.js'
12
12
13
- test ( 'markdown -> mdast' , async ( t ) => {
13
+ test ( 'markdown -> mdast' , async ( ) => {
14
14
const files = spec . filter (
15
15
( example ) => ! / d i s a l l o w e d r a w h t m l / i. test ( example . category )
16
16
)
@@ -54,17 +54,15 @@ test('markdown -> mdast', async (t) => {
54
54
await fs . writeFile ( inputUrl , expectedMarkdown )
55
55
}
56
56
57
- t . deepEqual (
57
+ assert . equal (
58
58
actualHtml ,
59
59
expectedHtml ,
60
60
example . category + ' (' + index + ') -> html'
61
61
)
62
- t . equal (
62
+ assert . equal (
63
63
actualMarkdown ,
64
64
expectedMarkdown ,
65
65
example . category + ' (' + index + ') -> md'
66
66
)
67
67
}
68
-
69
- t . end ( )
70
68
} )
You can’t perform that action at this time.
0 commit comments