Skip to content

Commit 8d09ba5

Browse files
committed
Link to ava-snapshot-example
1 parent 2360256 commit 8d09ba5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
See: https://github.com/avajs/ava-snapshot-example

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,6 +1022,8 @@ test('HelloWorld component', t => {
10221022
});
10231023
```
10241024

1025+
[Try it out in this example project.](https://github.com/avajs/ava-snapshot-example)
1026+
10251027
Snapshots are stored alongside your test files. If your tests are in a `test` or `tests` folder the snapshots will be stored in a `snapshots` folder. If your tests are in a `__tests__` folder then they they'll be stored in a `__snapshots__` folder.
10261028

10271029
Say you have `~/project/test/main.js` which contains snapshot assertions. AVA will create two files:

0 commit comments

Comments
 (0)