use export default in cypress plugin file

This commit is contained in:
MapleLeaf
2022-01-10 21:41:29 -06:00
parent 52b83522de
commit 4201f45cc9

View File

@@ -16,7 +16,7 @@
* @type {Cypress.PluginConfig}
*/
// eslint-disable-next-line no-unused-vars
// module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
// }
export default function cypressConfig(on, config) {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
}