From bb5b455ec5c577f696650f90dc0333f3218ac2d5 Mon Sep 17 00:00:00 2001 From: yogevbd Date: Sun, 7 Jul 2019 16:12:33 +0300 Subject: [PATCH] Fix tests --- .../RNNotifications.xcodeproj/project.pbxproj | 28 ++++++++++++------- babel.config.js | 8 +++--- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/RNNotifications/RNNotifications.xcodeproj/project.pbxproj b/RNNotifications/RNNotifications.xcodeproj/project.pbxproj index d6cc928..08f319f 100644 --- a/RNNotifications/RNNotifications.xcodeproj/project.pbxproj +++ b/RNNotifications/RNNotifications.xcodeproj/project.pbxproj @@ -140,6 +140,8 @@ 508CE81122D12F3C00357815 /* Notifications */ = { isa = PBXGroup; children = ( + 50E49F0522D1E4E0007160C1 /* RNNotificationsStore.h */, + 50E49F0622D1E4E0007160C1 /* RNNotificationsStore.m */, 508CE7D322D12CCA00357815 /* RNNotificationEventHandler.h */, 508CE7D422D12CCA00357815 /* RNNotificationEventHandler.m */, 508CE81522D12FF500357815 /* RNNotificationCenterListener.h */, @@ -166,28 +168,34 @@ children = ( 508CE82022D1372E00357815 /* RNUtils.h */, 508CE82122D1372E00357815 /* RNUtils.m */, + 50351F9322CD7FF1000713B3 /* RCTConvert+Notifications.h */, + 50351F9422CD7FF1000713B3 /* RCTConvert+Notifications.m */, ); name = Helpers; sourceTree = ""; }; + 50E4A03D22D220E8007160C1 /* Bridge */ = { + isa = PBXGroup; + children = ( + 50351F9022CD7DF4000713B3 /* RNBridgeModule.h */, + 50351F9122CD7DF4000713B3 /* RNBridgeModule.m */, + 50351F8D22CD782F000713B3 /* RNEventEmitter.h */, + 50351F8E22CD782F000713B3 /* RNEventEmitter.m */, + ); + name = Bridge; + sourceTree = ""; + }; 58B511D21A9E6C8500147676 = { isa = PBXGroup; children = ( + 50E4A03D22D220E8007160C1 /* Bridge */, 508CE81222D12F4300357815 /* PushKitNotifications */, 508CE81122D12F3C00357815 /* Notifications */, 508CE81F22D1371700357815 /* Helpers */, - 50351F9022CD7DF4000713B3 /* RNBridgeModule.h */, - 50351F9122CD7DF4000713B3 /* RNBridgeModule.m */, - 50351F9622CD8604000713B3 /* RNCommandsHandler.h */, - 50351F9722CD8604000713B3 /* RNCommandsHandler.m */, D8A2F7561CB57F28002CC8F5 /* RNNotifications.h */, D8A2F7541CB57F1A002CC8F5 /* RNNotifications.m */, - 50E49F0522D1E4E0007160C1 /* RNNotificationsStore.h */, - 50E49F0622D1E4E0007160C1 /* RNNotificationsStore.m */, - 50351F8D22CD782F000713B3 /* RNEventEmitter.h */, - 50351F8E22CD782F000713B3 /* RNEventEmitter.m */, - 50351F9322CD7FF1000713B3 /* RCTConvert+Notifications.h */, - 50351F9422CD7FF1000713B3 /* RCTConvert+Notifications.m */, + 50351F9622CD8604000713B3 /* RNCommandsHandler.h */, + 50351F9722CD8604000713B3 /* RNCommandsHandler.m */, 508CE7BA22D12B0A00357815 /* Tests */, 508CE7C922D12B2600357815 /* RNNotificationsTests */, 134814211AA4EA7D00B7C361 /* Products */, diff --git a/babel.config.js b/babel.config.js index 07e3b73..f259468 100644 --- a/babel.config.js +++ b/babel.config.js @@ -2,11 +2,11 @@ module.exports = function (api) { api && api.cache(false); return { presets: [ - "module:metro-react-native-babel-preset" + 'module:metro-react-native-babel-preset' ], plugins: [ - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-export-default-from" + '@babel/plugin-proposal-export-namespace-from', + '@babel/plugin-proposal-export-default-from' ] }; -} +}; -- 2.26.2