Skip to content

Commit

Permalink
test(e2e): add spacing around crash buttons
Browse files Browse the repository at this point in the history
previously they were the ugliest, my fault
  • Loading branch information
mikehardy committed Apr 29, 2021
1 parent a7729a5 commit d1734fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,17 @@ function Root() {
style={{ flex: 1, paddingTop: 20, justifyContent: 'center', alignItems: 'center' }}
>
<Text style={{ fontSize: 25, marginBottom: 30 }}>React Native Firebase</Text>
<Text style={{ fontSize: 25, marginBottom: 30 }}>End-to-End Testing App2</Text>
<Text style={{ fontSize: 25, marginBottom: 30 }}>End-to-End Testing App</Text>
<Button
style={{ flex: 1, marginTop: 20 }}
title={'Test Native Crash Now.'}
onPress={() => {
firebase.crashlytics().crash();
}}
/>
<View testId="spacer" style={{ height: 20 }} />
<Button
style={{ flex: 1, marginTop: 20 }}
title={'Test Javascript Crash Now.'}
onPress={() => {
undefinedVariable.notAFunction();
Expand Down

0 comments on commit d1734fb

Please sign in to comment.