mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00

* using SSH_AUTH_SOCK (ssh agent forwarding) to pull upm private repos * sshAgent as input parameter * yarn run prettier --write "src/**/*.{js,ts}" * yarn run lint --fix && yarn build * fixed compilation after rebase * removed RUN apt-get update && apt-get install -y openssh-client. This change needs to be done upstream. See game-ci/docker#117
20 lines
447 B
TypeScript
20 lines
447 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: '',
|
|
sshAgent: '',
|
|
chownFilesTo: '',
|
|
});
|
|
|
|
export default {
|
|
getFromUser: mockGetFromUser,
|
|
};
|