File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed
__tests__/shared/components/challenge-listing/Filters Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,12 @@ const mockDatas = [{
15
15
{
16
16
communityId : '123' ,
17
17
communityName : 'Sample community' ,
18
+ groupIds : [ '123' ] ,
18
19
} ,
19
20
] ,
21
+ challengeFilter : {
22
+ groupIds : [ '123' ] ,
23
+ } ,
20
24
filterState : {
21
25
groups : [ ] ,
22
26
} ,
@@ -34,8 +38,12 @@ const mockDatas = [{
34
38
{
35
39
communityId : '123' ,
36
40
communityName : 'Sample community' ,
41
+ groupIds : [ '123' ] ,
37
42
} ,
38
43
] ,
44
+ challengeFilter : {
45
+ groupIds : [ '123' ] ,
46
+ } ,
39
47
filterState : {
40
48
groups : [ ] ,
41
49
} ,
Original file line number Diff line number Diff line change @@ -82,7 +82,18 @@ exports[`Matches shallow shapshot 1`] = `
82
82
clearable = { false }
83
83
id = " community-select"
84
84
onChange = { [Function ]}
85
- options = { Array []}
85
+ options = {
86
+ Array [
87
+ Object {
88
+ " data" : <div >
89
+ Sample community
90
+ </div >,
91
+ " label" : " Sample community" ,
92
+ " name" : " Sample community" ,
93
+ " value" : " 123" ,
94
+ },
95
+ ]
96
+ }
86
97
selectRef = { [Function ]}
87
98
simpleValue = { true }
88
99
value = " "
@@ -267,7 +278,18 @@ exports[`Matches shallow shapshot 2`] = `
267
278
clearable = { false }
268
279
id = " community-select"
269
280
onChange = { [Function ]}
270
- options = { Array []}
281
+ options = {
282
+ Array [
283
+ Object {
284
+ " data" : <div >
285
+ Sample community
286
+ </div >,
287
+ " label" : " Sample community" ,
288
+ " name" : " Sample community" ,
289
+ " value" : " 123" ,
290
+ },
291
+ ]
292
+ }
271
293
selectRef = { [Function ]}
272
294
simpleValue = { true }
273
295
value = " "
You can’t perform that action at this time.
0 commit comments