Platform: @ngrx/effects/testing has no exported member 'EffectsTestingModule' - Karma, Jasmine, Angurlar5

Created on 19 Feb 2018  路  1Comment  路  Source: ngrx/platform

I'm trying to code some test in an angular5 app, using @ngrx/effects 5.1.0, but when i'm trying to export the EffectsTestingModule and EffectsRunner from '@ngrx/effects/testing Karma can't importing.

Module '"PROJECT_PATH/@ngrx/effects/testing"' has no exported member 'EffectsTestingModule'.
Module '"PROJECT_PATH/@ngrx/effects/testing"' has no exported member 'EffectsRunner'.

import { EffectsTestingModule, EffectsRunner } from '@ngrx/effects/testing';

Anyone knows whats the problem or i'm missing installing something

Most helpful comment

You're probably reading outdated docs. The current method for testing effecrs is documented here: https://github.com/ngrx/platform/blob/master/docs/effects/testing.md

What you are describing is the testing method used in ngrx v1 I think

>All comments

You're probably reading outdated docs. The current method for testing effecrs is documented here: https://github.com/ngrx/platform/blob/master/docs/effects/testing.md

What you are describing is the testing method used in ngrx v1 I think

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Matmo10 picture Matmo10  路  3Comments

brandonroberts picture brandonroberts  路  3Comments

axmad22 picture axmad22  路  3Comments

doender picture doender  路  3Comments

shyamal890 picture shyamal890  路  3Comments