Closed Romko775 closed 3 years ago
Not sure, but maybe you have to exclude angular-mydatepicker from the test.
angular-mydatepicker is exported here: https://github.com/kekeh/angular-mydatepicker/blob/master/projects/angular-mydatepicker/src/lib/angular-mydatepicker.input.ts#L41
Okay, thank you, I will try it
@kekeh Thank you! Your link helped.
Fix for me
@Directive({
selector: '[angular-mydatepicker]',
exportAs: 'angular-mydatepicker',
})
class DatepickerDirective {
}
...
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [SomeComponent, DatepickerDirective],
Hello @kekeh, I impressed with your datepicker, but my tests are failing with this
My code:
Can you help me how to fix tests ?