Repository navigation
Replies: 3 comments 2 replies
|
This is a bug with Please report this in https://github.com/angular/angular |
0 replies
|
The support for the search element was added some time ago already to the angular compiler: angular/angular#54944 It works fine on angular side. It compiles fine while building and also works with the their vitest integration. The error only occurs on Tests with vitest Analog in a nx workspace or on a Angular project with I'm unsure where the error is originated |
0 replies
|
The fix here is to disable |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Please provide the environment you discovered this bug in.
If using the HTML search element within an angular component, there is always the following printed to the stderr:
NG0304: 'search' is not a known elementFor example:
example:
https://stackblitz.com/edit/github-juj4mknx?file=src%2Fapp%2Fapp.ts
Which area/package is the issue in?
vitest-angular
Description
If using nx with
vitest-analogor a plain Angular project with@analogjs/vitest-angular, in both cases the errorNG0304occurs forsearch.If using the default Angular Vitest integration the error does not occur.
Please provide the exception or error you saw
Other information
No response
I would be willing to submit a PR to fix this issue
All reactions