Commit 8e3651a
authored
Fix ReferenceError: module is not defined in ES module scope
This error happens when using Vitest (not sure about Jest) in an ESM environment.1 parent bcba45c commit 8e3651a
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
0 commit comments