We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error: StaticInjectorError(DynamicTestModule)[MyApp -> Storage]: StaticInjectorError(Platform: core)[MyApp -> Storage]: NullInjectorError: No provider for Storage!
beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [MyApp], imports: [ IonicModule.forRoot(MyApp) ], providers: [ { provide: StatusBar, useFactory: () => StatusBarMock.instance() }, { provide: SplashScreen, useFactory: () => SplashScreenMock.instance() }, { provide: Platform, useFactory: () => PlatformMock.instance() }, { provide: Storage, useFactory: () => StorageMock.instance('introMostrada', false) }, { provide: HeaderColor, useClass: HeaderColorMock } ] }) }));
"ionic-mocks": "^1.3.0"
Any ideias?
The text was updated successfully, but these errors were encountered:
Did you find out what was wrong there @BielMaracaja ? I have the exact same problem.
Sorry, something went wrong.
No branches or pull requests
Error: StaticInjectorError(DynamicTestModule)[MyApp -> Storage]:
StaticInjectorError(Platform: core)[MyApp -> Storage]:
NullInjectorError: No provider for Storage!
"ionic-mocks": "^1.3.0"
Any ideias?
The text was updated successfully, but these errors were encountered: