Skip to content

Commit 1612e05

Browse files
authored
Fix typos discovered by codespell (#238)
1 parent 052b2ad commit 1612e05

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/guides/automated-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Although pattern libraries often start as tools for manual tests during development, they can also be useful for automated UI testing. There are a few benefits to doing UI tests with a pattern library:
44

55
- Test the components in isolation. When tests fail, you will know exactly which component has issues, rather than having to inspect whole pages to understand what might have changed.
6-
- Test the components with mock data. One of the issues with UI tests is to have test data for your UIs to render – you can reuse the pattern library data for this purpose (althoug there are [limitations](../guides/multiple-variants.md)).
6+
- Test the components with mock data. One of the issues with UI tests is to have test data for your UIs to render – you can reuse the pattern library data for this purpose (although there are [limitations](../guides/multiple-variants.md)).
77

88
## Setting up automated UI tests
99

docs/reference/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ YAML isn’t everyone’s favorite markup language, but it has the advantage of
66

77
Here is what you need to know:
88

9-
- Use `.yaml` or `.yml` as the file extension for pattern configuration files. If both are present, the `.yaml` file takes precendence.
9+
- Use `.yaml` or `.yml` as the file extension for pattern configuration files. If both are present, the `.yaml` file takes precedence.
1010
- Use Mappings in place of Python Dictionaries.
1111
- Use Sequences in place of Python lists (or iterables like QuerySets).
1212
- The pattern library uses [PyYAML](https://pyyaml.org/wiki/PyYAMLDocumentation) in particular

pattern_library/monkey_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def node_render(context):
2929
tag_overridden = False
3030
result = ""
3131

32-
# Get overriden tag config.
32+
# Get overridden tag config.
3333
tag_overrides = context.get("__pattern_library_tag_overrides", {})
3434

3535
# Extract values for lookup from the token

0 commit comments

Comments
 (0)