mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-01-29 12:19:06 +08:00
* adding option to pass git credential * trigger change * trigger change * build dist/index * prettier * adding set git credentials with more config * correct docker.ts input * change default of git credential * try using git command line to set token * remove git config cat * adding api: to git config * change to token * change input name to reflect the type github private token Co-authored-by: Alexander Brandstedt <alexander@infralium.com> Co-authored-by: Alexander Brandstedt <mad01@users.noreply.github.com>
21 lines
470 B
TypeScript
21 lines
470 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: '',
|
|
gitPrivateToken: '',
|
|
});
|
|
|
|
export default {
|
|
getFromUser: mockGetFromUser,
|
|
};
|