HaithemMosbahi / ngx-avatar

Universal avatar component for angular 2+ applications makes it possible to fetch / generate avatar from different sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix continuous integration build

HaithemMosbahi opened this issue · comments

This is about fixing the travis build

Let's start with #40

@HaithemMosbahi can you help me on that?

Chromium 62.0.3202 (Ubuntu 0.0.0): Executed 1 of 1 (1 FAILED) (0 secs / 0.092 secs)
Chromium 62.0.3202 (Ubuntu 0.0.0) AvatarComponent should create FAILED
	Error: StaticInjectorError(DynamicTestModule)[AvatarComponent -> SourceFactory]: 
	  StaticInjectorError(Platform: core)[AvatarComponent -> SourceFactory]: 
	    NullInjectorError: No provider for SourceFactory!

@odahcam yes sure, the service SourceFactory must be provided to avatar.component spec. I'm going to update the pull request

And success: https://travis-ci.org/HaithemMosbahi/ngx-avatar/builds/436514474

Once this doesn't depends on any release to take effect, I'm closing it.