PR-342468: trying to fix cypress pipeline.

This commit is contained in:
2025-07-16 17:40:48 +00:00
parent 665252faa4
commit baa85f7916
6 changed files with 14 additions and 23 deletions

View File

@ -1,3 +1,4 @@
// ***********************************************************
// This example support/component.ts is processed and
// loaded automatically before your test files.
@ -19,12 +20,10 @@ import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from 'cypress/react18'
import { mount } from 'cypress/react'
// Augment the Cypress namespace to include type definitions for
// your custom command.
// Alternatively, can be defined in cypress/support/component.d.ts
// with a <reference path="./component" /> at the top of your spec.
declare global {
namespace Cypress {
interface Chainable {
@ -33,8 +32,7 @@ declare global {
}
}
// @ts-ignore
Cypress.Commands.add('mount', mount)
// Example use:
// cy.mount(<MyComponent />)
// cy.mount(<MyComponent />)