Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #241 from fga-gpp-mds/189_visualizar_hospitais
Browse files Browse the repository at this point in the history
Fix #189 visualizar hospitais
  • Loading branch information
egewarth authored Apr 21, 2018
2 parents d030688 + a0299b3 commit d83ee8d
Show file tree
Hide file tree
Showing 10 changed files with 2,781 additions and 1,100 deletions.
4 changes: 2 additions & 2 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ store.subscribe(() => {
console.log(store.getState());
});

class App extends React.Component{
class App extends React.Component {

render() {
return(
return (
<Provider store={store}>
<LoginNavigator />
</Provider>
Expand Down
11 changes: 11 additions & 0 deletions __tests__/HospitalsScreen.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';
import 'react-native';
import HospitalsScreen from '../src/Screens/HospitalsScreen';
import renderer from 'react-test-renderer';

it('renders correctly', () => {
const tree = renderer
.create(<HospitalsScreen />)
.toJSON();
expect(tree).toMatchSnapshot();
});
11 changes: 11 additions & 0 deletions __tests__/SectorsScreen.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import 'react-native';
import React from 'react';
import SectorsScreen from '../src/Screens/SectorsScreen';
import renderer from 'react-test-renderer';

it('renders correctly', () => {
const tree = renderer
.create(<SectorsScreen />)
.toJSON();
expect(tree).toMatchSnapshot();
});
Loading

0 comments on commit d83ee8d

Please sign in to comment.