mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 06:18:04 +00:00
Adding cypress + example test (#476)
This commit is contained in:
12
frontend/cypress/support/component.ts
Normal file
12
frontend/cypress/support/component.ts
Normal 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);
|
||||
Reference in New Issue
Block a user