Skip to content

Commit

Permalink
Merge pull request #32 from Gewaer/refactor-add-company
Browse files Browse the repository at this point in the history
Refactor add company
  • Loading branch information
alexup19 committed May 10, 2019
2 parents d797952 + 82d3acd commit 9299457
Show file tree
Hide file tree
Showing 85 changed files with 1,169 additions and 924 deletions.
9 changes: 9 additions & 0 deletions __tests__/AddCompany.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import "react-native";
import React from "react";
import renderer from "react-test-renderer";
import AddCompany from "../src/screens/add-company";

test("funtion are renderes", () => {
const company = renderer.create(<AddCompany />).toJSON();
expect(company).toMatchSnapshot();
});
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @lint-ignore-every XPLATJSCOPYRIGHT1
*/
import { Navigation } from 'react-native-navigation';
import { registerScreens } from './src/navigation/screens';
import registerScreens from './src/screens/registerScreen';
import'./src/config/sentry';

registerScreens();
Expand Down
19 changes: 1 addition & 18 deletions ios/Canvas.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
B6290EC72270A8EE007487F7 /* libRNImageCropPicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B6290EC62270A8EE007487F7 /* libRNImageCropPicker.a */; };
B6290EE52270C973007487F7 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = B6290EE42270C973007487F7 /* GoogleService-Info.plist */; };
B629255C21DE5F0900A4F676 /* libRNDocumentPicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B629255921DE5EB200A4F676 /* libRNDocumentPicker.a */; };
B63328EF2278C7A500A37E24 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B63328C02278C7A500A37E24 /* JavaScriptCore.framework */; };
B63328F02278CFEC00A37E24 /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B63328C02278C7A500A37E24 /* JavaScriptCore.framework */; };
B641D4E3AC824B188D2AC689 /* libRNSentry.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 09264A8CE9B34A6D832DF556 /* libRNSentry.a */; };
B6A59B50226FAF8A00F16927 /* libFBSDKCoreKit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B6A59B4F226FAF8A00F16927 /* libFBSDKCoreKit.a */; };
Expand Down Expand Up @@ -564,11 +563,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
<<<<<<< Updated upstream
B73E4F56227B4DA800D107A6 /* libRNSound.a in Frameworks */,
=======
B63328EF2278C7A500A37E24 /* JavaScriptCore.framework in Frameworks */,
>>>>>>> Stashed changes
B6290EC72270A8EE007487F7 /* libRNImageCropPicker.a in Frameworks */,
B6A59B58226FAF9200F16927 /* libRNGoogleSignin.a in Frameworks */,
B6A59B50226FAF8A00F16927 /* libFBSDKCoreKit.a in Frameworks */,
Expand Down Expand Up @@ -760,12 +755,7 @@
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
isa = PBXGroup;
children = (
<<<<<<< Updated upstream
B73E4F55227B4DA800D107A6 /* libRNSound.a */,
=======
B63328C02278C7A500A37E24 /* JavaScriptCore.framework */,
B630C2CF22720BE700D206E1 /* RNTrackPlayer.xcodeproj */,
>>>>>>> Stashed changes
B6290EDD2270AF0B007487F7 /* RNSound.xcodeproj */,
B6290EC62270A8EE007487F7 /* libRNImageCropPicker.a */,
B6A59B6E226FB0F900F16927 /* ReactNativeNavigation.xcodeproj */,
Expand Down Expand Up @@ -924,6 +914,7 @@
85D88B093817400E88D158CC /* libimageCropPicker.a */,
09264A8CE9B34A6D832DF556 /* libRNSentry.a */,
AA4DD1973A8540AEB294577D /* libRNSentry-tvOS.a */,
B63328C02278C7A500A37E24 /* JavaScriptCore.framework */,
);
name = "Recovered References";
sourceTree = "<group>";
Expand Down Expand Up @@ -1942,11 +1933,7 @@
"$(inherited)",
"-lc++",
);
<<<<<<< Updated upstream
PRODUCT_BUNDLE_IDENTIFIER = com.mctekk.canvas;
=======
PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.CanvasMobile;
>>>>>>> Stashed changes
PRODUCT_NAME = Canvas;
PROVISIONING_PROFILE_SPECIFIER = "";
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -1979,11 +1966,7 @@
"$(inherited)",
"-lc++",
);
<<<<<<< Updated upstream
PRODUCT_BUNDLE_IDENTIFIER = com.mctekk.canvas;
=======
PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.CanvasMobile;
>>>>>>> Stashed changes
PRODUCT_NAME = Canvas;
PROVISIONING_PROFILE_SPECIFIER = "";
VERSIONING_SYSTEM = "apple-generic";
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"test-android": "cd android && fastlane test && cd ../"
},
"dependencies": {
"@types/lodash": "^4.14.123",
"@types/react-native": "^0.57.51",
"@types/react-redux": "^7.0.8",
"axios": "^0.18.0",
"lodash": "^4.17.11",
"moment": "^2.24.0",
Expand Down Expand Up @@ -50,6 +53,7 @@
"@types/enzyme": "^3.9.1",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.11",
"@types/react-test-renderer": "^16.8.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "24.1.0",
Expand All @@ -62,7 +66,7 @@
"react-dom": "^16.8.6",
"react-native-dotenv": "^0.2.0",
"react-native-typescript-transformer": "^1.2.12",
"react-test-renderer": "16.6.3",
"react-test-renderer": "^16.6.3",
"ts-jest": "^24.0.2",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
Expand Down
34 changes: 0 additions & 34 deletions src/actions/SessionActions.js

This file was deleted.

50 changes: 0 additions & 50 deletions src/assets/images/ahorrando/ahorrando-W.svg

This file was deleted.

Binary file removed src/assets/images/ahorrando/ahorrando-tag-W-gdt.png
Binary file not shown.
119 changes: 0 additions & 119 deletions src/assets/images/ahorrando/ahorrando-tag-W-gdt.svg

This file was deleted.

Binary file removed src/assets/images/ahorrando/credit-card.png
Binary file not shown.
Loading

0 comments on commit 9299457

Please sign in to comment.