From 23fb1b15496d3a7f8150e589282c966b35b29954 Mon Sep 17 00:00:00 2001 From: Jenny <32821331+jenny-s51@users.noreply.github.com> Date: Wed, 8 Jan 2025 16:28:26 -0500 Subject: [PATCH] reorder --- .../cypress/cypress/support/commands/odh.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/__tests__/cypress/cypress/support/commands/odh.ts b/frontend/src/__tests__/cypress/cypress/support/commands/odh.ts index a43d03eb8e..dffed83cc5 100644 --- a/frontend/src/__tests__/cypress/cypress/support/commands/odh.ts +++ b/frontend/src/__tests__/cypress/cypress/support/commands/odh.ts @@ -79,10 +79,11 @@ type Options = { path?: Replacement; query?: Query; times?: number } | null; declare global { namespace Cypress { interface Chainable { - interceptOdh: (( - type: 'POST /api/accelerator-profiles', - response?: OdhResponse, - ) => Cypress.Chainable) & + interceptOdh: ((type: 'GET /oauth/sign_out') => Cypress.Chainable) & + (( + type: 'POST /api/accelerator-profiles', + response?: OdhResponse, + ) => Cypress.Chainable) & (( type: 'DELETE /api/accelerator-profiles/:name', options: { path: { name: string } }, @@ -747,8 +748,7 @@ declare global { path: { serviceName: string; apiVersion: string; modelVersionId: string }; }, response: OdhResponse, - ) => Cypress.Chainable) & - ((type: 'GET /oauth/sign_out') => Cypress.Chainable); + ) => Cypress.Chainable); } } }