refs #test-fix
authorPawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>
Thu, 26 Jul 2018 07:40:22 +0000 (09:40 +0200)
committerPawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>
Thu, 26 Jul 2018 07:40:22 +0000 (09:40 +0200)
Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk@contractors.roche.com>

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>