We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
It would be great if i could setup vitest + spectator.
https://analogjs.org/docs/features/testing/vitest
Currently I am getting an error : ReferenceError: jasmine is not defined ❯ ../../../node_modules/projects/spectator/src/lib/mock.ts:76:58 ❯ installProtoMethods ../../../node_modules/projects/spectator/src/lib/mock.ts:54:19 ❯ createSpyObject ../../../node_modules/projects/spectator/src/lib/mock.ts:75:3 ❯ Object.useFactory ../../../node_modules/projects/spectator/src/lib/mock.ts:95:23 ❯ Object.factory ../../../../../packages/core/src/di/r3_injector.ts:608:32 ❯ ../../../../../packages/core/src/di/r3_injector.ts:488:35 ❯ runInInjectorProfilerContext ../../../../../packages/core/src/render3/debug/injector_profiler.ts:285:5 ❯ R3Injector.hydrate ../../../../../packages/core/src/di/r3_injector.ts:487:11 ❯ R3Injector.get ../../../../../packages/core/src/di/r3_injector.ts:341:23 ❯ R3Injector.get ../../../../../packages/core/src/di/r3_injector.ts:352:27
add vitest types
none
No
The text was updated successfully, but these errors were encountered:
Would be very interesting now that Nx supports vitest for Angular out of the box nrwl/nx#27311
Sorry, something went wrong.
I would also like to use Angular with Vitest and Spectator. 👍
No branches or pull requests
Description
Hi,
It would be great if i could setup vitest + spectator.
https://analogjs.org/docs/features/testing/vitest
Currently I am getting an error :
ReferenceError: jasmine is not defined
❯ ../../../node_modules/projects/spectator/src/lib/mock.ts:76:58
❯ installProtoMethods ../../../node_modules/projects/spectator/src/lib/mock.ts:54:19
❯ createSpyObject ../../../node_modules/projects/spectator/src/lib/mock.ts:75:3
❯ Object.useFactory ../../../node_modules/projects/spectator/src/lib/mock.ts:95:23
❯ Object.factory ../../../../../packages/core/src/di/r3_injector.ts:608:32
❯ ../../../../../packages/core/src/di/r3_injector.ts:488:35
❯ runInInjectorProfilerContext ../../../../../packages/core/src/render3/debug/injector_profiler.ts:285:5
❯ R3Injector.hydrate ../../../../../packages/core/src/di/r3_injector.ts:487:11
❯ R3Injector.get ../../../../../packages/core/src/di/r3_injector.ts:341:23
❯ R3Injector.get ../../../../../packages/core/src/di/r3_injector.ts:352:27
Proposed solution
add vitest types
Alternatives considered
none
Do you want to create a pull request?
No
The text was updated successfully, but these errors were encountered: