mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 04:25:15 +00:00
Fix cypress component-tests
This commit is contained in:
parent
8ccdb9eb66
commit
e07a3df8f1
|
@ -20,6 +20,8 @@ import './commands';
|
||||||
// require('./commands')
|
// require('./commands')
|
||||||
|
|
||||||
import { mount } from 'cypress/vue2';
|
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
|
// Augment the Cypress namespace to include type definitions for
|
||||||
// your custom command.
|
// your custom command.
|
||||||
|
@ -28,7 +30,7 @@ import { mount } from 'cypress/vue2';
|
||||||
declare global {
|
declare global {
|
||||||
namespace Cypress {
|
namespace Cypress {
|
||||||
interface Chainable {
|
interface Chainable {
|
||||||
mount: typeof mount;
|
mount: typeof mount3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user