18 lines
411 B
TypeScript
18 lines
411 B
TypeScript
|
|
// Import this named export into your test file:
|
||
|
|
import Platform from '../platform';
|
||
|
|
|
||
|
|
export const mockGetFromUser = jest.fn().mockResolvedValue({
|
||
|
|
version: '',
|
||
|
|
targetPlatform: Platform.types.Test,
|
||
|
|
projectPath: '.',
|
||
|
|
buildName: Platform.types.Test,
|
||
|
|
buildsPath: 'build',
|
||
|
|
buildMethod: undefined,
|
||
|
|
buildVersion: '1.3.37',
|
||
|
|
customParameters: '',
|
||
|
|
});
|
||
|
|
|
||
|
|
export default {
|
||
|
|
getFromUser: mockGetFromUser,
|
||
|
|
};
|