Importing ngx-bootstrap stylesheets and dependencies throws errors #25433
Unanswered
alasdairrobinson
asked this question in
Component Testing
Replies: 0 comments
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.
-
When trying to test a component that has ngx-bootstrap stylesheets or BsDatePickerComponent as a dependency we're getting errors and component testing fails, for the stylesheet:
SassError: Can't find stylesheet to import.
╷
2 │ @import 'ngx-bootstrap/datepicker/bs-datepicker.scss';
and for the date picker component:
Error: NG0301: Export of name 'bsDatepicker' not found! Find more at https://angular.io/errors/NG0301
Is there an issue with importing from bootstrap?
Beta Was this translation helpful? Give feedback.
All reactions