Skip to content

Commit 62dd1b1

Browse files
committed
fix/test updates
1 parent c460be3 commit 62dd1b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/openneuro-app/src/scripts/contributors/__tests__/contributor-list.spec.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ describe("ContributorsListDisplay", () => {
9090
// Mock getProfile so hasEdit === true
9191
beforeEach(() => {
9292
vi.spyOn(profileModule, "getProfile").mockReturnValue({
93+
sub: "123",
9394
95+
admin: false,
96+
iat: Math.floor(Date.now() / 1000),
97+
exp: Math.floor(Date.now() / 1000) + 3600,
9498
})
9599
})
96100

0 commit comments

Comments
 (0)