MockDaffAuthFacade
import { MockDaffAuthFacade } from '@daffodil/auth/state/testing'
@Injectable()
class MockDaffAuthFacade implements DaffAuthFacadeInterface {
loading$: BehaviorSubject<boolean>
errors$: BehaviorSubject<DaffStateError[]>
loggedIn$: BehaviorSubject<boolean>
dispatch(action: Action<string>)
}
Properties
Name | Type | Description |
---|---|---|
loading$ | BehaviorSubject<boolean> | |
errors$ | BehaviorSubject<DaffStateError[]> | |
loggedIn$ | BehaviorSubject<boolean> | Whether the current user is logged in. |
dispatch |