Skip to content

Commit 2360256

Browse files
committed
Redo all of the screenshots
And commit fixtures so we can easily reproduce them. The `snapshot-testin.png` screenshot will come as a separate repo in the AVA org.
1 parent 589489d commit 2360256

20 files changed

+98
-7
lines changed

media/magic-assert-combined.png

7.43 KB
Loading

media/magic-assert-nested.png

10.5 KB
Loading

media/magic-assert-objects.png

-10.2 KB
Loading

media/magic-assert-strings.png

4.79 KB
Loading

media/mini-reporter.gif

398 KB
Loading
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import test from 'ava';
2+
3+
test('nested', t => {
4+
const actual = {
5+
a: {
6+
b: false
7+
}
8+
};
9+
10+
t.true(actual.a.b);
11+
});
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import test from 'ava';
2+
3+
test('objects', t => {
4+
const actual = {
5+
a: 1,
6+
b: {
7+
c: 2
8+
}
9+
};
10+
11+
const expected = {
12+
a: 1,
13+
b: {
14+
c: 3
15+
}
16+
};
17+
18+
t.deepEqual(actual, expected);
19+
});
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import test from 'ava';
2+
3+
test('strings', t => {
4+
const actual = 'this is amazing';
5+
const expected = 'this is cool';
6+
t.is(actual, expected);
7+
});
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Run the [Got](https://github.com/sindresorhus/got) tests.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import test from 'ava';
2+
3+
test('a', t => {
4+
t.pass();
5+
});
6+
7+
test('b', t => {
8+
t.pass();
9+
});
10+
11+
test('c', t => {
12+
t.pass();
13+
});
14+
15+
test('d', t => {
16+
t.pass();
17+
});
18+
19+
test('e', t => {
20+
t.pass();
21+
});
22+
23+
test('f', t => {
24+
t.pass();
25+
});
26+
27+
test('g', t => {
28+
t.pass();
29+
});
30+
31+
test('h', t => {
32+
t.pass();
33+
});
34+
35+
test('i', t => {
36+
t.pass();
37+
});
38+
39+
test('j', t => {
40+
t.pass();
41+
});
42+

0 commit comments

Comments
 (0)