Skip to content

Commit

Permalink
chore: update docs on mock users
Browse files Browse the repository at this point in the history
  • Loading branch information
David Horm committed Apr 2, 2023
1 parent cd35474 commit dc8a1d2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ Website to visualize your [BGG](https://boardgamegeek.com/) collection to better
1. `pnpm dev` to start the dev server
1. Navigate to http://localhost:5173/

### Testing with Mock Users

When developing locally, mock users have been created to help test certain scenarios:

| User | Scenario |
| ---- | ------------------------------------------------- |
| 000 | Mock response for an empty collection |
| 001 | Mock response for a collection with a single game |
| 202 | Mock response that always returns the 202 code |

### Troubleshoot

If an expected game isn't showing up, then add `debug=1` to the query parameter to see the list of games as it goes through the different filters outputted to the console.
Expand Down

0 comments on commit dc8a1d2

Please sign in to comment.