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 ( iface . includes ( "export namespace TestFlavorfulTest {" ) ) ;
257
+ ok ( source . includes ( "declare module 'test:flavorful/test' {" ) ) ;
258
258
} ) ;
259
259
260
260
test ( "Type generation (specific features)" , async ( ) => {
@@ -337,7 +337,7 @@ export async function cliTest(_fixtures) {
337
337
strictEqual ( stderr , "" ) ;
338
338
const source = await readFile ( `${ outDir } /interfaces/test-flavorful-test.d.ts` , "utf8" ) ;
339
339
// NOTE: generation of guest types *no longer* produces an explicitly exported module
340
- // but rather contains an typescript ambient module (w/ opt-in for producing explicit
340
+ // but rather contains an typescript ambient module (w/ opt-in for producing explicit
341
341
// module declarations if necessary)
342
342
//
343
343
// see: https://github.com/bytecodealliance/jco/pull/528
You can’t perform that action at this time.
0 commit comments