File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Expand file tree Collapse file tree 3 files changed +10
-12
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 32
32
" index.js"
33
33
],
34
34
"devDependencies" : {
35
- "@types/tape " : " ^4 .0.0" ,
35
+ "@types/node " : " ^18 .0.0" ,
36
36
"c8" : " ^7.0.0" ,
37
37
"prettier" : " ^2.0.0" ,
38
38
"remark-cli" : " ^11.0.0" ,
39
39
"remark-preset-wooorm" : " ^9.0.0" ,
40
- "tape" : " ^5.0.0" ,
41
40
"type-coverage" : " ^2.0.0" ,
42
41
"typescript" : " ^4.0.0" ,
43
42
"xo" : " ^0.53.0"
Original file line number Diff line number Diff line change 1
- import test from 'tape'
1
+ import assert from 'node:assert/strict'
2
+ import test from 'node:test'
2
3
import { generated } from './index.js'
3
4
4
- test ( 'generated' , ( t ) => {
5
- t . equal ( generated ( ) , true , 'should not throw without node' )
5
+ test ( 'generated' , ( ) => {
6
+ assert . equal ( generated ( ) , true , 'should not throw without node' )
6
7
7
- t . equal (
8
+ assert . equal (
8
9
generated ( {
9
10
position : {
10
11
start : {
@@ -23,21 +24,19 @@ test('generated', (t) => {
23
24
'should return false when with properties'
24
25
)
25
26
26
- t . equal (
27
+ assert . equal (
27
28
generated ( {
28
29
position : { start : { } , end : { } }
29
30
} ) ,
30
31
true ,
31
32
'should return true when without properties'
32
33
)
33
34
34
- t . equal (
35
+ assert . equal (
35
36
generated ( { position : { } } ) ,
36
37
true ,
37
38
'should return true when without objects'
38
39
)
39
40
40
- t . equal ( generated ( { } ) , true , 'should return true when without position' )
41
-
42
- t . end ( )
41
+ assert . equal ( generated ( { } ) , true , 'should return true when without position' )
43
42
} )
You can’t perform that action at this time.
0 commit comments