Skip to content

Commit 1b02d65

Browse files
committed
Small comment
1 parent d4a8394 commit 1b02d65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/sdk/src/server/__tests__/server.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,9 @@ describe("ServerClient", () => {
651651

652652
beforeEach(() => {
653653
fetchMock.resetMocks();
654-
// Create mock AccessToken objects
654+
// These mocks are distinct from the ones in the outer beforeEach
655+
// We need to test the behavior of the client when the OAuth token
656+
// is expired or invalid
655657
const expiredTokenMock = {
656658
token: {
657659
access_token: "expired-oauth-token",

0 commit comments

Comments
 (0)