fix: testId -> testid (#16081)
* fix: testId -> testid * fix other errors in caps
This commit is contained in:
@@ -336,7 +336,7 @@ export function UserListTable() {
|
||||
});
|
||||
}
|
||||
}}
|
||||
data-testId="user-list-data-table"
|
||||
data-testid="user-list-data-table"
|
||||
onSearch={(value) => setDebouncedSearchTerm(value)}
|
||||
selectionOptions={[
|
||||
{
|
||||
|
||||
@@ -42,7 +42,7 @@ export interface DataTableProps<TData, TValue> {
|
||||
CTA?: React.ReactNode;
|
||||
tableOverlay?: React.ReactNode;
|
||||
variant?: "default" | "compact";
|
||||
"data-testId"?: string;
|
||||
"data-testid"?: string;
|
||||
}
|
||||
|
||||
export function DataTable<TData, TValue>({
|
||||
@@ -112,7 +112,7 @@ export function DataTable<TData, TValue>({
|
||||
onSearch={onSearch}
|
||||
tableCTA={tableCTA}
|
||||
/>
|
||||
<div ref={tableContainerRef} onScroll={onScroll} data-testId={rest["data-testId"] ?? "data-table"}>
|
||||
<div ref={tableContainerRef} onScroll={onScroll} data-testid={rest["data-testid"] ?? "data-table"}>
|
||||
<Table data-testId="">
|
||||
<TableHeader>
|
||||
{table.getHeaderGroups().map((headerGroup) => (
|
||||
|
||||
Reference in New Issue
Block a user