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

Testing with jest - Unexpected value 'OwlDateTimeModule' imported by the module #150

Open
inpercima opened this issue Mar 3, 2022 · 1 comment

Comments

@inpercima
Copy link

I like this component and I also will help if needed.

At the moment I do have some trouble with the current version 13.1.1 and testing my angular app with jest.
I have no idea if this is connected to the issue: #141.

I have a shared Module importing and exporting OwlDateTimeModule and OwlNativeDateTimeModule.

I include it in my test and I got following error:

Unexpected value 'OwlDateTimeModule' imported by the module 'SharedModule'. Please add an @NgModule annotation.
@danielmoncada
Copy link
Owner

thanks @inpercima appreciate you willing to help. let me try and work on the ng13 upgrade, then you can retest to see if it fixes it. I'm assuming we just need to annotation added.

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

2 participants