Skip to content

Commit

Permalink
[jest-expo] Remove ExponentAR native module
Browse files Browse the repository at this point in the history
  • Loading branch information
sjchmiela committed May 25, 2020
1 parent 281715f commit f0fd846
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions packages/jest-expo/src/preset/expoModules.js
Expand Up @@ -76,48 +76,6 @@ module.exports = {
getNativeModuleNamesAsync: { type: 'function', functionType: 'promise' },
introspectNativeModuleAsync: { type: 'function', functionType: 'promise' },
},
ExponentAR: {
ARFaceTrackingConfiguration: { type: 'boolean', mock: false },
ARKitVersion: { type: 'string' },
AROrientationTrackingConfiguration: { type: 'boolean', mock: false },
ARWorldTrackingConfiguration: { type: 'boolean', mock: false },
OrientationTrackingVideoFormats: { type: 'array' },
WorldTrackingVideoFormats: { type: 'array' },
anchorsDidUpdate: { type: 'string' },
cameraDidChangeTrackingState: { type: 'string' },
didFailWithError: { type: 'string' },
frameDidUpdate: { type: 'string' },
getConstants: { type: 'function' },
isSupported: { type: 'boolean', mock: true },
sessionInterruptionEnded: { type: 'string' },
sessionWasInterrupted: { type: 'string' },
addListener: { type: 'function', functionType: 'async' },
getARMatrices: { type: 'function', functionType: 'sync' },
getAutoFocusEnabled: { type: 'function', functionType: 'sync' },
getCameraTexture: { type: 'function', functionType: 'sync' },
getCurrentFrame: { type: 'function', functionType: 'sync' },
getLightEstimationEnabled: { type: 'function', functionType: 'sync' },
getPlaneDetection: { type: 'function', functionType: 'sync' },
getProvidesAudioData: { type: 'function', functionType: 'sync' },
getVideoFormat: { type: 'function', functionType: 'sync' },
getWorldAlignment: { type: 'function', functionType: 'sync' },
pause: { type: 'function', functionType: 'async' },
performHitTest: { type: 'function', functionType: 'sync' },
removeListeners: { type: 'function', functionType: 'async' },
reset: { type: 'function', functionType: 'async' },
resume: { type: 'function', functionType: 'async' },
setAutoFocusEnabled: { type: 'function', functionType: 'async' },
setConfigurationAsync: { type: 'function', functionType: 'promise' },
setDetectionImagesAsync: { type: 'function', functionType: 'promise' },
setLightEstimationEnabled: { type: 'function', functionType: 'async' },
setPlaneDetection: { type: 'function', functionType: 'async' },
setProvidesAudioData: { type: 'function', functionType: 'async' },
setShouldAttemptRelocalization: { type: 'function', functionType: 'async' },
setWorldAlignment: { type: 'function', functionType: 'async' },
setWorldOriginAsync: { type: 'function', functionType: 'promise' },
startAsync: { type: 'function', functionType: 'promise' },
stopAsync: { type: 'function', functionType: 'promise' },
},
ExponentNotifications: {
getConstants: { type: 'function' },
cancelAllScheduledNotificationsAsync: { type: 'function', functionType: 'promise' },
Expand Down

0 comments on commit f0fd846

Please sign in to comment.