Home
last modified time | relevance | path

Searched refs:throws (Results 1 – 25 of 52) sorted by relevance

123

/expo/apps/test-suite/tests/
H A DFileSystem.js12 const throws = async (run) => { function
27 await throws(() => FS.readAsStringAsync(p + '../hello/world'));
29 await throws(() => FS.deleteAsync(p + '../hello/world'));
30 await throws(() => FS.deleteAsync(p));
31 await throws(() => FS.deleteAsync(FS.cacheDirectory));
36 await throws(() => FS.makeDirectoryAsync(p + '../hello/world'));
39 await throws(() => FS.readDirectoryAsync(p + '../'));
397 await throws(() => FS.moveAsync({ from: p }));
398 await throws(() => FS.moveAsync({ to: p }));
399 await throws(() => FS.copyAsync({ from: p }));
[all …]
H A DClipboard.js8 const throws = async (run) => { function
81 await throws(() => Clipboard.setUrlAsync(malformedUrl));
118 await throws(() => Clipboard.setImageAsync(imageBase64));
/expo/packages/expo-modules-core/src/__tests__/__snapshots__/
H A Ddeprecate-test.ts.snap.ios3 exports[`deprecate errors throws a deprecation error after expiration 1`] = `"expo-modules-core: \`…
5 exports[`deprecate errors throws a deprecation error without expiration 1`] = `"expo-modules-core: …
7 exports[`deprecate errors throws an error with the replacement 1`] = `"expo-modules-core: \`foo\` h…
9 exports[`deprecate errors throws an error with the replacement after the expiration 1`] = `"expo-mo…
H A Ddeprecate-test.ts.snap.android3 exports[`deprecate errors throws a deprecation error after expiration 1`] = `"expo-modules-core: \`…
5 exports[`deprecate errors throws a deprecation error without expiration 1`] = `"expo-modules-core: …
7 exports[`deprecate errors throws an error with the replacement 1`] = `"expo-modules-core: \`foo\` h…
9 exports[`deprecate errors throws an error with the replacement after the expiration 1`] = `"expo-mo…
H A Ddeprecate-test.ts.snap.node3 exports[`deprecate errors throws a deprecation error after expiration 1`] = `"expo-modules-core: \`…
5 exports[`deprecate errors throws a deprecation error without expiration 1`] = `"expo-modules-core: …
7 exports[`deprecate errors throws an error with the replacement 1`] = `"expo-modules-core: \`foo\` h…
9 exports[`deprecate errors throws an error with the replacement after the expiration 1`] = `"expo-mo…
H A Ddeprecate-test.ts.snap.web3 exports[`deprecate errors throws a deprecation error after expiration 1`] = `"expo-modules-core: \`…
5 exports[`deprecate errors throws a deprecation error without expiration 1`] = `"expo-modules-core: …
7 exports[`deprecate errors throws an error with the replacement 1`] = `"expo-modules-core: \`foo\` h…
9 exports[`deprecate errors throws an error with the replacement after the expiration 1`] = `"expo-mo…
/expo/packages/expo-constants/src/__tests__/__snapshots__/
H A DConstants-test.ts.snap.ios3 exports[`manifest throws an error if manifest is falsey when Constants.executionEnvironment is stan…
5 exports[`manifest throws an error if manifest is falsey when Constants.executionEnvironment is stor…
H A DConstants-test.ts.snap.android3 exports[`manifest throws an error if manifest is falsey when Constants.executionEnvironment is stan…
5 exports[`manifest throws an error if manifest is falsey when Constants.executionEnvironment is stor…
/expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/assets/
H A DGetAssetsQueryTests.kt104 fun `test if invalid mediaType throws`() { in test if invalid mediaType throws()
119 fun `test if invalid order throws`() { in test if invalid order throws()
136 fun `convertOrderDescriptors throws when provided invalid types`() { in convertOrderDescriptors throws when provided invalid types()
147 fun `convertOrderDescriptors throws when provided invalid layout`() { in convertOrderDescriptors throws when provided invalid layout()
/expo/packages/expo-font/src/__tests__/__snapshots__/
H A DFont-test.native.ts.snap.ios10 exports[`within Expo client loadAsync throws if downloading a font fails 1`] = `[Error: Failed to d…
12 exports[`within Expo client loadAsync throws if loading a downloaded font fails 1`] = `[Error: Inte…
H A DFont-test.native.ts.snap.android10 exports[`within Expo client loadAsync throws if downloading a font fails 1`] = `[Error: Failed to d…
12 exports[`within Expo client loadAsync throws if loading a downloaded font fails 1`] = `[Error: Inte…
/expo/packages/expo-media-library/android/src/test/java/expo/modules/medialibrary/
H A DTestUtils.kt35 every { contentResolver.query(any(), any(), any(), any(), any()) } throws throwable in mockContentResolverForResult()
/expo/ios/versioned/sdk48/EXUpdates/EXUpdates/ReactDelegateHandler/
H A DABI48_0_0EXDeferredRCTBridge.m35 // ABI48_0_0RCTBridge throws an exception for default initializer
H A DABI48_0_0EXDeferredRCTRootView.m37 // ABI48_0_0RCTRootView throws an exception for default initializers
/expo/docs/components/base/languages/
H A Dgroovy.ts16 …public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|tr…
H A Dswift.ts20 …ows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealia…
/expo/packages/expo-dev-launcher/ios/ReactDelegateHandler/
H A DEXDevLauncherDeferredRCTBridge.m35 // RCTBridge throws an exception for default initializer
H A DEXDevLauncherDeferredRCTRootView.m37 // RCTRootView throws an exception for default initializers
/expo/ios/versioned/sdk47/EXUpdates/EXUpdates/ReactDelegateHandler/
H A DABI47_0_0EXDeferredRCTRootView.m37 // ABI47_0_0RCTRootView throws an exception for default initializers
H A DABI47_0_0EXDeferredRCTBridge.m35 // ABI47_0_0RCTBridge throws an exception for default initializer
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/ReactDelegateHandler/
H A DABI49_0_0EXDeferredRCTRootView.m37 // ABI49_0_0RCTRootView throws an exception for default initializers
H A DABI49_0_0EXDeferredRCTBridge.m35 // ABI49_0_0RCTBridge throws an exception for default initializer
/expo/packages/expo-updates/ios/EXUpdates/ReactDelegateHandler/
H A DEXDeferredRCTBridge.m35 // RCTBridge throws an exception for default initializer
H A DEXDeferredRCTRootView.m37 // RCTRootView throws an exception for default initializers
/expo/packages/expo-dev-launcher/android/src/test/java/expo/modules/devlauncher/launcher/manifest/
H A DDevLauncherManifestTest.kt51 fun `checks if fromJson throws on invalid json`() { in checks if fromJson throws on invalid json()

123