|
7 | 7 | * LICENSE file in the root directory of this source tree. |
8 | 8 | */ |
9 | 9 |
|
| 10 | +/* List of talks & videos */ |
| 11 | + |
| 12 | +const videoTypes = { |
| 13 | + YOUTUBE: 'youtube', |
| 14 | + IFRAME: 'iframe', |
| 15 | +}; |
| 16 | + |
| 17 | +const videos = [ |
| 18 | + { |
| 19 | + title: 'Rogelio Guzman - Jest Snapshots and Beyond - React Conf 2017', |
| 20 | + type: videoTypes.YOUTUBE, |
| 21 | + url: 'https://www.youtube.com/embed/HAuXJVI_bUs', |
| 22 | + 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.', |
| 23 | + }, |
| 24 | + { |
| 25 | + title: 'Snapshot testing - Anna Doubkova, React London 2017', |
| 26 | + type: videoTypes.YOUTUBE, |
| 27 | + url: 'https://www.youtube.com/embed/sCbGfi40IWk', |
| 28 | + description: 'In this talk, [Anna Doubkova](https://twitter.com/lithinn) explains Snapshot Testing in brief while also highlighting testing pitfalls.', |
| 29 | + }, |
| 30 | + { |
| 31 | + title: 'Test React applications using Enzyme & Jest', |
| 32 | + type: videoTypes.YOUTUBE, |
| 33 | + url: 'https://www.youtube.com/embed/8Ww2QBVIw0I', |
| 34 | + 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.', |
| 35 | + } |
| 36 | +]; |
| 37 | + |
10 | 38 | /* List of projects/orgs using your project for the users page */ |
11 | 39 | const users = [ |
12 | 40 | { |
@@ -257,6 +285,8 @@ const siteConfig = { |
257 | 285 | projectName: 'jest', |
258 | 286 | repo: 'facebook/jest', |
259 | 287 | users, |
| 288 | + videos, |
| 289 | + videoTypes, |
260 | 290 | editUrl: repoUrl + '/edit/master/docs/', |
261 | 291 | headerLinks: [ |
262 | 292 | {doc: 'getting-started', label: 'Docs'}, |
@@ -284,6 +314,7 @@ const siteConfig = { |
284 | 314 | }, |
285 | 315 | scripts: ['https://buttons.github.io/buttons.js'], |
286 | 316 | repoUrl, |
| 317 | + siteConfigUrl: 'https://github.com/facebook/jest/edit/master/website/siteConfig.js', |
287 | 318 | }; |
288 | 319 |
|
289 | 320 | module.exports = siteConfig; |
0 commit comments