You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/top-describe-path.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Ensure that the top `describe` call in each test file use the correct path (top-describe-path)
1
+
# Ensure that the top `describe`or `context`call in each test file use the correct path (top-describe-path)
2
2
3
3
We use `mocha` in many of our projects and have adopted the convention of using `__filename` as the description in the root `describe` in each test file. That way it's easy to find a failing test.
4
4
It is easier and less error-prone to write `__filename` then the actual path.
0 commit comments