File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,15 +120,15 @@ const COMPONENT_FILES = [
120120
121121for ( const name of COMPONENT_FILES ) {
122122 Deno . test ( `less-${ name } : exports tagName` , async ( ) => {
123- const mod = await import ( `../src/${ name } .ts ` ) ;
123+ const mod = await import ( `../src/${ name } .tsx ` ) ;
124124 assertExists ( mod . tagName , `${ name } must export tagName` ) ;
125125 assertEquals ( typeof mod . tagName , 'string' ) ;
126126 // Custom Elements require hyphen in tag name
127127 assertExists ( mod . tagName . includes ( '-' ) , `tagName "${ mod . tagName } " must contain a hyphen` ) ;
128128 } ) ;
129129
130130 Deno . test ( `less-${ name } : exports DsdElement-compatible class` , async ( ) => {
131- const mod = await import ( `../src/${ name } .ts ` ) ;
131+ const mod = await import ( `../src/${ name } .tsx ` ) ;
132132 const className = Object . keys ( mod ) . find ( ( k ) => k !== 'tagName' && typeof mod [ k ] === 'function' ) ;
133133 assertExists ( className , `${ name } should export a class` ) ;
134134 const Cls = mod [ className as keyof typeof mod ] ;
You can’t perform that action at this time.
0 commit comments