Skip to content

Commit b52afa1

Browse files
committed
tweak unit test types again
1 parent 8bfd602 commit b52afa1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web/src/__tests__/api/v1/me-route.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ import type {
1212
describe('/api/v1/me route', () => {
1313
const mockUserData: Record<
1414
string,
15-
Awaited<
16-
GetUserInfoFromApiKeyOutput<(typeof VALID_USER_INFO_FIELDS)[number]>
15+
NonNullable<
16+
Awaited<
17+
GetUserInfoFromApiKeyOutput<(typeof VALID_USER_INFO_FIELDS)[number]>
18+
>
1719
>
1820
> = {
1921
'test-api-key-123': {

0 commit comments

Comments
 (0)