Skip to content

Commit

Permalink
Add images to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
leowrites committed Oct 19, 2024
1 parent 5ef7cf3 commit 9f4acea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/99-api/images/jest-svg-viewer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions memory-viz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,11 @@ To run the test suite, execute the following command:
```console
$ npm run test --workspace=memory-viz
```

#### Viewing Jest SVG snapshots

To easily view the Jest SVG snapshots, run `open memory-viz/src/tests/__snapshots__/snapshot.html` and select the snapshot outputs with the `*.snap` extension:

![Jest SVG Viewer File Select](../docs/docs/99-api/images/jest-svg-viewer-file-select.png)

![Jest SVG Viewer](../docs/docs/99-api/images/jest-svg-viewer.png)

0 comments on commit 9f4acea

Please sign in to comment.