2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/cypress/support/component.ts

15 lines
234 B
TypeScript

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