mirror of
https://github.com/expo/react-native-community-cli.git
synced 2026-11-14 19:11:48 -10:00
* Remove remaining pieces of Flow * Update CircleCI configuration * I lied, fix config one more time * Remove flow-typed and console-log
19 lines
406 B
JavaScript
19 lines
406 B
JavaScript
jest.mock('@react-native-community/cli-tools', () => {
|
|
return {
|
|
...jest.requireActual('@react-native-community/cli-tools'),
|
|
fetch: jest.fn(),
|
|
logger: {
|
|
success: jest.fn(),
|
|
info: jest.fn(),
|
|
warn: jest.fn(),
|
|
error: jest.fn(),
|
|
debug: jest.fn(),
|
|
log: jest.fn(),
|
|
setVerbose: jest.fn(),
|
|
isVerbose: jest.fn(),
|
|
},
|
|
};
|
|
});
|
|
|
|
jest.setTimeout(20000);
|