mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix mistake in cypress config
This commit is contained in:
parent
874fbe9540
commit
0d822d4240
@ -2,7 +2,7 @@ import { defineConfig } from 'cypress'
|
|||||||
import { addCucumberPreprocessorPlugin } from '@badeball/cypress-cucumber-preprocessor'
|
import { addCucumberPreprocessorPlugin } from '@badeball/cypress-cucumber-preprocessor'
|
||||||
import browserify from '@badeball/cypress-cucumber-preprocessor/browserify'
|
import browserify from '@badeball/cypress-cucumber-preprocessor/browserify'
|
||||||
|
|
||||||
let resetPasswordLink: string
|
let emailLink: string
|
||||||
|
|
||||||
async function setupNodeEvents(
|
async function setupNodeEvents(
|
||||||
on: Cypress.PluginEvents,
|
on: Cypress.PluginEvents,
|
||||||
@ -18,11 +18,8 @@ async function setupNodeEvents(
|
|||||||
)
|
)
|
||||||
|
|
||||||
on('task', {
|
on('task', {
|
||||||
setResetPasswordLink: (val) => {
|
setEmailLink: (link: string) => {
|
||||||
return (resetPasswordLink = val)
|
return (emailLink = link)
|
||||||
},
|
|
||||||
getResetPasswordLink: () => {
|
|
||||||
return resetPasswordLink
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user