Skip to content

Commit de4e4d7

Browse files
committed
Make test run without changing prop-interface
1 parent b04a681 commit de4e4d7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/_common/user-tests/UserTests.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export type UserTestsComponentProps = {
1111
data: UserTestsConfigData;
1212
};
1313
selectedTestIds: string[];
14-
_path?: string;
1514
};
1615

1716
export const UserTests = (props: UserTestsComponentProps) => {

src/components/_common/user-tests/public-view/UserTestsPublicView.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { PageContextProvider } from 'store/pageContext';
1111

1212
const cookieId = 'cookie-1234';
1313

14-
const baseProps: UserTestsComponentProps = {
14+
const baseProps: UserTestsComponentProps & { _path: string } = {
1515
selectedTestIds: [],
1616
tests: {
1717
data: {

0 commit comments

Comments
 (0)