mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-01-31 05:19:09 +08:00
18 lines
411 B
JavaScript
18 lines
411 B
JavaScript
// 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,
|
|
};
|