Skip to content

Commit

Permalink
chore: fix stories and tests type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bsunderhus committed May 24, 2024
1 parent 789076a commit 12d14a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import * as React from 'react';
import { render } from '@testing-library/react';
import { isConformant } from '../../testing/isConformant';
import { TagPickerOption } from './TagPickerOption';
import { TagPickerOptionProps } from './TagPickerOption.types';

describe('TagPickerOption', () => {
isConformant({
isConformant<TagPickerOptionProps>({
Component: TagPickerOption,
displayName: 'TagPickerOption',
requiredProps: { value: 'value', media: <></>, secondaryContent: <></> },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export const TruncatedText = () => {
value={option.value}
key={option.value}
title={option.value}
text={option.value}
>
<div className={styles.optionContent}>{option.value}</div>
</TagPickerOption>
Expand Down

0 comments on commit 12d14a6

Please sign in to comment.