Fix auth test
This commit is contained in:
parent
40af1d91a4
commit
8df3470f87
|
@ -1,4 +1,4 @@
|
||||||
import { Map as ImmutableMap, fromJS } from 'immutable';
|
import { Map as ImmutableMap } from 'immutable';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
AUTH_APP_CREATED,
|
AUTH_APP_CREATED,
|
||||||
|
@ -300,7 +300,7 @@ describe('auth reducer', () => {
|
||||||
it('sets the value of `me`', () => {
|
it('sets the value of `me`', () => {
|
||||||
const action = {
|
const action = {
|
||||||
type: SWITCH_ACCOUNT,
|
type: SWITCH_ACCOUNT,
|
||||||
account: fromJS({ url: 'https://gleasonator.com/users/benis' }),
|
account: { url: 'https://gleasonator.com/users/benis' },
|
||||||
};
|
};
|
||||||
|
|
||||||
const result = reducer(undefined, action);
|
const result = reducer(undefined, action);
|
||||||
|
|
Loading…
Reference in New Issue