You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a weekend of strugle with the configurations i would appreciate some help.
The error Error: NG0908: In this configuration Angular requires Zone.js appears when im trying to run an test that renders/compile a component.
I've been following some documentations from nx and analog js, and getting some AI to review the configs but anything work out, so the configs may be wrong.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
After a weekend of strugle with the configurations i would appreciate some help.
The error Error: NG0908: In this configuration Angular requires Zone.js appears when im trying to run an test that renders/compile a component.
I've been following some documentations from nx and analog js, and getting some AI to review the configs but anything work out, so the configs may be wrong.
this are the files:
vitest.workspace.ts
apps/client/vite.config.mts
apps/client/src/test-setup.ts
I also have provideZonelessChangeDetection() inside apps/client/src/app/app.config.ts
test comand in apps/client/project.json
Beta Was this translation helpful? Give feedback.
All reactions