Sam Chung
Sam Chung
Last time I tried switching Jest -> Vitest it did not properly support CJS. So it seemed like I would have to both switch to ESM and Vitest at the...
https://github.com/seek-oss/skuba/blob/48c4208616e4dcd349670131fcad1fc9827e3ce7/src/skuba.ts#L38-L40 This bit of code would need to be re-written as ESM doesn't support importing from directories/magic index.js files.
Thought of using conditional return types but that doesn't look possible: https://github.com/microsoft/TypeScript/issues/33014