Skip to content

Instantly share code, notes, and snippets.

View ankurg22's full-sized avatar
🏠
Working from home

Ankur Gupta ankurg22

🏠
Working from home
View GitHub Profile
@RunWith(MockitoJUnitRunner::class)
class GreetingViewTests {
@Test
fun `greeting fetch in progress and user sees progress bar`() {
// Setup
// Act
// Assert
}
}
@ankurg22
ankurg22 / dimen.js
Created May 31, 2020 18:39
React native responsive layout
/*
* Author: Ankur Gupta(ankurg22)
*/
import {
widthPercentageToDP as wp2dp,
heightPercentageToDP as hp2dp,
} from 'react-native-responsive-screen';
/**