add the following to the imports on your app.module.ts
RouterModule.forRoot(
[
{ path: "", component: LoginComponent}
]
)
solved StaticInjectorError(Platform: core)[RegisterStoreComponent -> Router]: NullInjectorError: No provider for Router! Angular 5.2 / Karma-jasmine