Fix cypress component-tests

This commit is contained in:
Matthias 2022-07-10 09:41:22 +02:00
parent 8ccdb9eb66
commit e07a3df8f1

View File

@ -20,6 +20,8 @@ import './commands';
// require('./commands')
import { mount } from 'cypress/vue2';
// Vue2.7 Workaround to have proper types
import { mount as mount3 } from 'cypress/vue';
// Augment the Cypress namespace to include type definitions for
// your custom command.
@ -28,7 +30,7 @@ import { mount } from 'cypress/vue2';
declare global {
namespace Cypress {
interface Chainable {
mount: typeof mount;
mount: typeof mount3;
}
}
}