File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ export async function cliTest(_fixtures) {
254254 const source = await readFile ( `${ outDir } /flavorful.d.ts` , "utf8" ) ;
255255 ok ( source . includes ( "export const test" ) ) ;
256256 const iface = await readFile ( `${ outDir } /interfaces/test-flavorful-test.d.ts` , "utf8" ) ;
257- ok ( source . includes ( "declare module 'test:flavorful/test' {" ) ) ;
257+ ok ( iface . includes ( "export namespace TestFlavorfulTest {" ) ) ;
258258 } ) ;
259259
260260 test ( "Type generation (specific features)" , async ( ) => {
@@ -341,7 +341,7 @@ export async function cliTest(_fixtures) {
341341 // module declarations if necessary)
342342 //
343343 // see: https://github.com/bytecodealliance/jco/pull/528
344- ok ( source . includes ( "export namespace TestFlavorfulTest {" ) ) ;
344+ ok ( source . includes ( "declare module 'test:flavorful/test' {" ) ) ;
345345 } ) ;
346346
347347 test ( "TypeScript naming checks" , async ( ) => {
You can’t perform that action at this time.
0 commit comments