Skip to content

Commit

Permalink
fix(react-drawer): remove circular dependency from cypress test files (
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell authored and robertpenner committed Apr 11, 2024
1 parent 9100b2b commit 6654927
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import * as React from 'react';
import { mount } from '@cypress/react';
import { FluentProvider } from '@fluentui/react-provider';
import { webLightTheme } from '@fluentui/react-theme';
import { DrawerProps } from '@fluentui/react-components';

import type { DrawerProps } from '../Drawer';

const mountFluent = (element: JSX.Element) => {
mount(<FluentProvider theme={webLightTheme}>{element}</FluentProvider>);
Expand Down
1 change: 1 addition & 0 deletions scripts/beachball/base.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"**/bundle-size/**",
"**/common/isConformant.ts",
"**/src/testing/**",
"**/src/e2e/**",
"**/config/tests.js",
"**/jest.config.js",
"**/SPEC*.md",
Expand Down
1 change: 1 addition & 0 deletions scripts/beachball/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe(`beachball configs`, () => {
'**/bundle-size/**',
'**/common/isConformant.ts',
'**/src/testing/**',
'**/src/e2e/**',
'**/config/tests.js',
'**/jest.config.js',
'**/SPEC*.md',
Expand Down

0 comments on commit 6654927

Please sign in to comment.