Tidy up test compositions #3820
Annotations
2 errors and 2 warnings
|
test-js
Process completed with exit code 1.
|
|
helloworld/HelloWorld.test.ts:
helloworld/HelloWorld.test.ts#L20
Error: [vitest] No "default" export is defined on the "crypto" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("crypto"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ helloworld/HelloWorld.test.ts:20:32
|
|
test-js
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3, asdf-vm/actions/install@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-rust
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3, asdf-vm/actions/install@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|