add staging ios app build script
This commit is contained in:
@@ -11,8 +11,12 @@ describe('shouldShowAboutBackendUrl', () => {
|
||||
expect(shouldShowAboutBackendUrl('staging')).toBe(true);
|
||||
});
|
||||
|
||||
it('hides backend URL for production', () => {
|
||||
expect(shouldShowAboutBackendUrl('production')).toBe(false);
|
||||
it('hides backend URL for production when not in __DEV__', () => {
|
||||
if (__DEV__) {
|
||||
expect(shouldShowAboutBackendUrl('production')).toBe(true);
|
||||
} else {
|
||||
expect(shouldShowAboutBackendUrl('production')).toBe(false);
|
||||
}
|
||||
});
|
||||
|
||||
it('matches config.showAboutBackendUrl for current build', () => {
|
||||
|
||||
Reference in New Issue
Block a user