@@ -4,29 +4,14 @@ import {h, s} from '../index.js'
44
55test ( 'core' , async function ( t ) {
66 await t . test ( 'should expose the public api (`/`)' , async function ( ) {
7- assert . deepEqual ( Object . keys ( await import ( '../index.js' ) ) . sort ( ) , [
8- 'h' ,
9- 's'
10- ] )
7+ assert . deepEqual ( Object . keys ( await import ( 'hastscript' ) ) . sort ( ) , [ 'h' , 's' ] )
118 } )
129
1310 await t . test (
1411 'should expose the public api (`/jsx-runtime`)' ,
15- async function ( ) {
16- assert . deepEqual ( Object . keys ( await import ( '../jsx-runtime.js' ) ) . sort ( ) , [
17- 'Fragment' ,
18- 'jsx' ,
19- 'jsxDEV' ,
20- 'jsxs'
21- ] )
22- }
23- )
24-
25- await t . test (
26- 'should expose the public api (`/html/jsx-runtime`)' ,
2712 async function ( ) {
2813 assert . deepEqual (
29- Object . keys ( await import ( '../html/ jsx-runtime.js ' ) ) . sort ( ) ,
14+ Object . keys ( await import ( 'hastscript/ jsx-runtime' ) ) . sort ( ) ,
3015 [ 'Fragment' , 'jsx' , 'jsxDEV' , 'jsxs' ]
3116 )
3217 }
@@ -36,7 +21,7 @@ test('core', async function (t) {
3621 'should expose the public api (`/svg/jsx-runtime`)' ,
3722 async function ( ) {
3823 assert . deepEqual (
39- Object . keys ( await import ( '.. /svg/jsx-runtime.js ' ) ) . sort ( ) ,
24+ Object . keys ( await import ( 'hastscript /svg/jsx-runtime' ) ) . sort ( ) ,
4025 [ 'Fragment' , 'jsx' , 'jsxDEV' , 'jsxs' ]
4126 )
4227 }
0 commit comments