Adding cypress + example test (#476)

This commit is contained in:
Tamir Abutbul
2024-01-09 10:05:43 +02:00
committed by GitHub
parent 37557126f0
commit 03c2f321c4
8 changed files with 141 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
import "./commands";
import { mount } from "cypress/react18";
declare global {
namespace Cypress {
interface Chainable {
mount: typeof mount;
}
}
}
Cypress.Commands.add("mount", mount);