Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 54) sorted by relevance

123

/expo/packages/create-expo/src/
H A DExamples.ts31 if (!response.ok) {
46 if (response.status === 404 || response.ok) {
47 return response.ok;
90 if (!response.ok) {
/expo/packages/create-expo/src/__tests__/
H A DExamples.test.ts22 fetch.mockResolvedValue({ ok: true, status: 200 } as any);
27 fetch.mockResolvedValue({ ok: false, status: 404 } as any);
32 fetch.mockResolvedValue({ ok: false, status: 403 } as any);
54 fetch.mockResolvedValue({ ok: true, json: () => Promise.resolve(examples) } as any);
/expo/packages/@expo/cli/src/api/
H A DupdateDevelopmentSession.ts61 if (!results.ok) {
90 if (!results.ok) {
H A DgetExpoGoIntermediateCertificate.ts13 if (!response.ok) {
H A DgetProjectDevelopmentCertificate.ts17 if (!response.ok) {
H A DgetVersions.ts51 if (!results.ok) {
H A DgetNativeModuleVersions.ts40 if (!results.ok) {
/expo/packages/expo-notifications/src/utils/
H A DupdateDevicePushTokenAsync.ts35 if (!response.ok) {
43 if (!response.ok) {
/expo/packages/expo-notifications/build/utils/
H A DupdateDevicePushTokenAsync.js29 if (!response.ok) {
33 if (!response.ok) {
/expo/packages/expo-notifications/src/utils/__tests__/
H A DupdateDevicePushTokenAsync-test.ts19 ok: true,
24 ok: false,
/expo/docs/common/
H A DheadingManager.test.ts84 const ok = headingManager.addHeading('OK'); constant
87 expect(headingManager.headings).toContain(ok);
/expo/packages/@expo/cli/src/api/rest/
H A DwrapFetchWithProgress.ts8 if (res.ok && init?.onProgress) {
/expo/packages/@expo/cli/src/utils/
H A Durl.ts19 return res.ok;
H A DdownloadAppAsync.ts46 if (!res.ok) {
H A Dnpm.ts124 if (!response.ok) {
/expo/packages/expo-dev-launcher/
H A DsetupTests.ts4 ok: true,
/expo/packages/expo-dev-launcher/bundle/
H A DapiClient.ts40 if (response.ok) {
H A Dtest-utils.tsx28 return mockFetch.mockResolvedValue({ ok: true, json: () => dataToReturn });
/expo/packages/expo-image/build/web/
H A Dhooks.js32 if (!result.ok) {
/expo/docs/scripts/
H A Dresource-specs-sync.mjs11 if (!response.ok) {
/expo/packages/expo-image/src/web/
H A Dhooks.ts48 if (!result.ok) {
/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/
H A Ddevice.ts114 if (!response.ok) {
/expo/packages/expo-notifications/src/
H A DgetExpoPushTokenAsync.ts105 if (!response.ok) {
/expo/packages/expo-notifications/build/
H A DgetExpoPushTokenAsync.js80 if (!response.ok) {
/expo/home/api/
H A DAPIV2Client.ts68 if (!response.ok) {

123