Skip to content

Commit

Permalink
fix for test cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien LE MOUILLOUR committed Nov 17, 2023
1 parent 3a4e2f1 commit 58469a7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/design-system/cypress/support/commands.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* eslint-disable import/no-extraneous-dependencies */
/// <reference types="cypress" />

import '@testing-library/cypress/add-commands';
import { mount } from 'cypress/react';
// import IconsProvider from '../../src/components/IconsProvider';

Cypress.Commands.add('mount', (component, options) => {
// const wrapped = (
Expand All @@ -14,5 +13,3 @@ Cypress.Commands.add('mount', (component, options) => {
const wrapper = component;
return mount(wrapper, options);
});

import '@testing-library/cypress/add-commands';

0 comments on commit 58469a7

Please sign in to comment.