Skip to content

Commit 1c9b1ad

Browse files
committed
Remove unused test id
1 parent 717cba4 commit 1c9b1ad

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

packages/component/src/SendBoxToolbar/UploadButton.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import useMakeThumbnail from '../hooks/useMakeThumbnail';
1313
import useStyleSet from '../hooks/useStyleSet';
1414
import useSubmit from '../providers/internal/SendBox/useSubmit';
1515
import AttachmentIcon from './Assets/AttachmentIcon';
16-
import testIds from '../testIds';
1716

1817
const { useSendBoxAttachments, useLocalizer, useStyleOptions, useUIState } = hooks;
1918

@@ -121,13 +120,7 @@ function UploadButton(props: UploadButtonProps) {
121120
tabIndex={-1}
122121
type="file"
123122
/>
124-
<IconButton
125-
alt={uploadFileString}
126-
aria-label={uploadFileString}
127-
data-testid={testIds.basicSendBoxUploadButton}
128-
disabled={disabled}
129-
onClick={handleClick}
130-
>
123+
<IconButton alt={uploadFileString} aria-label={uploadFileString} disabled={disabled} onClick={handleClick}>
131124
<AttachmentIcon checked={!!sendBoxAttachments.length} />
132125
</IconButton>
133126
</div>

packages/component/src/testIds.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const testIds = {
2-
basicSendBoxUploadButton: 'basic send box toolbar upload button',
32
codeBlockCopyButton: 'code block copy button',
43
copyButton: 'copy button',
54
feedbackButton: 'feedback button',

0 commit comments

Comments
 (0)