Fixed auth.effects.spec

This commit is contained in:
Giuseppe Digilio
2018-05-17 11:16:27 +02:00
parent f66dd32658
commit d43d36513e

View File

@@ -21,7 +21,6 @@ import {
RefreshTokenErrorAction, RefreshTokenErrorAction,
RefreshTokenSuccessAction RefreshTokenSuccessAction
} from './auth.actions'; } from './auth.actions';
import { AuthTokenInfo } from './models/auth-token-info.model';
import { AuthServiceStub } from '../../shared/testing/auth-service-stub'; import { AuthServiceStub } from '../../shared/testing/auth-service-stub';
import { AuthService } from './auth.service'; import { AuthService } from './auth.service';
import { TruncatablesState } from '../../shared/truncatable/truncatable.reducer'; import { TruncatablesState } from '../../shared/truncatable/truncatable.reducer';
@@ -65,7 +64,6 @@ describe('AuthEffects', () => {
} }
}); });
const expected = cold('--b-', {b: new AuthenticationSuccessAction(token)}); const expected = cold('--b-', {b: new AuthenticationSuccessAction(token)});
expect(authEffects.authenticate$).toBeObservable(expected); expect(authEffects.authenticate$).toBeObservable(expected);