mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Fix cypress component-tests
This commit is contained in:
parent
8ccdb9eb66
commit
e07a3df8f1
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user