Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit c6500f7

Browse files
author
Nick Litwin
committed
Fix test speed
1 parent bc47c58 commit c6500f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/actions/loadMemberSearch.spec.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ describe('loadMemberSearch Actions:', () => {
107107
}
108108
})
109109

110+
mockSuccessfulTagAPICall()
111+
mockSuccessfulUsernameMatchesAPICall()
112+
110113
return loadMemberSearch('Java')(store.dispatch, store.getState)
111114
.then( () => {
112115
const storeActions = store.getActions()
113116

114-
mockSuccessfulTagAPICall()
115-
mockSuccessfulUsernameMatchesAPICall()
116-
117117
const loadMoreAction = _.some(storeActions, a => a.type === LOAD_MORE_USERNAMES)
118118
const successAction = _.some(storeActions, a => a.type === USERNAME_SEARCH_SUCCESS)
119119

0 commit comments

Comments
 (0)