Fetch PNI group credentials
This commit is contained in:
parent
b9ba732724
commit
a450e13a99
61 changed files with 1911 additions and 875 deletions
|
@ -4,6 +4,7 @@
|
|||
import { assert } from 'chai';
|
||||
import { reducer as rootReducer } from '../../../state/reducer';
|
||||
import { noopAction } from '../../../state/ducks/noop';
|
||||
import { actions as userActions } from '../../../state/ducks/user';
|
||||
import {
|
||||
CallMode,
|
||||
CallState,
|
||||
|
@ -25,7 +26,15 @@ import type {
|
|||
import { getEmptyState } from '../../../state/ducks/calling';
|
||||
|
||||
describe('state/selectors/calling', () => {
|
||||
const getEmptyRootState = () => rootReducer(undefined, noopAction());
|
||||
const getEmptyRootState = () => {
|
||||
const initial = rootReducer(undefined, noopAction());
|
||||
return rootReducer(
|
||||
initial,
|
||||
userActions.userChanged({
|
||||
ourACI: '00000000-0000-4000-8000-000000000000',
|
||||
})
|
||||
);
|
||||
};
|
||||
|
||||
const getCallingState = (calling: CallingStateType) => ({
|
||||
...getEmptyRootState(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue