Skip to content

Commit

Permalink
Fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
asimonok committed Sep 26, 2024
1 parent 5a37b83 commit 5af5674
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/hooks/useTable.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ import {
import { useTable } from './useTable';

describe('useTable', () => {
/**
* Replace Variables
*/
const replaceVariables = (str: string) => str;

/**
* Frame
*/
Expand Down Expand Up @@ -75,6 +80,8 @@ describe('useTable', () => {
},
}),
],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -115,6 +122,8 @@ describe('useTable', () => {
},
}),
],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -150,6 +159,8 @@ describe('useTable', () => {
},
}),
],
objects: [],
replaceVariables,
})
);

Expand All @@ -163,6 +174,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -194,6 +207,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn, valueColumn],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -275,6 +290,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn, valueColumn, createdColumn, otherColumn],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -358,6 +375,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -409,6 +428,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn, valueColumn],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -460,6 +481,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn, valueColumn],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -498,6 +521,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn, valueColumn],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -561,6 +586,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -605,6 +632,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -644,6 +673,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [columnForAdminEdit],
objects: [],
replaceVariables,
})
);

Expand Down Expand Up @@ -683,6 +714,8 @@ describe('useTable', () => {
series: [frame],
} as any,
columns: [deviceColumn, valueColumn],
objects: [],
replaceVariables,
})
);

Expand Down

0 comments on commit 5af5674

Please sign in to comment.