Skip to content

Commit 1cac686

Browse files
Update README.md
1 parent cbd9365 commit 1cac686

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ If you are using another plugin on the `file:preprocessor` event, pass this in a
3838
// cypress/plugins/index.js
3939

4040
const cypressEslint = require('cypress-eslint-preprocessor');
41-
const babelEsX = require('cypress-babel-esx-preprocessor');
41+
const cypressBabelEsX = require('cypress-babel-esx-preprocessor');
4242

4343
module.exports = (on) => {
44-
on('file:preprocessor', cypressEslint(babelEsX()));
44+
on('file:preprocessor', cypressEslint(cypressBabelEsX()));
4545
};
4646
```

0 commit comments

Comments
 (0)