Skip to content

Commit 5e8259c

Browse files
committed
Add defaultExport
1 parent e9a15cb commit 5e8259c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

types/node/test/test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,11 @@ test("mocks a counting function", (t) => {
398398
return 42;
399399
},
400400
},
401+
defaultExport: {
402+
foo() {
403+
return "bar";
404+
},
405+
},
401406
cache: true,
402407
});
403408
// $ExpectType void

0 commit comments

Comments
 (0)