Skip to content
New issue

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

Ng test error #6

Open
dorianboulch opened this issue Jun 27, 2017 · 0 comments
Open

Ng test error #6

dorianboulch opened this issue Jun 27, 2017 · 0 comments

Comments

@dorianboulch
Copy link

Hello

I have an error when I'm starting ng test command.
It returns : The spinning preloader container was not found

In my app.component.spec.ts I have :

import {NgSpinningPreloader} from 'ng2-spinning-preloader';


TestBed.configureTestingModule({
        providers: [
            ...,
            NgSpinningPreloader
        ],
        declarations: [
            AppComponent,
            ...
        ],
        imports: [
            RouterTestingModule,
            ...
        ],
        schemas: [
            CUSTOM_ELEMENTS_SCHEMA
        ]
    });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant