Files
helm-dashboard/frontend/cypress/support/component.ts
yuri-sakharov f647a3db03 Added Error Boundary (#649)
* Added Error Boundary

* Test improvements

* Introduced useDevLogger

* Updated Cypress to latest and aligned the tests

* Added eslint-enable

* Set allowCypressEnv: false for security reasons.
2026-02-08 18:22:04 +00:00

14 lines
308 B
TypeScript

import "./commands";
import { mount } from "cypress/react";
/* eslint-disable @typescript-eslint/no-namespace */
declare global {
namespace Cypress {
interface Chainable {
mount: typeof mount;
}
}
}
/* eslint-enable @typescript-eslint/no-namespace */
Cypress.Commands.add("mount", mount);