Giter VIP home page Giter VIP logo

react-native-contacts-test's Introduction

Deprecated please use the example in the module to test features https://github.com/rt2zz/react-native-contacts/tree/master/example

react-native-contacts-test

An integration test for react-native-contacts.

Install

Running

ios

  • react-native run-ios

android

  • react-native run-android

Tests

  • yarn test

Testing Changes

We use this repo to test changes in react-native-contacts. To test PRs update the dependency in your copy

In package.json

"react-native-contacts": "username/react-native-contacts#branch-name"

run npm install. Then follow regular instructions for installing above.

wishlist

react-native-contacts-test's People

Contributors

alexfigtree avatar hsubox76 avatar morenoh149 avatar npomfret avatar rodrigos0ares avatar rt2zz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-native-contacts-test's Issues

Unable to run the tests

I am getting an error when running the tests on my machine. The error is as follows:

 FAIL  __tests__\index.android.js
  ? Test suite failed to run

    E:/react-native/react-native-contacts-test-master/__tests__/index.android.js
: Unexpected token (10:4)
         8 | it('renders correctly', () => {
         9 |   const tree = renderer.create(
      > 10 |     <Index />
           |     ^
        11 |   );
        12 | });
        13 |

Can you help please.

Steps that I followed:

  1. Extracted the folder
  2. Ran "yarn install"
  3. Ran "npm test"

TIA

I m facing an issue in this code?

Can someone help me I m facing error ?
and the error is:

ReactNativeContacts is not abstract and does not override abstract method createJSModules() in ReactPackage
public class ReactNativeContacts implements ReactPackage {
       ^
1 error
:react-native-contacts:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-contacts:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 8.419 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

(node:5264) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined

plz help me out of this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.