GitHub

MockDaffAuthLoginFacade

class

import { MockDaffAuthLoginFacade } from '@daffodil/auth/state/testing'

@Injectable()
class MockDaffAuthLoginFacade implements DaffAuthLoginFacadeInterface {
  loading$: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false)
  errors$: BehaviorSubject<DaffStateError[]> = new BehaviorSubject<DaffStateError[]>([])

  dispatch(action: Action<string>): void
}

() Methods

dispatch
void
Parameters
Parameteraction: Action
Description