Commit de38167
committed
Use manual mock factory for isbinaryfile to avoid ESM parse error
jest.mock('isbinaryfile') without a factory still attempts to parse the
real ESM module for auto-mocking. Provide an explicit factory function
so Jest never loads the real module.1 parent 92d851a commit de38167
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
0 commit comments