Is there an existing issue for this?
Current behavior
Currently the @suites/doubles.vitest isn't working in esm projects as esm requries imports to have a file extension. The dist output created by tsc won't add the required .js file extension.
As the package currently builds commonjs and esm, it might be better to use a build tool like tsup.
Manually fixing the esm/index.js and adding the file extension to the mock.static imports fixes the issue.
Minimum reproduction code
https://github.com/
Steps to reproduce
No response
Expected behavior
There should be an error when using await TestBed.solitary(...).compile()
Suites version
3.0.1
Node.js version
24.8.0
In which operating systems have you tested?
Other
No response
Is there an existing issue for this?
Current behavior
Currently the @suites/doubles.vitest isn't working in esm projects as esm requries imports to have a file extension. The dist output created by tsc won't add the required .js file extension.
As the package currently builds commonjs and esm, it might be better to use a build tool like tsup.
Manually fixing the esm/index.js and adding the file extension to the mock.static imports fixes the issue.
Minimum reproduction code
https://github.com/
Steps to reproduce
No response
Expected behavior
There should be an error when using
await TestBed.solitary(...).compile()Suites version
3.0.1
Node.js version
24.8.0
In which operating systems have you tested?
Other
No response