-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tests): prefer inline-snapshot for most snapshots (#887)
We now will use [inline-snapshot](https://github.com/15r10nk/inline-snapshot) for the majority of the snapshot tests as I find inline snapshots to be considerably better as you don't lose context by having to switch to a separate file to see the expected value. We still use syrupy for the generation snapshot tests and any snapshot tests used in `databases/` as they're shared between the sync and the async tests, once both the sync client and async client can be imported at once, the tests can be unified and we can rely on `inline-snapshot`.
- Loading branch information
1 parent
6485828
commit 1d73328
Showing
7 changed files
with
282 additions
and
390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
pytest-sugar | ||
mock==5.1.0 | ||
pytest-subprocess==1.5.0 | ||
inline-snapshot==0.6.1 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.