Hi, as best I can tell this component does not declare that is it not standalone. Since Angular 19, components now default to being standalone, so when used in conjunction with a fix to ng-mocks seen here I get the following error:
Unexpected "MockOf_NgxScannerQrcodeComponent" found in the "declarations" array of the
"MockOf_NgxScannerQrcodeModule" NgModule, "MockOf_NgxScannerQrcodeComponent" is marked as standalone and can't
be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?
It seems like this project just needs to amend the component to declare standalone: false explicitly. I would produce a PR to do so except this repo doesn't seem to actually contain the source code.
Hi, as best I can tell this component does not declare that is it not standalone. Since Angular 19, components now default to being standalone, so when used in conjunction with a fix to
ng-mocksseen here I get the following error:It seems like this project just needs to amend the component to declare
standalone: falseexplicitly. I would produce a PR to do so except this repo doesn't seem to actually contain the source code.