Skip to content

Commit 0badb4a

Browse files
committed
docs: fix async further reading links
1 parent 8c83767 commit 0badb4a

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

docs/rules/no-async-before.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Prevent using async/await in Cypress test cases (no-async-tests)
22

3-
Cypress commands that return a promise may cause side effects in before/beforeEach hooks, possibly causing unexpected behavior.
3+
Cypress commands that return a promise may cause side effects in before/beforeEach hooks, possibly causing unexpected behavior.
44

55
## Rule Details
66

@@ -47,6 +47,5 @@ If there are genuine use-cases for using `async/await` in your before then you m
4747

4848
## Further Reading
4949

50-
- [Commands Are Asynchronous](https://docs.cypress.io/guides/core-concepts/introduction-to-cypress.html#Commands-Are-Asynchronous)
51-
- [Commands Are Promises](https://docs.cypress.io/guides/core-concepts/introduction-to-cypress.html#Commands-Are-Promises)
52-
- [Commands Are Not Promises](https://docs.cypress.io/guides/core-concepts/introduction-to-cypress.html#Commands-Are-Not-Promises)
50+
- [Mixing Async and Sync code](https://on.cypress.io/guides/core-concepts/introduction-to-cypress#Mixing-Async-and-Sync-code)
51+
- [Commands Are Asynchronous](https://on.cypress.io/guides/core-concepts/introduction-to-cypress.html#Commands-Are-Asynchronous)

docs/rules/no-async-tests.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,5 @@ If there are genuine use-cases for using `async/await` in your test cases then y
4747

4848
## Further Reading
4949

50-
- [Commands Are Asynchronous](https://docs.cypress.io/guides/core-concepts/introduction-to-cypress.html#Commands-Are-Asynchronous)
51-
- [Commands Are Promises](https://docs.cypress.io/guides/core-concepts/introduction-to-cypress.html#Commands-Are-Promises)
52-
- [Commands Are Not Promises](https://docs.cypress.io/guides/core-concepts/introduction-to-cypress.html#Commands-Are-Not-Promises)
50+
- [Mixing Async and Sync code](https://on.cypress.io/guides/core-concepts/introduction-to-cypress#Mixing-Async-and-Sync-code)
51+
- [Commands Are Asynchronous](https://on.cypress.io/guides/core-concepts/introduction-to-cypress.html#Commands-Are-Asynchronous)

0 commit comments

Comments
 (0)