Skip to content

Commit b9617e0

Browse files
authored
test: group tests by suite and assert response shapes satisfy expected types (#2551)
* test: update to group test suites and assert response shapes satisfy correct types. Signed-off-by: Adam Setch <adam.setch@outlook.com> * test: update to group test suites and assert response shapes satisfy correct types. Signed-off-by: Adam Setch <adam.setch@outlook.com> --------- Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 60de1fc commit b9617e0

File tree

13 files changed

+574
-687
lines changed

13 files changed

+574
-687
lines changed

src/renderer/__helpers__/test-utils.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import { mockAuth, mockSettings } from '../__mocks__/state-mocks';
99

1010
import { AppContext, type AppContextState } from '../context/App';
1111

12+
export type DeepPartial<T> = { [K in keyof T]?: DeepPartial<T[K]> };
13+
1214
/**
1315
* Props for the AppContextProvider wrapper
1416
*/

0 commit comments

Comments
 (0)