diff --git a/.changeset/cuddly-guests-hide.md b/.changeset/cuddly-guests-hide.md new file mode 100644 index 0000000000..dc597e7bc3 --- /dev/null +++ b/.changeset/cuddly-guests-hide.md @@ -0,0 +1,5 @@ +--- +'@backstage/create-app': minor +--- + +add cy.\*\*.should to cypress eslintrc diff --git a/packages/app/cypress/.eslintrc.json b/packages/app/cypress/.eslintrc.json index a467608916..b903ff250a 100644 --- a/packages/app/cypress/.eslintrc.json +++ b/packages/app/cypress/.eslintrc.json @@ -5,7 +5,7 @@ "jest/expect-expect": [ "error", { - "assertFunctionNames": ["expect", "cy.contains"] + "assertFunctionNames": ["expect", "cy.contains", "cy.**.should"] } ] } diff --git a/packages/create-app/templates/default-app/packages/app/cypress/.eslintrc.json b/packages/create-app/templates/default-app/packages/app/cypress/.eslintrc.json index a467608916..b903ff250a 100644 --- a/packages/create-app/templates/default-app/packages/app/cypress/.eslintrc.json +++ b/packages/create-app/templates/default-app/packages/app/cypress/.eslintrc.json @@ -5,7 +5,7 @@ "jest/expect-expect": [ "error", { - "assertFunctionNames": ["expect", "cy.contains"] + "assertFunctionNames": ["expect", "cy.contains", "cy.**.should"] } ] } diff --git a/packages/techdocs-cli-embedded-app/cypress/.eslintrc.json b/packages/techdocs-cli-embedded-app/cypress/.eslintrc.json index a467608916..b903ff250a 100644 --- a/packages/techdocs-cli-embedded-app/cypress/.eslintrc.json +++ b/packages/techdocs-cli-embedded-app/cypress/.eslintrc.json @@ -5,7 +5,7 @@ "jest/expect-expect": [ "error", { - "assertFunctionNames": ["expect", "cy.contains"] + "assertFunctionNames": ["expect", "cy.contains", "cy.**.should"] } ] }