forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsiteConfig.js
More file actions
324 lines (317 loc) · 7.96 KB
/
siteConfig.js
File metadata and controls
324 lines (317 loc) · 7.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
/*eslint sort-keys: 0*/
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* List of talks & videos */
const videoTypes = {
YOUTUBE: 'youtube',
IFRAME: 'iframe',
};
const videos = [
{
title: 'Rogelio Guzman - Jest Snapshots and Beyond - React Conf 2017',
type: videoTypes.YOUTUBE,
url: 'https://www.youtube.com/embed/HAuXJVI_bUs',
description:
'[Rogelio](https://twitter.com/rogeliog) shows how Jest might help you overcome the inertia to write & maintain tests with the help of a simple React Application.',
},
{
title: 'Snapshot testing - Anna Doubkova, React London 2017',
type: videoTypes.YOUTUBE,
url: 'https://www.youtube.com/embed/sCbGfi40IWk',
description:
'In this talk, [Anna Doubkova](https://twitter.com/lithinn) explains Snapshot Testing in brief while also highlighting testing pitfalls.',
},
{
title: 'Test React applications using Enzyme & Jest',
type: videoTypes.YOUTUBE,
url: 'https://www.youtube.com/embed/8Ww2QBVIw0I',
description:
'This talk by [Ryan Walsh](https://twitter.com/_rtwalsh) gives an introduction to testing [React](https://facebook.github.io/react/) components using [Enzyme](http://airbnb.io/enzyme/) and Jest.',
},
];
/* List of projects/orgs using your project for the users page */
const users = [
{
caption: 'Facebook',
image: '/jest/img/logos/facebook.png',
infoLink: 'https://code.facebook.com',
pinned: true,
},
{
caption: 'Oculus',
image: '/jest/img/logos/oculus.png',
infoLink: 'https://www.oculus.com/',
pinned: true,
},
{
caption: 'Instagram',
image: '/jest/img/logos/instagram.png',
infoLink: 'https://www.instagram.com/',
pinned: true,
},
{
caption: 'Twitter',
image: '/jest/img/logos/twitter.png',
infoLink: 'https://www.twitter.com',
pinned: true,
},
{
caption: 'Pinterest',
image: '/jest/img/logos/pinterest.png',
infoLink: 'https://www.pinterest.com',
pinned: true,
},
{
caption: 'The New York Times',
image: '/jest/img/logos/nyt.png',
infoLink: 'http://www.nytimes.com/',
pinned: true,
},
{
caption: 'Airbnb',
image: '/jest/img/logos/airbnb.svg',
infoLink: 'https://www.airbnb.com/',
},
{
caption: 'IBM',
image: '/jest/img/logos/ibm.png',
infoLink: 'http://www.ibm.com/',
},
{
caption: 'ebay',
image: '/jest/img/logos/ebay.png',
infoLink: 'http://www.ebay.com/',
},
{
caption: 'PayPal',
image: '/jest/img/logos/paypal.png',
infoLink: 'https://www.paypal.com',
},
{
caption: 'Spotify',
image: '/jest/img/logos/spotify.png',
infoLink: 'https://www.spotify.com',
},
{
caption: 'Target',
image: '/jest/img/logos/target.png',
infoLink: 'http://www.target.com',
},
{
caption: 'Intuit',
image: '/jest/img/logos/intuit.png',
infoLink: 'https://www.intuit.com/',
},
{
caption: 'Cisco',
image: '/jest/img/logos/cisco.png',
infoLink: 'http://www.cisco.com/',
},
{
caption: 'Algolia',
image: '/jest/img/logos/algolia.svg',
infoLink: 'https://algolia.com',
},
{
caption: 'Artsy',
image: '/jest/img/logos/artsy.png',
infoLink: 'https://www.artsy.net/',
},
{
caption: 'Audiense',
image: '/jest/img/logos/audiense.png',
infoLink: 'https://audiense.com/',
},
{
caption: 'Automattic',
image: '/jest/img/logos/automattic.png',
infoLink: 'https://automattic.com/',
},
{
caption: 'Coinbase',
image: '/jest/img/logos/coinbase.png',
infoLink: 'https://www.coinbase.com/',
},
{
caption: 'Coursera',
image: '/jest/img/logos/coursera.png',
infoLink: 'https://coursera.org/',
},
{
caption: 'Deezer',
image: '/jest/img/logos/deezer.png',
infoLink: 'https://www.deezer.com/',
},
{
caption: 'Discord',
image: '/jest/img/logos/discord.png',
infoLink: 'https://discordapp.com/',
},
{
caption: 'Egghead',
image: '/jest/img/logos/egghead.png',
infoLink: 'https://egghead.io/',
},
{
caption: 'Elastic',
image: '/jest/img/logos/elastic.png',
infoLink: 'https://www.elastic.co/',
},
{
caption: 'Formidable',
image: '/jest/img/logos/formidablelabs.png',
infoLink: 'http://formidable.com/',
},
{
caption: 'Giant Machines',
image: '/jest/img/logos/giantmachines.png',
infoLink: 'https://www.giantmachines.com',
},
{
caption: 'Globo',
image: '/jest/img/logos/globo.png',
infoLink: 'http://www.globo.com/',
},
{
caption: 'Hearsay Systems',
image: '/jest/img/logos/hearsaysystems.png',
infoLink: 'https://hearsaysystems.com/company/careers/',
},
{
caption: 'Help.com',
image: '/jest/img/logos/Help-Clean.png',
infoLink: 'https://help.com',
},
{
caption: 'Hudl',
image: '/jest/img/logos/hudl.png',
infoLink: 'https://www.hudl.com/',
},
{
caption: 'Intercom',
image: '/jest/img/logos/intercom.png',
infoLink: 'https://www.intercom.com/',
},
{
caption: 'Jane',
image: '/jest/img/logos/jane.svg',
infoLink: 'https://jane.com',
},
{
caption: 'Kickstarter',
image: '/jest/img/logos/kickstarter.png',
infoLink: 'https://www.kickstarter.com',
},
{
caption: 'KLM Royal Dutch Airlines',
image: '/jest/img/logos/klm.png',
infoLink: 'https://www.klm.com/',
},
{
caption: 'NHL',
image: '/jest/img/logos/nhl.png',
infoLink: 'https://www.nhl.com/',
},
{
caption: 'Quiqup',
image: '/jest/img/logos/quiqup.png',
infoLink: 'https://www.quiqup.com/',
},
{
caption: 'Reddit',
image: '/jest/img/logos/reddit.png',
infoLink: 'https://www.reddit.com/',
},
{
caption: 'SeatGeek',
image: '/jest/img/logos/seatgeek.png',
infoLink: 'https://seatgeek.com/',
},
{
caption: 'Shopify',
image: '/jest/img/logos/shopify.svg',
infoLink: 'https://www.shopify.com/',
},
{
caption: 'SoundCloud',
image: '/jest/img/logos/soundcloud.png',
infoLink: 'https://soundcloud.com/',
},
{
caption: 'Sprout Social',
image: '/jest/img/logos/sproutsocial.png',
infoLink: 'https://sproutsocial.com/',
},
{
caption: 'Squarespace',
image: '/jest/img/logos/squarespace.png',
infoLink: 'https://squarespace.com/',
},
{
caption: 'Trivago',
image: '/jest/img/logos/trivago.png',
infoLink: 'http://www.trivago.com/',
},
{
caption: 'Truffls',
image: '/jest/img/logos/truffls.png',
infoLink: 'https://truffls.com/',
},
{
caption: 'WOW air',
image: '/jest/img/logos/wowair.png',
infoLink: 'https://wowair.com/',
},
{
caption: 'Xing',
image: '/jest/img/logos/xing.png',
infoLink: 'https://www.xing.com/',
},
];
const repoUrl = 'https://github.com/facebook/jest';
const siteConfig = {
title: 'Jest',
tagline: '🃏 Delightful JavaScript Testing',
url: 'https://facebook.github.io',
baseUrl: '/jest/',
projectName: 'jest',
repo: 'facebook/jest',
users,
videos,
videoTypes,
editUrl: repoUrl + '/edit/master/docs/',
headerLinks: [
{doc: 'getting-started', label: 'Docs'},
{doc: 'api', label: 'API'},
{page: 'help', label: 'Help'},
{blog: true, label: 'Blog'},
{languages: true},
{search: true},
{href: repoUrl, label: 'GitHub'},
],
headerIcon: 'img/jest.svg',
footerIcon: 'img/jest-outline.svg',
favicon: 'img/favicon/favicon.ico',
ogImage: 'img/opengraph.png',
recruitingLink: 'https://crowdin.com/project/jest',
algolia: {
apiKey: process.env.ALGOLIA_JEST_API_KEY,
indexName: 'jest',
},
gaTrackingId: 'UA-44373548-17',
colors: {
primaryColor: '#99424f',
secondaryColor: '#7f2c39',
prismColor: 'rgba(153, 66, 79, 0.03)',
},
scripts: ['https://buttons.github.io/buttons.js'],
repoUrl,
siteConfigUrl:
'https://github.com/facebook/jest/edit/master/website/siteConfig.js',
};
module.exports = siteConfig;