Nav apraksta

index.test.js 528B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /**
  2. * Sample RNTestkit App
  3. * @flow
  4. */
  5. import React, {Component} from 'react';
  6. import {
  7. AppRegistry,
  8. StyleSheet,
  9. Text,
  10. View,
  11. Platform,
  12. ScrollView,
  13. CameraRoll,
  14. Image,
  15. } from 'react-native';
  16. import RNTest from './react-native-testkit/'
  17. import './test-init'
  18. class fetchblob extends Component {
  19. constructor(props) {
  20. super(props)
  21. }
  22. componentDidMount() {
  23. RNTest.run(this)
  24. }
  25. render() {
  26. return <RNTest.Reporter />
  27. }
  28. }
  29. AppRegistry.registerComponent('RNFetchBlobTest', () => fetchblob);