Skip to content

Commit 507721a

Browse files
committed
update docusaurus
1 parent 1229e36 commit 507721a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ Automated test comes with benefits that helps us write better code and makes it
11141114
- As mentioned in [function conventions](#functions) try to keep them pure, and impure one small and focused.
11151115
It makes them easy to test, by passing args and observing return values, since we will **rarely need to mock dependencies**.
11161116
- Strive to write tests in a way your app is used by a user, meaning test business logic.
1117-
E.g. given some user input, they receive the expected output for a process.
1117+
E.g. For a specific user role or permission, given some input, we receive the expected output from the process.
11181118
- Make tests as isolated as possible, where they don't depend on order of execution and should run independently with its own local storage, session storage, data, cookies etc.
11191119
Test isolation improves reproducibility, makes debugging easier and prevents cascading test failures.
11201120
- Tests should be resilient to changes.

0 commit comments

Comments
 (0)