Commit f59ee72
fix: configure jasmine to use require() for loading spec files
Jasmine 5 defaults to import() which goes through Node's ESM loader.
Node 22's ESM loader cannot handle .ts files natively since ts-node
only registers a CJS require hook. Setting jsLoader to "require" makes
jasmine use require() instead, which ts-node intercepts correctly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent da1ec25 commit f59ee72
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
0 commit comments