fix: add cy.**.should to cypress eslintrc

Signed-off-by: rui ma <ruima@alauda.io>
This commit is contained in:
rui ma
2023-06-29 14:34:18 +08:00
parent ff9d55a69a
commit e3ce5dd3f8
4 changed files with 8 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': minor
---
add cy.\*\*.should to cypress eslintrc
+1 -1
View File
@@ -5,7 +5,7 @@
"jest/expect-expect": [
"error",
{
"assertFunctionNames": ["expect", "cy.contains"]
"assertFunctionNames": ["expect", "cy.contains", "cy.**.should"]
}
]
}
@@ -5,7 +5,7 @@
"jest/expect-expect": [
"error",
{
"assertFunctionNames": ["expect", "cy.contains"]
"assertFunctionNames": ["expect", "cy.contains", "cy.**.should"]
}
]
}
@@ -5,7 +5,7 @@
"jest/expect-expect": [
"error",
{
"assertFunctionNames": ["expect", "cy.contains"]
"assertFunctionNames": ["expect", "cy.contains", "cy.**.should"]
}
]
}