Merge branch 'master' into 13853-collection-view-info-card
[arvados.git] / src / components / data-table / data-table.test.tsx
index 7e460c892f1c76f60f6afae0fe5be7c792f1d2f8..99ed2daffb52ab5c1c0cf051205eb5ac28e96806 100644 (file)
@@ -130,7 +130,7 @@ describe("<DataTable />", () => {
     it("passes sorting props to <TableSortLabel />", () => {
         const columns: DataColumns<string> = [{
             name: "Column 1",
-            sortDirection: SortDirection.Asc,
+            sortDirection: SortDirection.ASC,
             selected: true,
             render: (item) => <Typography>{item}</Typography>
         }];
@@ -151,7 +151,7 @@ describe("<DataTable />", () => {
     it("passes filter props to <DataTableFilter />", () => {
         const columns: DataColumns<string> = [{
             name: "Column 1",
-            sortDirection: SortDirection.Asc,
+            sortDirection: SortDirection.ASC,
             selected: true,
             filters: [{ name: "Filter 1", selected: true }],
             render: (item) => <Typography>{item}</Typography>