We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4a8394 commit 1b02d65Copy full SHA for 1b02d65
packages/sdk/src/server/__tests__/server.test.ts
@@ -651,7 +651,9 @@ describe("ServerClient", () => {
651
652
beforeEach(() => {
653
fetchMock.resetMocks();
654
- // Create mock AccessToken objects
+ // 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
657
const expiredTokenMock = {
658
token: {
659
access_token: "expired-oauth-token",
0 commit comments