mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Changed extension of e2e mocks to ensure they never get included in release builds
This commit is contained in:
14
Gemfile.lock
14
Gemfile.lock
@@ -17,8 +17,8 @@ GEM
|
||||
artifactory (3.0.15)
|
||||
atomos (0.1.3)
|
||||
aws-eventstream (1.2.0)
|
||||
aws-partitions (1.763.0)
|
||||
aws-sdk-core (3.172.0)
|
||||
aws-partitions (1.771.0)
|
||||
aws-sdk-core (3.173.1)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
aws-partitions (~> 1, >= 1.651.0)
|
||||
aws-sigv4 (~> 1.5)
|
||||
@@ -115,8 +115,8 @@ GEM
|
||||
faraday-retry (1.0.3)
|
||||
faraday_middleware (1.2.0)
|
||||
faraday (~> 1.0)
|
||||
fastimage (2.2.6)
|
||||
fastlane (2.212.2)
|
||||
fastimage (2.2.7)
|
||||
fastlane (2.213.0)
|
||||
CFPropertyList (>= 2.3, < 4.0.0)
|
||||
addressable (>= 2.8, < 3.0.0)
|
||||
artifactory (~> 3.0)
|
||||
@@ -140,7 +140,7 @@ GEM
|
||||
json (< 3.0.0)
|
||||
jwt (>= 2.1.0, < 3)
|
||||
mini_magick (>= 4.9.4, < 5.0.0)
|
||||
multipart-post (~> 2.0.0)
|
||||
multipart-post (>= 2.0.0, < 3.0.0)
|
||||
naturally (~> 2.2)
|
||||
optparse (~> 0.1.1)
|
||||
plist (>= 3.1.0, < 4.0.0)
|
||||
@@ -159,7 +159,7 @@ GEM
|
||||
fourflusher (2.3.1)
|
||||
fuzzy_match (2.0.4)
|
||||
gh_inspector (1.1.3)
|
||||
google-apis-androidpublisher_v3 (0.41.0)
|
||||
google-apis-androidpublisher_v3 (0.42.0)
|
||||
google-apis-core (>= 0.11.0, < 2.a)
|
||||
google-apis-core (0.11.0)
|
||||
addressable (~> 2.5, >= 2.5.1)
|
||||
@@ -213,7 +213,7 @@ GEM
|
||||
minitest (5.15.0)
|
||||
molinillo (0.8.0)
|
||||
multi_json (1.15.0)
|
||||
multipart-post (2.0.0)
|
||||
multipart-post (2.3.0)
|
||||
nanaimo (0.3.0)
|
||||
nap (1.1.0)
|
||||
naturally (2.2.1)
|
||||
|
||||
@@ -27,7 +27,7 @@ module.exports = ( async () => {
|
||||
assetExts: assetExts.filter( ext => ext !== "svg" ),
|
||||
sourceExts:
|
||||
process.env.MOCK_MODE === "e2e"
|
||||
? ["e2e-mock.js", ...sourceExts, "svg"]
|
||||
? ["e2e-mock", ...sourceExts, "svg"]
|
||||
: [...sourceExts, "svg"]
|
||||
}
|
||||
};
|
||||
|
||||
@@ -8,8 +8,8 @@ type UserLocation = {
|
||||
const fetchUserLocation = async ( ): Promise<UserLocation> => new Promise( resolve => {
|
||||
setTimeout( ( ) => resolve( {
|
||||
place_guess: "San Francisco",
|
||||
latitude: -122.4194,
|
||||
longitude: 37.7749,
|
||||
latitude: 37.7749,
|
||||
longitude: -122.4194,
|
||||
positional_accuracy: 5
|
||||
} ), 1000 );
|
||||
} );
|
||||
Reference in New Issue
Block a user