File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 2424 ],
2525 "sideEffects" : false ,
2626 "type" : " module" ,
27- "main" : " index.js" ,
28- "types" : " index.d.ts" ,
27+ "exports" : " ./index.js" ,
2928 "files" : [
3029 " lib/" ,
3130 " index.d.ts" ,
Original file line number Diff line number Diff line change 11import assert from 'node:assert/strict'
22import test from 'node:test'
3- import { cont , name , start } from './index.js '
3+ import { cont , name , start } from 'estree-util-is-identifier-name '
44
55test ( 'isIdentifierName' , async function ( t ) {
66 await t . test ( 'core' , async function ( t ) {
77 await t . test ( 'should expose the public api' , async function ( ) {
8- assert . deepEqual ( Object . keys ( await import ( './index.js' ) ) . sort ( ) , [
9- 'cont' ,
10- 'name' ,
11- 'start'
12- ] )
8+ assert . deepEqual (
9+ Object . keys ( await import ( 'estree-util-is-identifier-name' ) ) . sort ( ) ,
10+ [ 'cont' , 'name' , 'start' ]
11+ )
1312 } )
1413 } )
1514
You can’t perform that action at this time.
0 commit comments