From 07ac4a33998c26301c6d96761960bc43520b9af2 Mon Sep 17 00:00:00 2001 From: Florian Boulnois Date: Thu, 13 Feb 2025 19:48:45 -0500 Subject: [PATCH] fix: define the initApplicationConfig type for ts --- cypress/support/index.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cypress/support/index.d.ts b/cypress/support/index.d.ts index c8e251b76..f6e7dc674 100644 --- a/cypress/support/index.d.ts +++ b/cypress/support/index.d.ts @@ -1,5 +1,3 @@ -/* eslint-disable no-undef */ - declare namespace Cypress { interface Chainable { /** @@ -7,5 +5,10 @@ declare namespace Cypress { * @example cy.auth('admin') */ auth(roleName: string): Chainable + /** + * Custom command to initialize application configuration + * @example cy.initApplicationConfig() + */ + initApplicationConfig(): Chainable } }