File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 4040 ],
4141 "sideEffects" : false ,
4242 "type" : " module" ,
43- "main" : " index.js" ,
44- "types" : " index.d.ts" ,
43+ "exports" : " ./index.js" ,
4544 "files" : [
4645 " lib/" ,
4746 " index.d.ts" ,
Original file line number Diff line number Diff line change 11import assert from 'node:assert/strict'
22import test from 'node:test'
33import { retext } from 'retext'
4- import retextReadability from './index.js '
4+ import retextReadability from 'retext-readability '
55
66test ( 'retext-readability' , async function ( t ) {
77 await t . test ( 'should expose the public api' , async function ( ) {
8- assert . deepEqual ( Object . keys ( await import ( './index.js ' ) ) . sort ( ) , [
8+ assert . deepEqual ( Object . keys ( await import ( 'retext-readability ' ) ) . sort ( ) , [
99 'default'
1010 ] )
1111 } )
You can’t perform that action at this time.
0 commit comments