actions/accounts: remove n/a test
This commit is contained in:
parent
1aef2eaf22
commit
53cb5f723b
|
@ -148,7 +148,6 @@ describe('fetchAccountByUsername()', () => {
|
|||
const username = 'tiger';
|
||||
let state, account;
|
||||
|
||||
describe('when the account has already been cached in redux', () => {
|
||||
beforeEach(() => {
|
||||
account = normalizeAccount({
|
||||
id,
|
||||
|
@ -170,15 +169,6 @@ describe('fetchAccountByUsername()', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('should return null', async() => {
|
||||
const result = await store.dispatch(fetchAccountByUsername(username));
|
||||
const actions = store.getActions();
|
||||
|
||||
expect(actions).toEqual([]);
|
||||
expect(result).toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
describe('when "accountByUsername" feature is enabled', () => {
|
||||
beforeEach(() => {
|
||||
const state = rootReducer(undefined, {})
|
||||
|
|
Loading…
Reference in New Issue