Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTail authored Aug 13, 2024
1 parent 2e524e2 commit b4efab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designs/2024-hooks-for-test-cases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ For example: [see the tests of the rule mentioned above](https://github.com/impo

The currently well-known approach is fixtures: having actual files on disk, but those files are separated from the
test cases, they have to be maintained (they can be renamed, deleted or changed regardless the cases).
The proposed `setup` hooks provides the place to keep the environment preparation, such as mocking the returns of the
The proposed `setup` hook provides the place to keep the environment preparation, such as mocking the returns of the
file system methods, right within the test cases along with other case variables: `code` and `options`.

The expected outcome is a more streamlined and maintainable testing process:
Expand Down

0 comments on commit b4efab1

Please sign in to comment.