Skip to content

Commit 95dbd05

Browse files
committed
Merge branch 'develop' into tco-scoreboard
2 parents a9d56ea + 927afe4 commit 95dbd05

File tree

217 files changed

+5641
-1407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+5641
-1407
lines changed

.exchange-rates.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"disclaimer":"Usage subject to terms: https://openexchangerates.org/terms","license":"https://openexchangerates.org/license","timestamp":1506888001,"base":"USD","rates":{"AED":3.67304,"AFN":68.671,"ALL":113.870562,"AMD":481.658804,"ANG":1.790817,"AOA":165.9215,"ARS":17.556721,"AUD":1.275165,"AWG":1.792249,"AZN":1.68525,"BAM":1.665744,"BBD":2,"BDT":82.808961,"BGN":1.65936,"BHD":0.379507,"BIF":1759.35,"BMD":1,"BND":1.3655,"BOB":7.007198,"BRL":3.164872,"BSD":1,"BTC":0.000231700681,"BTN":65.367042,"BWP":10.361384,"BYN":1.97054,"BZD":2.027943,"CAD":1.248955,"CDF":1574.900794,"CHF":0.96829,"CLF":0.02376,"CLP":640.1,"CNH":6.647985,"CNY":6.6525,"COP":2936.91,"CRC":576.194261,"CUC":1,"CUP":25.5,"CVE":93.7,"CZK":22.033,"DJF":178.97,"DKK":6.309359,"DOP":48.055714,"DZD":113.760984,"EGP":17.675,"ERN":15.332621,"ETB":23.639913,"EUR":0.84796,"FJD":2.024752,"FKP":0.747231,"GBP":0.747231,"GEL":2.47065,"GGP":0.747231,"GHS":4.433011,"GIP":0.747231,"GMD":47.35,"GNF":9048.55,"GTQ":7.379029,"GYD":207.42747,"HKD":7.81132,"HNL":23.548227,"HRK":6.381207,"HTG":63.462522,"HUF":264.275,"IDR":13498.158815,"ILS":3.53425,"IMP":0.747231,"INR":65.3033,"IQD":1176.086141,"IRR":33482.5,"ISK":106.1,"JEP":0.747231,"JMD":130.991002,"JOD":0.7086,"JPY":112.649,"KES":103.866643,"KGS":68.645752,"KHR":4074.55,"KMF":417.125,"KPW":900,"KRW":1147.5,"KWD":0.303898,"KYD":0.838314,"KZT":342.53341,"LAK":8343.8,"LBP":1517.25,"LKR":154.010818,"LRD":117.662332,"LSL":13.586291,"LYD":1.379274,"MAD":9.479793,"MDL":17.574784,"MGA":3046.35,"MKD":52.11,"MMK":1372.75,"MNT":2459.308235,"MOP":8.094148,"MRO":367.14129,"MUR":33.98,"MVR":15.409873,"MWK":729.93295,"MXN":18.249844,"MYR":4.22244,"MZN":62.008262,"NAD":13.586291,"NGN":359.708899,"NIO":30.544456,"NOK":7.974222,"NPR":105.151062,"NZD":1.383952,"OMR":0.387495,"PAB":1,"PEN":3.286661,"PGK":3.213892,"PHP":50.981395,"PKR":106.010974,"PLN":3.6583,"PYG":5689.4,"QAR":3.66285,"RON":3.889289,"RSD":101.522947,"RUB":57.5892,"RWF":837.363477,"SAR":3.7502,"SBD":7.848531,"SCR":13.391885,"SDG":6.717258,"SEK":8.164529,"SGD":1.357997,"SHP":0.747231,"SLL":7603.75,"SOS":582.924833,"SRD":7.438,"SSP":126.8534,"STD":20820.5,"SVC":8.80296,"SYP":514.94999,"SZL":13.465,"THB":33.3855,"TJS":8.84842,"TMT":3.499986,"TND":2.477994,"TOP":2.22345,"TRY":3.562514,"TTD":6.793774,"TWD":30.33,"TZS":2266.250904,"UAH":26.751304,"UGX":3626.9,"USD":1,"UYU":29.321769,"UZS":8117.9,"VEF":10.15575,"VND":22770.766667,"VUV":104.889999,"WST":2.5127,"XAF":556.225298,"XAG":0.06004933,"XAU":0.00078121,"XCD":2.70255,"XDR":0.707566,"XOF":556.225298,"XPD":0.00106535,"XPF":101.188544,"XPT":0.00109532,"YER":250.3,"ZAR":13.503994,"ZMW":9.723815,"ZWL":322.355011}}
1+
{"disclaimer":"Usage subject to terms: https://openexchangerates.org/terms","license":"https://openexchangerates.org/license","timestamp":1506888001,"base":"USD","rates":{"AED":3.67304,"AFN":68.671,"ALL":113.870562,"AMD":481.658804,"ANG":1.790817,"AOA":165.9215,"ARS":17.556721,"AUD":1.275165,"AWG":1.792249,"AZN":1.68525,"BAM":1.665744,"BBD":2,"BDT":82.808961,"BGN":1.65936,"BHD":0.379507,"BIF":1759.35,"BMD":1,"BND":1.3655,"BOB":7.007198,"BRL":3.164872,"BSD":1,"BTC":0.000231700681,"BTN":65.367042,"BWP":10.361384,"BYN":1.97054,"BZD":2.027943,"CAD":1.248955,"CDF":1574.900794,"CHF":0.96829,"CLF":0.02376,"CLP":640.1,"CNH":6.647985,"CNY":6.6525,"COP":2936.91,"CRC":576.194261,"CUC":1,"CUP":25.5,"CVE":93.7,"CZK":22.033,"DJF":178.97,"DKK":6.309359,"DOP":48.055714,"DZD":113.760984,"EGP":17.675,"ERN":15.332621,"ETB":23.639913,"EUR":0.84796,"FJD":2.024752,"FKP":0.747231,"GBP":0.747231,"GEL":2.47065,"GGP":0.747231,"GHS":4.433011,"GIP":0.747231,"GMD":47.35,"GNF":9048.55,"GTQ":7.379029,"GYD":207.42747,"HKD":7.81132,"HNL":23.548227,"HRK":6.381207,"HTG":63.462522,"HUF":264.275,"IDR":13498.158815,"ILS":3.53425,"IMP":0.747231,"INR":65.3033,"IQD":1176.086141,"IRR":33482.5,"ISK":106.1,"JEP":0.747231,"JMD":130.991002,"JOD":0.7086,"JPY":112.649,"KES":103.866643,"KGS":68.645752,"KHR":4074.55,"KMF":417.125,"KPW":900,"KRW":1147.5,"KWD":0.303898,"KYD":0.838314,"KZT":342.53341,"LAK":8343.8,"LBP":1517.25,"LKR":154.010818,"LRD":117.662332,"LSL":13.586291,"LYD":1.379274,"MAD":9.479793,"MDL":17.574784,"MGA":3046.35,"MKD":52.11,"MMK":1372.75,"MNT":2459.308235,"MOP":8.094148,"MRO":367.14129,"MUR":33.98,"MVR":15.409873,"MWK":729.93295,"MXN":18.249844,"MYR":4.22244,"MZN":62.008262,"NAD":13.586291,"NGN":359.708899,"NIO":30.544456,"NOK":7.974222,"NPR":105.151062,"NZD":1.383952,"OMR":0.387495,"PAB":1,"PEN":3.286661,"PGK":3.213892,"PHP":50.981395,"PKR":106.010974,"PLN":3.6583,"PYG":5689.4,"QAR":3.66285,"RON":3.889289,"RSD":101.522947,"RUB":57.5892,"RWF":837.363477,"SAR":3.7502,"SBD":7.848531,"SCR":13.391885,"SDG":6.717258,"SEK":8.164529,"SGD":1.357997,"SHP":0.747231,"SLL":7603.75,"SOS":582.924833,"SRD":7.438,"SSP":126.8534,"STD":20820.5,"SVC":8.80296,"SYP":514.94999,"SZL":13.465,"THB":33.3855,"TJS":8.84842,"TMT":3.499986,"TND":2.477994,"TOP":2.22345,"TRY":3.562514,"TTD":6.793774,"TWD":30.33,"TZS":2266.250904,"UAH":26.751304,"UGX":3626.9,"USD":1,"UYU":29.321769,"UZS":8117.9,"VEF":10.15575,"VND":22770.766667,"VUV":104.889999,"WST":2.5127,"XAF":556.225298,"XAG":0.06004933,"XAU":0.00078121,"XCD":2.70255,"XDR":0.707566,"XOF":556.225298,"XPD":0.00106535,"XPF":101.188544,"XPT":0.00109532,"YER":250.3,"ZAR":13.503994,"ZMW":9.723815,"ZWL":322.355011}}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ If you need any operations related to currency conversions, pay attention to the
4747
- `PORT` Specifies the port to run the App at. Defaults to 3000;
4848
- `NODE_ENV` Specifies Topcoder backend to use. Should be either `development` either `production`. Defaults to `production`.
4949

50-
5. To rebuild the App's frontend (initially, it is automatically build as a part of the install step) run one of (the result of build will be output into `/build` folder in both cases):
50+
5. To build the App's frontend run one of (the result of build will be output into `/build` folder in both cases):
5151
- `$ npm run build` To rebuild production frontend;
5252
- `$ npm run build:dev` This command should only be used to test whether development build of the front end works. You don't have to execute this command to run development version of the App (the server will automatically build frontend in memory anyway). You can't successfully execute this command without installing dev dependencies.
5353

@@ -112,7 +112,7 @@ This App already contains:
112112
- Node-Config;
113113
- React;
114114
- React CSS Modules (via Babel plugin);
115-
- [react-css-themr](https://github.com/javivelasco/react-css-themr);
115+
- [react-css-super-themr](https://github.com/birdofpreyru/react-css-super-themr);
116116
- React Router;
117117
- Redux with Flux Standard Actions, redux-promise middleware, support of server-side rendering, and DevTools for dev environment;
118118
- SCSS support;

__tests__/server/tc-communities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import request from 'supertest';
22

33
const MODULE = require.resolve('server/server');
44

5-
describe('tc-communities api test', () => {
5+
describe.skip('tc-communities api test', () => {
66
let server;
77
beforeEach(() => {
88
jest.resetModules();

__tests__/shared/actions/challenge.js

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ describe('challenge.fetchChallengeInit', () => {
3434
});
3535

3636
describe('challenge.fetchSubmissionsInit', () => {
37-
const a = actions.challenge.getSubmissionsInit();
37+
const a = actions.challenge.getSubmissionsInit(12345);
3838

3939
test('has expected type', () => {
4040
expect(a.type).toBe('CHALLENGE/GET_SUBMISSIONS_INIT');
4141
});
4242

43-
test('payload is undefined', () =>
44-
expect(a.payload).toBeUndefined());
43+
test('payload is challengeId', () =>
44+
expect(a.payload).toBe('12345'));
4545
});
4646

4747
describe('challenge.getDetailsDone', () => {
@@ -59,21 +59,28 @@ describe('challenge.getDetailsDone', () => {
5959
test('payload is a promise which resolves to the expected object', () =>
6060
a.payload.then(res => expect(res).toEqual([
6161
mockChallenge, {
62+
challengeId: '12345',
6263
submissions: 'DUMMY DATA',
6364
}, undefined,
6465
])),
6566
);
6667
});
6768

6869
describe('challenge.fetchSubmissionsDone', () => {
69-
global.fetch = mockFetch({ submissions: 'DUMMY DATA' });
70+
global.fetch = mockFetch({
71+
challengeId: '12345',
72+
submissions: 'DUMMY DATA',
73+
});
7074

71-
const a = actions.challenge.getSubmissionsDone({});
75+
const a = actions.challenge.getSubmissionsDone(12345, {});
7276

7377
test('has expected type', () => {
7478
expect(a.type).toBe('CHALLENGE/GET_SUBMISSIONS_DONE');
7579
});
7680

7781
test('payload is a promise which resolves to the expected object', () =>
78-
a.payload.then(res => expect(res).toBe('DUMMY DATA')));
82+
a.payload.then(res => expect(res).toEqual({
83+
challengeId: '12345',
84+
submissions: 'DUMMY DATA',
85+
})));
7986
});

__tests__/shared/actions/stats.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ const response2 = {
5252

5353
const result = {
5454
communityId: undefined,
55-
stats: {
56-
numChallenges: 0,
57-
numMembers: 0,
58-
openPrizes: '$0',
59-
},
55+
stats: {},
6056
};
6157

6258
describe('stats.getGroupStats fetch all', () => {

__tests__/shared/actions/tc-communities/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import actions from 'actions/tc-communities/index';
33
describe('tcCommunity.joinDone at frontend with 404 response', () => {
44
global.fetch = jest.fn(() => Promise.resolve({
55
ok: true,
6-
json: () => ({
6+
json: () => Promise.resolve({
77
result: {
88
status: 200,
99
content: 'dummy',

__tests__/shared/actions/tc-communities/meta.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe('tcCommunities.meta.fetchDataInit', () => {
3939
expect(a.payload).toBeUndefined());
4040
});
4141

42-
describe('tcCommunities.meta.fetchDataDone', () => {
42+
describe.skip('tcCommunities.meta.fetchDataDone', () => {
4343
const a = actions.tcCommunities.meta.fetchDataDone('someId');
4444

4545
test('has expected type', () => {
@@ -55,7 +55,7 @@ describe('tcCommunities.meta.fetchDataDone', () => {
5555
expect(a404.type).toBe('TC_COMMUNITIES/META/FETCH_DATA_DONE');
5656
});
5757

58-
test('payload is a promise which rejects to the expected object', () =>
58+
test.skip('payload is a promise which rejects to the expected object', () =>
5959
a404.payload.catch(err => expect(err).toEqual({ communityId: 'someId404', error: '404' })));
6060
});
6161

@@ -72,11 +72,11 @@ describe('tcCommunities.meta.fetchDataDone at frontend', () => {
7272
expect(a.type).toBe('TC_COMMUNITIES/META/FETCH_DATA_DONE');
7373
});
7474

75-
test('payload is a promise which resolves to the expected object', () =>
75+
test.skip('payload is a promise which resolves to the expected object', () =>
7676
a.payload.then(res => expect(res).toEqual('dummy')));
7777
});
7878

79-
describe('tcCommunities.meta.fetchDataDone at frontend with 404 response', () => {
79+
describe.skip('tcCommunities.meta.fetchDataDone at frontend with 404 response', () => {
8080
global.fetch = jest.fn(() => Promise.resolve({
8181
status: 404,
8282
json: () => 'dummy',

__tests__/shared/components/Leaderboard/__snapshots__/LeaderboardTable.jsx.snap

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,16 @@ exports[`Matches shallow shapshot 1`] = `
4545
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__leaderboard-avatar___3Ly7x"
4646
>
4747
<ThemedAvatar
48-
composeTheme="deeply"
48+
composeAdhocTheme="deeply"
49+
composeContextTheme="softly"
4950
customStyles={null}
5051
mapThemrProps={[Function]}
5152
theme={
5253
Object {
5354
"avatar": "src-shared-components-Leaderboard-___avatarStyles__default___1bHTz",
5455
}
5556
}
57+
themePriority="adhoc-context-default"
5658
url="some.fake.string"
5759
/>
5860
</span>
@@ -102,14 +104,16 @@ exports[`Matches shallow shapshot 1`] = `
102104
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__leaderboard-avatar___3Ly7x"
103105
>
104106
<ThemedAvatar
105-
composeTheme="deeply"
107+
composeAdhocTheme="deeply"
108+
composeContextTheme="softly"
106109
customStyles={null}
107110
mapThemrProps={[Function]}
108111
theme={
109112
Object {
110113
"avatar": "src-shared-components-Leaderboard-___avatarStyles__default___1bHTz",
111114
}
112115
}
116+
themePriority="adhoc-context-default"
113117
url="some.fake.string"
114118
/>
115119
</span>
@@ -159,14 +163,16 @@ exports[`Matches shallow shapshot 1`] = `
159163
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__leaderboard-avatar___3Ly7x"
160164
>
161165
<ThemedAvatar
162-
composeTheme="deeply"
166+
composeAdhocTheme="deeply"
167+
composeContextTheme="softly"
163168
customStyles={null}
164169
mapThemrProps={[Function]}
165170
theme={
166171
Object {
167172
"avatar": "src-shared-components-Leaderboard-___avatarStyles__default___1bHTz",
168173
}
169174
}
175+
themePriority="adhoc-context-default"
170176
url="some.fake.string"
171177
/>
172178
</span>
@@ -216,14 +222,16 @@ exports[`Matches shallow shapshot 1`] = `
216222
className="src-shared-components-Leaderboard-LeaderboardTable-___styles__leaderboard-avatar___3Ly7x"
217223
>
218224
<ThemedAvatar
219-
composeTheme="deeply"
225+
composeAdhocTheme="deeply"
226+
composeContextTheme="softly"
220227
customStyles={null}
221228
mapThemrProps={[Function]}
222229
theme={
223230
Object {
224231
"avatar": "src-shared-components-Leaderboard-___avatarStyles__default___1bHTz",
225232
}
226233
}
234+
themePriority="adhoc-context-default"
227235
url="https://www.topcoder-dev.com/assets/a.jpg"
228236
/>
229237
</span>

__tests__/shared/components/Leaderboard/__snapshots__/Podium.jsx.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ exports[`Matches shallow shapshot 2`] = `
5959
className="src-shared-components-Leaderboard-Podium-___styles__Podium___2rb4T"
6060
>
6161
<ThemedLoadingIndicator
62-
composeTheme="deeply"
62+
composeAdhocTheme="deeply"
63+
composeContextTheme="softly"
6364
mapThemrProps={[Function]}
65+
themePriority="adhoc-context-default"
6466
/>
6567
</div>
6668
`;

__tests__/shared/components/Leaderboard/__snapshots__/PodiumSpot.jsx.snap

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ exports[`Matches shallow shapshot 1`] = `
88
className="src-shared-components-Leaderboard-PodiumSpot-___styles__leaderboard-avatar___2Aea7"
99
>
1010
<ThemedAvatar
11-
composeTheme="deeply"
11+
composeAdhocTheme="deeply"
12+
composeContextTheme="softly"
1213
customStyles={null}
1314
mapThemrProps={[Function]}
1415
theme={
1516
Object {
1617
"avatar": "src-shared-components-Leaderboard-___avatarStyles__gold___1KUGN",
1718
}
1819
}
20+
themePriority="adhoc-context-default"
1921
url="some.fake.string"
2022
/>
2123
</span>
@@ -55,14 +57,16 @@ exports[`Matches shallow shapshot 2`] = `
5557
className="src-shared-components-Leaderboard-PodiumSpot-___styles__leaderboard-avatar___2Aea7"
5658
>
5759
<ThemedAvatar
58-
composeTheme="deeply"
60+
composeAdhocTheme="deeply"
61+
composeContextTheme="softly"
5962
customStyles={null}
6063
mapThemrProps={[Function]}
6164
theme={
6265
Object {
6366
"avatar": "src-shared-components-Leaderboard-___avatarStyles__gold___1KUGN",
6467
}
6568
}
69+
themePriority="adhoc-context-default"
6670
url="https://www.topcoder-dev.com/assets/a.jpg"
6771
/>
6872
</span>

__tests__/shared/components/SubmissionManagement/__snapshots__/Submission.jsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports[`Snapshot match 1`] = `
1010
<img
1111
alt="preview"
1212
className="src-shared-components-SubmissionManagement-Submission-___styles__dev-img___rbFEF"
13-
src="https://studio.topcoder-dev.com?module=DownloadSubmission&sbmid=undefined&sbt=tiny"
13+
src="https://studio.topcoder-dev.com?module=DownloadSubmission&sbmid=undefined&sbt=tiny&sfi=1"
1414
/>
1515
</td>
1616
<td
@@ -58,7 +58,7 @@ exports[`Snapshot match 2`] = `
5858
<img
5959
alt="preview"
6060
className="src-shared-components-SubmissionManagement-Submission-___styles__dev-img___rbFEF"
61-
src="https://studio.topcoder-dev.com?module=DownloadSubmission&sbmid=12345&sbt=tiny"
61+
src="https://studio.topcoder-dev.com?module=DownloadSubmission&sbmid=12345&sbt=tiny&sfi=1"
6262
/>
6363
</td>
6464
<td

__tests__/shared/components/SubmissionManagement/__snapshots__/SubmissionManagement.jsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ exports[`Matches shallow shapshot 1`] = `
7373
>
7474
<a
7575
className="tc-btn tc-btn-primary tc-btn-md src-shared-components-SubmissionManagement-SubmissionManagement-___styles__add-sub-btn___1ZToV"
76-
href="https://www.topcoder-dev.com/challenges/undefined/submit/file"
76+
href="https://www.topcoder-dev.com/challenges/undefined/submit"
7777
>
7878
Add Submission
7979
</a>

__tests__/shared/components/TopcoderHeader/__snapshots__/index.jsx.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,14 +469,16 @@ exports[`Render with specified profile 1`] = `
469469
className="src-shared-components-TopcoderHeader-___style__avatar___3BqbY"
470470
>
471471
<ThemedAvatar
472-
composeTheme="deeply"
472+
composeAdhocTheme="deeply"
473+
composeContextTheme="softly"
473474
customStyles={null}
474475
mapThemrProps={[Function]}
475476
theme={
476477
Object {
477478
"avatar": "",
478479
}
479480
}
481+
themePriority="adhoc-context-default"
480482
url={null}
481483
/>
482484
</div>

__tests__/shared/components/TopcoderHeader/mobile/__snapshots__/UserMenu.jsx.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ exports[`Snapshot match 1`] = `
99
href="/members/username"
1010
>
1111
<ThemedAvatar
12-
composeTheme="deeply"
12+
composeAdhocTheme="deeply"
13+
composeContextTheme="softly"
1314
customStyles={null}
1415
mapThemrProps={[Function]}
1516
theme={
1617
Object {
1718
"avatar": "",
1819
}
1920
}
21+
themePriority="adhoc-context-default"
2022
url={null}
2123
/>
2224
<span

__tests__/shared/components/__snapshots__/Avatar.jsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ exports[`Matches shallow shapshot 3`] = `
2929
customStyles={null}
3030
theme={
3131
Object {
32-
"avatar": "src-shared-components-Avatar-___style__avatar___3QhkH test-style",
32+
"avatar": "test-style src-shared-components-Avatar-___style__avatar___3QhkH",
3333
}
3434
}
3535
url={null}
@@ -41,7 +41,7 @@ exports[`Matches shallow shapshot 4`] = `
4141
customStyles={null}
4242
theme={
4343
Object {
44-
"avatar": "src-shared-components-Avatar-___style__avatar___3QhkH test-style",
44+
"avatar": "test-style src-shared-components-Avatar-___style__avatar___3QhkH",
4545
}
4646
}
4747
url="some-fake-string"
Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`renders correctly 1`] = `
4-
<img
5-
alt="Loading..."
6-
className="src-shared-components-LoadingIndicator-___styles__style___3RNHL"
7-
src="/images/2f402d440d802a10b7672b75897c47a5.gif"
8-
/>
4+
<svg
5+
className="src-shared-components-LoadingIndicator-___styles__container___V7JxF"
6+
viewBox="0 0 64 64"
7+
>
8+
<circle
9+
className="src-shared-components-LoadingIndicator-___styles__circle1___hEgvY"
10+
cx="32"
11+
cy="32"
12+
r="28"
13+
/>
14+
<circle
15+
className="src-shared-components-LoadingIndicator-___styles__circle2___2-o58"
16+
cx="32"
17+
cy="32"
18+
r="6"
19+
/>
20+
</svg>
921
`;

__tests__/shared/components/__snapshots__/Modal.jsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ exports[`Snapshot match 1`] = `
77
Object {
88
"container": "src-shared-components-Modal-___styles__container___2HN2G",
99
"overlay": "src-shared-components-Modal-___styles__overlay___36ZAX",
10+
"scrolling-disabled-by-modal": "src-shared-components-Modal-___styles__scrolling-disabled-by-modal___1YgZ3",
1011
}
1112
}
1213
/>

0 commit comments

Comments
 (0)