File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 31
31
],
32
32
"sideEffects" : false ,
33
33
"type" : " module" ,
34
- "main" : " index.js" ,
35
- "types" : " index.d.ts" ,
34
+ "exports" : " ./index.js" ,
36
35
"files" : [
37
36
" lib/" ,
38
37
" index.d.ts" ,
Original file line number Diff line number Diff line change 6
6
import assert from 'node:assert/strict'
7
7
import test from 'node:test'
8
8
import { u } from 'unist-builder'
9
- import { remove } from './index.js '
9
+ import { remove } from 'unist-util-remove '
10
10
11
11
test ( 'remove' , async function ( t ) {
12
12
await t . test ( 'should expose the public api' , async function ( ) {
13
- assert . deepEqual ( Object . keys ( await import ( './index.js' ) ) . sort ( ) , [ 'remove' ] )
13
+ assert . deepEqual ( Object . keys ( await import ( 'unist-util-remove' ) ) . sort ( ) , [
14
+ 'remove'
15
+ ] )
14
16
} )
15
17
16
18
await t . test ( 'should compare nodes by partial properties' , function ( ) {
You can’t perform that action at this time.
0 commit comments