fix: testId -> testid (#16081)

* fix: testId -> testid

* fix other errors in caps
This commit is contained in:
Alex van Andel
2024-08-06 11:34:02 +05:30
committed by GitHub
parent d33681eddd
commit e63edc9d36
2 changed files with 3 additions and 3 deletions
@@ -336,7 +336,7 @@ export function UserListTable() {
});
}
}}
data-testId="user-list-data-table"
data-testid="user-list-data-table"
onSearch={(value) => setDebouncedSearchTerm(value)}
selectionOptions={[
{
+2 -2
View File
@@ -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) => (