File tree 1 file changed +2
-2
lines changed 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) {
254
254
const source = await readFile ( `${ outDir } /flavorful.d.ts` , "utf8" ) ;
255
255
ok ( source . includes ( "export const test" ) ) ;
256
256
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 {" ) ) ;
258
258
} ) ;
259
259
260
260
test ( "Type generation (specific features)" , async ( ) => {
@@ -341,7 +341,7 @@ export async function cliTest(_fixtures) {
341
341
// module declarations if necessary)
342
342
//
343
343
// see: https://github.com/bytecodealliance/jco/pull/528
344
- ok ( source . includes ( "export namespace TestFlavorfulTest {" ) ) ;
344
+ ok ( source . includes ( "declare module 'test:flavorful/test' {" ) ) ;
345
345
} ) ;
346
346
347
347
test ( "TypeScript naming checks" , async ( ) => {
You can’t perform that action at this time.
0 commit comments