Add mock for getCycleDay
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
Text
|
||||
} from 'react-native'
|
||||
import styles from './styles'
|
||||
import getCycleDay from './get-cycle-day'
|
||||
|
||||
export default class Home extends Component {
|
||||
constructor(props) {
|
||||
@@ -15,7 +16,7 @@ export default class Home extends Component {
|
||||
const navigate = this.props.navigation.navigate
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.welcome}>Welcome! Today is day 6 of your current cycle</Text>
|
||||
<Text style={styles.welcome}>Welcome! Today is day {getCycleDay()} of your current cycle</Text>
|
||||
<Button
|
||||
onPress={() => navigate('temperatureList')}
|
||||
title="Edit symptoms for today">
|
||||
|
||||
Reference in New Issue
Block a user