1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-12 15:23:13 +01:00
.profile/cypress/support/component.ts

14 lines
201 B
TypeScript

import { mount } from 'cypress/react'
import './commands'
declare global {
namespace Cypress {
interface Chainable {
mount: typeof mount
}
}
}
Cypress.Commands.add('mount', mount)