Home
last modified time | relevance | path

Searched refs:getUserAsync (Results 1 – 12 of 12) sorted by relevance

/expo/packages/@expo/cli/src/api/user/__tests__/
H A Duser-test.ts15 getUserAsync,
90 describe(getUserAsync, () => {
93 expect(await getUserAsync()).toBeUndefined();
98 expect(await getUserAsync()).toMatchObject({ __typename: 'User' });
105 expect(await getUserAsync()).toMatchObject({ __typename: 'User' });
111 const { getUserAsync } = require('../user'); constant
114 await expect(getUserAsync()).resolves.toBeUndefined();
/expo/packages/@expo/cli/src/whoami/
H A DwhoamiAsync.ts3 import { getActorDisplayName, getUserAsync } from '../api/user/user';
7 const user = await getUserAsync();
/expo/packages/@expo/cli/src/api/user/
H A Dactions.ts5 import { Actor, getUserAsync, loginAsync, ssoLoginAsync } from './user';
96 let user = await getUserAsync().catch(() => null);
101 user = await getUserAsync();
H A Duser.ts40 export async function getUserAsync(): Promise<Actor | undefined> { function
/expo/packages/@expo/cli/src/start/server/
H A DDevelopmentSession.ts7 import { getUserAsync } from '../../api/user/user';
16 return !!(await getUserAsync().catch(() => null));
H A DAsyncNgrok.ts7 import { getActorDisplayName, getUserAsync } from '../../api/user/user';
45 const user = await getUserAsync();
/expo/packages/@expo/cli/src/api/user/__mocks__/
H A Duser.ts1 export const getUserAsync = jest.fn(async () => ({})); constant
/expo/packages/@expo/cli/src/utils/analytics/
H A DrudderstackClient.ts6 import { getUserAsync } from '../../api/user/user';
91 await getUserAsync();
/expo/packages/@expo/cli/src/utils/__tests__/
H A Dcodesigning-test.ts6 import { getUserAsync } from '../../api/user/user';
49 asMock(getUserAsync).mockImplementation(async () => ({
/expo/tools/src/commands/
H A DImportGithubIssueToLinear.ts97 githubUsernames.map(async (u) => await GitHub.getUserAsync(u))
/expo/packages/@expo/cli/src/start/server/middleware/__tests__/
H A DExpoGoManifestHandlerMiddleware-test.ts11 import { getUserAsync } from '../../../../api/user/user';
195 asMock(getUserAsync).mockImplementation(async () => ({
/expo/tools/src/
H A DGitHub.ts30 export async function getUserAsync(username: string) { function