Home
last modified time | relevance | path

Searched refs:copyToClipboardAsync (Results 1 – 13 of 13) sorted by relevance

/expo/packages/expo-dev-menu/app/components/__tests__/
H A DMain.test.tsx10 copyToClipboardAsync,
22 const mockCopyToClipboardAsync = copyToClipboardAsync as jest.Mock;
124 expect(copyToClipboardAsync).toHaveBeenCalledTimes(0);
126 expect(copyToClipboardAsync).toHaveBeenCalledTimes(1);
128 expect(copyToClipboardAsync).toHaveBeenLastCalledWith(expect.stringContaining('sdkVersion'));
129 expect(copyToClipboardAsync).toHaveBeenLastCalledWith(expect.stringContaining('appVersion'));
130 expect(copyToClipboardAsync).toHaveBeenLastCalledWith(expect.stringContaining('appName'));
131 expect(copyToClipboardAsync).toHaveBeenLastCalledWith(
137 expect(copyToClipboardAsync).toHaveBeenCalledTimes(0);
139 expect(copyToClipboardAsync).toHaveBeenCalledTimes(1);
[all …]
/expo/packages/expo-dev-menu/app/hooks/
H A DuseClipboard.tsx3 import { copyToClipboardAsync } from '../native-modules/DevMenu';
34 await copyToClipboardAsync(content).catch((err) => {
/expo/packages/expo-dev-menu/app/native-modules/
H A DDevMenu.ts85 export async function copyToClipboardAsync(content: string) { function
86 return await DevMenu.copyToClipboardAsync(content);
/expo/packages/expo-dev-launcher/bundle/screens/__tests__/
H A DSettingsScreen.test.tsx3 import { copyToClipboardAsync } from '../../native-modules/DevLauncherInternal';
159 expect(copyToClipboardAsync).not.toHaveBeenCalled();
164 expect(copyToClipboardAsync).toHaveBeenCalled();
165 expect(copyToClipboardAsync).toHaveBeenLastCalledWith(
168 expect(copyToClipboardAsync).toHaveBeenLastCalledWith(
/expo/packages/expo-dev-menu/app/native-modules/__mocks__/
H A DDevMenu.ts8 export const copyToClipboardAsync = jest.fn().mockResolvedValue({}); constant
/expo/packages/expo-dev-launcher/bundle/native-modules/__mocks__/
H A DDevLauncherInternal.ts17 export const copyToClipboardAsync = jest.fn().mockResolvedValue(null); constant
/expo/packages/expo-dev-launcher/bundle/screens/
H A DCrashReportScreen.tsx5 import { copyToClipboardAsync } from '../native-modules/DevLauncherInternal';
51 await copyToClipboardAsync(content).catch((err) => {
H A DSettingsScreen.tsx22 import { copyToClipboardAsync } from '../native-modules/DevLauncherInternal';
77 await copyToClipboardAsync(content).catch((err) => {
/expo/packages/expo-dev-launcher/bundle/native-modules/
H A DDevLauncherInternal.ts92 export async function copyToClipboardAsync(content: string): Promise<null> { function
/expo/packages/expo-dev-launcher/ios/
H A Dmain.jsbundle1059 …NavigationStateAsync=function(){return v.apply(this,arguments)},e.copyToClipboardAsync=function(t)…
1262 …n,sdkVersion:t,appVersion:s,stack:T},null,2);h(''),O(l),yield(0,u.copyToClipboardAsync)(l).catch((…
1302 …Version:i,appName:t,appVersion:s},null,'\t');u(''),V(l),yield(0,h.copyToClipboardAsync)(l).catch((…
/expo/packages/expo-dev-launcher/android/src/debug/assets/
H A Dexpo_dev_launcher_android.bundle1060 …NavigationStateAsync=function(){return v.apply(this,arguments)},e.copyToClipboardAsync=function(t)…
1263 …n,sdkVersion:t,appVersion:s,stack:T},null,2);h(''),O(l),yield(0,u.copyToClipboardAsync)(l).catch((…
1303 …Version:i,appName:t,appVersion:s},null,'\t');u(''),V(l),yield(0,h.copyToClipboardAsync)(l).catch((…
/expo/packages/expo-dev-menu/assets/
H A DEXDevMenuApp.ios.js932 …object'==typeof t?JSON.stringify(t,null,2):t,O(''),s(n),yield(0,f.copyToClipboardAsync)(n).catch((…
H A DEXDevMenuApp.android.js933 …object'==typeof t?JSON.stringify(t,null,2):t,O(''),s(n),yield(0,f.copyToClipboardAsync)(n).catch((…