Skip to content

Commit 5dea052

Browse files
committed
chore: fixed failing test case for expo-splash-screen
1 parent 08bf76b commit 5dea052

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
module.exports.hideAsync = () => new Promise();
1+
module.exports = {
2+
hideAsync: () => new Promise(),
3+
preventAutoHideAsync: () => Promise.resolve(false),
4+
};

template/src/screens/AuthScreens/BootstrapApp/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {replace} from '../../../utilities/navigationService';
88

99
interface BootStrapAppProps {}
1010

11-
preventAutoHideAsync()
11+
preventAutoHideAsync();
1212

1313
const BootstrapApp: React.FC<BootStrapAppProps> = () => {
1414
const bootstrapApp = async () => {

0 commit comments

Comments
 (0)