Skip to content

Commit c858a0c

Browse files
authored
Merge pull request #195 from smonn/smonn/typo-fixes
Handful of typo fixes
2 parents 2bce517 + 57591e1 commit c858a0c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

readme.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,7 @@ beforeEach(() => {
10231023
});
10241024
});
10251025
```
1026+
10261027
</details>
10271028
<br/>
10281029

@@ -1063,12 +1064,12 @@ beforeEach(() => {
10631064

10641065
## ⚪ ️2.11 Check integrations corner cases and chaos
10651066

1066-
:white_check_mark: **Do:** When checking integrations, go beyond the happy and sad paths. Check not only errored responses (e.g., HTTP 500 error) but also network-level anomalies like slow and timed-out responses. This will prove that the code is resilient and can handle various network scenarios like taking the right path after a timeout, has no fragile race conditions, and contains a circuit breaker for retries. Reputable interceptor tools can easily simulate various network behaviors like hectic service that occasionally fail. It can even realize when the default HTTP client timeout value is longer than the simulated response time and throw a timeout exception right away without waiting
1067+
:white_check_mark: **Do:** When checking integrations, go beyond the happy and sad paths. Check not only error responses (e.g. HTTP 500 error) but also network-level anomalies like slow and timed-out responses. This will prove that the code is resilient and can handle various network scenarios like taking the right path after a timeout, has no fragile race conditions, and contains a circuit breaker for retries. Reputable interceptor tools can easily simulate various network behaviors like hectic service that occasionally fail. It can even realize when the default HTTP client timeout value is longer than the simulated response time and throw a timeout exception right away without waiting
10671068

10681069

10691070
<br/>
10701071

1071-
**Otherwise:** All your tests pass, it's only the production who will crash or won't report errors correctly when 3rd parties send excpetional responses
1072+
**Otherwise:** All your tests pass, it's only the production who will crash or won't report errors correctly when 3rd parties send exceptional responses
10721073

10731074
<br/>
10741075

@@ -1198,7 +1199,7 @@ test("When flagging to show only VIP, should display only VIP members", () => {
11981199

11991200
![](https://img.shields.io/badge/🔧%20Example%20using%20React-blue.svg "Examples with React")
12001201

1201-
```html
1202+
```jsx
12021203
// the markup code (part of React component)
12031204
<h3>
12041205
<Badge pill className="fixed_badge" variant="dark">
@@ -1225,7 +1226,7 @@ test("Whenever no data is passed to metric, show 0 as default", () => {
12251226

12261227
### :thumbsdown: Anti-Pattern Example: Relying on CSS attributes
12271228

1228-
```html
1229+
```jsx
12291230
<!-- the markup code (part of React component) -->
12301231
<span id="metric" className="d-flex-column">{value}</span>
12311232
<!-- what if the designer changes the classs? -->

0 commit comments

Comments
 (0)