Skip to content

Commit db1c49f

Browse files
committed
downgrade cypress plugin
1 parent e9f7290 commit db1c49f

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

cypress/.eslintrc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"plugins": [
3-
"cypress"
4-
],
2+
"plugins": ["cypress"],
53
"globals": {
64
"cy": true,
7-
"Cypress": true
5+
"Cypress": true,
6+
"before": true
87
}
98
}

other/misc-tests/jest.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ module.exports = Object.assign(jestConfig, {
99
},
1010
moduleNameMapper: babelHelpersList.reduce(
1111
(aliasMap, helper) => {
12-
aliasMap[
13-
`@babel/runtime/helpers/esm/${helper}`
14-
] = `@babel/runtime/helpers/${helper}`
12+
aliasMap[`@babel/runtime/helpers/esm/${helper}`] =
13+
`@babel/runtime/helpers/${helper}`
1514
return aliasMap
1615
},
1716
{
1817
'^preact(/(.*)|$)': 'preact$1',
19-
'(.*)\\.esm\\.mjs$': '$1.cjs.cjs',
2018
},
2119
),
2220
})

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@
116116
"cpy-cli": "^6.0.0",
117117
"cross-env": "^10.1.0",
118118
"cypress": "15.9.0",
119-
"eslint": "^9.39.2",
120-
"eslint-plugin-cypress": "^5.2.1",
119+
"eslint": "^8.57.0",
120+
"eslint-plugin-cypress": "^3.6.0",
121121
"eslint-plugin-react": "7.37.5",
122122
"flow-bin": "^0.299.0",
123123
"flow-coverage-report": "^0.8.0",

0 commit comments

Comments
 (0)