We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 527ac2f commit 2aba352Copy full SHA for 2aba352
jest/setup.js
@@ -135,6 +135,10 @@ jest
135
getRecommendedTimeoutMillis: jest.fn(),
136
},
137
}))
138
+ .mock('../Libraries/Components/Clipboard/Clipboard', () => ({
139
+ getString: jest.fn(() => ''),
140
+ setString: jest.fn(),
141
+ }))
142
.mock('../Libraries/Components/RefreshControl/RefreshControl', () =>
143
jest.requireActual(
144
'../Libraries/Components/RefreshControl/__mocks__/RefreshControlMock',
@@ -201,10 +205,6 @@ jest
201
205
process.nextTick(() => callback(null, [])),
202
206
),
203
207
204
- Clipboard: {
- getString: jest.fn(() => ''),
- setString: jest.fn(),
- },
208
DeviceInfo: {
209
getConstants() {
210
return {
0 commit comments