Ingen beskrivning

index.test.js 637B

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