Skip to content

Commit 4abbf62

Browse files
committed
feat: device code flow
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent beb8fcd commit 4abbf62

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/renderer/__helpers__/test-utils.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ function AppContextProvider({ children, value = {} }: AppContextProviderProps) {
3838
globalError: null,
3939

4040
// Default mock implementations for all required methods
41-
startGitHubDeviceFlow: jest.fn(),
42-
pollGitHubDeviceFlow: jest.fn(),
43-
completeGitHubDeviceLogin: jest.fn(),
41+
loginWithDeviceFlowStart: jest.fn(),
42+
loginWithDeviceFlowPoll: jest.fn(),
43+
loginWithDeviceFlowComplete: jest.fn(),
4444
loginWithOAuthApp: jest.fn(),
4545
loginWithPersonalAccessToken: jest.fn(),
4646
logoutFromAccount: jest.fn(),

0 commit comments

Comments
 (0)