Skip to content
New issue

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

Angular 19: Standalone defaults to true #319

Open
GipHub123 opened this issue Jan 22, 2025 · 0 comments
Open

Angular 19: Standalone defaults to true #319

GipHub123 opened this issue Jan 22, 2025 · 0 comments

Comments

@GipHub123
Copy link

GipHub123 commented Jan 22, 2025

Current version is not compatible with Angular 19 since components are currently missing standalone -flag.

@Component({
standalone: false
})

It's causing that test cases are failing with following error

Error: Unexpected "MockOfNgxFileDropComponent" found in the "declarations" array of the "MockOfNgxFileDropModule" NgModule, "MockOfNgxFileDropComponent" 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)?
      Unexpected "MockOfNgxFileDropContentTemplateDirective" found in the "declarations" array of the "MockOfNgxFileDropModule" NgModule, "MockOfNgxFileDropContentTemplateDirective" 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)?

Versions:

ng-mocks: 14.13.2,
angular: 19.1.2
ngx-file-drop: 16.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant