Skip to content

Commit 6b5f92c

Browse files
authored
v2.4.2 (#275)
* v2.4.2 * fix failing tests * remove md file
1 parent 70c561d commit 6b5f92c

File tree

5 files changed

+2016
-973
lines changed

5 files changed

+2016
-973
lines changed

__tests__/authkit-callback-route.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ describe('authkit-callback-route', () => {
3232
object: 'user' as const,
3333
createdAt: '2024-01-01T00:00:00Z',
3434
updatedAt: '2024-01-01T00:00:00Z',
35+
lastSignInAt: '2024-01-01T00:00:00Z',
36+
externalId: null,
37+
metadata: {},
3538
},
3639
oauthTokens: {
3740
accessToken: 'access123',

__tests__/test-helpers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ export async function generateSession(overrides: Partial<User> = {}) {
4141
object: 'user',
4242
createdAt: '2024-01-01T00:00:00Z',
4343
updatedAt: '2024-01-01T00:00:00Z',
44+
lastSignInAt: '2024-01-01T00:00:00Z',
45+
externalId: null,
46+
metadata: {},
4447
...overrides,
4548
} satisfies User;
4649

0 commit comments

Comments
 (0)