Skip to content

Commit c3d775e

Browse files
committed
[Bug] Avoid weird typescript import/export errors
1 parent b68d5c6 commit c3d775e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/__mocks__/express.ts renamed to src/__mocks__/express.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ const instance = {
88
};
99

1010
const express = () => instance;
11-
(express as any).instance = instance;
11+
express.instance = instance;
1212

13-
export = express;
13+
module.exports = express;

0 commit comments

Comments
 (0)