From c031b607196013a4298b72bc6d3276fb33da5a63 Mon Sep 17 00:00:00 2001 From: Umair Sarfraz Date: Wed, 12 Dec 2018 08:55:29 +0500 Subject: [PATCH] Disable realm analytics reports --- src/mobile/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mobile/package.json b/src/mobile/package.json index 56db6c8ff9..5353947e43 100644 --- a/src/mobile/package.json +++ b/src/mobile/package.json @@ -19,7 +19,7 @@ "android:dev": "./node_modules/.bin/cross-env NODE_ENV=development ./node_modules/.bin/react-native run-android", "ios": "./node_modules/.bin/react-native run-ios", "ios:dev": "./node_modules/.bin/cross-env NODE_ENV=development ./node_modules/.bin/react-native run-ios", - "test": "NODE_ENV=test ./node_modules/.bin/jest --forceExit", + "test": "REALM_DISABLE_ANALYTICS=true NODE_ENV=test ./node_modules/.bin/jest --forceExit", "nodejs-deps": "yarn --cwd nodejs-assets/nodejs-project", "postinstall": "./node_modules/.bin/rn-nodeify --hack --install && yarn nodejs-deps", "prepare-release": "yarn version && cd ios && bundle exec fastlane release && cd ../android && bundle exec fastlane release && cd .. && echo Successfully incremented version and build numbers! Please remember to run git add ., git commit, git push --tags, and git push",