Skip to content

Commit

Permalink
Add Aaron's talk to the website (#5732)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer authored Mar 6, 2018
1 parent 9c1906e commit f1c422f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/expect/src/__tests__/is_error.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ describe('isError', () => {
} catch (e) {
return e;
}
return null;
});
});
});
6 changes: 3 additions & 3 deletions packages/expect/src/__tests__/spy_matchers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ describe('toHaveBeenCalledTimes', () => {
}).toThrowErrorMatchingSnapshot();

expect(() => {
jestExpect(fn).not.nthCalledWith(1, 'foo1', 'bar'),
jestExpect(fn).not.nthCalledWith(2, 'foo', 'bar1'),
jestExpect(fn).not.nthCalledWith(3, 'foo', 'bar');
jestExpect(fn).not.nthCalledWith(1, 'foo1', 'bar');
jestExpect(fn).not.nthCalledWith(2, 'foo', 'bar1');
jestExpect(fn).not.nthCalledWith(3, 'foo', 'bar');
}).toThrowErrorMatchingSnapshot();
});

Expand Down
8 changes: 8 additions & 0 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ const videos = [
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:
'Aaron Abramov – Establishing Testing Patterns with Software Design Principles',
type: videoTypes.YOUTUBE,
url: 'https://www.youtube.com/embed/_pnW-JjmyXE',
description:
'[Aaron](https://twitter.com/aaronabramov_) shows how the lack of clarity about testing applications leads engineers to write low-quality tests that don’t catch bugs, break unnecessarily, and are hard to write.',
},
{
title: 'Snapshot testing - Anna Doubkova, React London 2017',
type: videoTypes.YOUTUBE,
Expand Down

0 comments on commit f1c422f

Please sign in to comment.