Skip to content

Commit aea841e

Browse files
fix test
1 parent a0047b2 commit aea841e

File tree

2 files changed

+23
-7
lines changed

2 files changed

+23
-7
lines changed

__tests__/__snapshots__/index.js.snap

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@ Object {
6565
"getSkillTagsDone": [Function],
6666
"getSkillTagsInit": [Function],
6767
},
68+
"memberSearch": Object {
69+
"checkIfSearchTermIsATag": [Function],
70+
"clearMemberSearch": [Function],
71+
"loadMoreUsernames": [Function],
72+
"memberSearchSuccess": [Function],
73+
"resetSearchTerm": [Function],
74+
"setSearchTag": [Function],
75+
"setSearchTerm": [Function],
76+
"topMemberSearchSuccess": [Function],
77+
"usernameSearchSuccess": [Function],
78+
},
6879
"memberTasks": Object {
6980
"dropAll": [Function],
7081
"getDone": [Function],
@@ -238,6 +249,7 @@ Object {
238249
"groups": [Function],
239250
"looker": [Function],
240251
"lookup": [Function],
252+
"memberSearch": [Function],
241253
"memberTasks": [Function],
242254
"members": [Function],
243255
"mySubmissionsManagement": [Function],
@@ -290,6 +302,10 @@ Object {
290302
"default": undefined,
291303
"getService": [Function],
292304
},
305+
"memberSearch": Object {
306+
"default": undefined,
307+
"getService": [Function],
308+
},
293309
"members": Object {
294310
"default": undefined,
295311
"getService": [Function],

src/actions/member-search.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @module "actions.member-search"
33
* @desc Actions for management of members search.
44
*/
5-
import _ from 'lodash'
5+
import _ from 'lodash';
66
import { createActions } from 'redux-actions';
77
import { getService } from '../services/member-search';
88

@@ -49,8 +49,8 @@ function checkIfSearchTermIsATag(searchTerm) {
4949
*/
5050
function setSearchTerm(searchTerm) {
5151
return {
52-
previousSearchTerm: searchTerm
53-
}
52+
previousSearchTerm: searchTerm,
53+
};
5454
}
5555

5656
/**
@@ -61,8 +61,8 @@ function setSearchTerm(searchTerm) {
6161
*/
6262
function setSearchTag(searchTag) {
6363
return {
64-
searchTermTag: searchTag
65-
}
64+
searchTermTag: searchTag,
65+
};
6666
}
6767

6868
export default createActions({
@@ -75,6 +75,6 @@ export default createActions({
7575
MEMBER_SEARCH_SUCCESS: _.noop,
7676
SET_SEARCH_TERM: setSearchTerm,
7777
SET_SEARCH_TAG: setSearchTag,
78-
RESET_SEARCH_TERM: _.noop
79-
}
78+
RESET_SEARCH_TERM: _.noop,
79+
},
8080
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy