You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to give a broader look maybe you have something like the following
Cypress.Commands.add('mount',(component,options={})=>{// Setup options objectoptions.global=options.global||{}options.global.stubs=options.global.stubs||{}options.global.stubs['transition']=falseoptions.global.components=options.global.components||{}options.global.plugins=options.global.plugins||[]/* Add any global plugins */// options.global.plugins.push(MyPlugin);/* Add any global components */// options.global.components['Button'] = Button;returnmount(component,options)})
and you just want to use modify on options without the boilerplate
The text was updated successfully, but these errors were encountered:
Taking the code from the modify example. Is it possible to just add elements to that array? Or how would you cover this example ?
to give a broader look maybe you have something like the following
and you just want to use modify on options without the boilerplate
The text was updated successfully, but these errors were encountered: