1
0

fix: cypress plugins

This commit is contained in:
Dominik Pschenitschni
2022-06-21 23:51:58 +02:00
committed by Gitea
parent 77466e3373
commit c6d214b9eb
7 changed files with 97 additions and 45 deletions

12
src/types/cypress.d.ts vendored Normal file
View File

@ -0,0 +1,12 @@
import { mount } from 'cypress/vue'
type MountParams = Parameters<typeof mount>;
type OptionsParam = MountParams[1];
declare global {
namespace Cypress {
interface Chainable {
mount: typeof mount;
}
}
}