Skip to content

Commit

Permalink
Clarify documentation on when fixtures can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
millerdev committed Oct 17, 2024
1 parent eb1fcb0 commit 6d5c991
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ set up and registered for tear down, but does not pass the yielded value to the
decorated function. This is appropriate for fixtures that have side effects.

The location where a fixture is defined has no affect on where it can be used.
Any code that can import it can use it.
Any code that can import it can use it as long as it is executed in the context
of running tests and does not violate scope restrictions.

### @use shorthand

Expand Down

0 comments on commit 6d5c991

Please sign in to comment.