This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/cypress/support/component.ts

15 lines
234 B
TypeScript
Raw Normal View History

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)