Protocol: git/ssh
Host: {git-service-address}.com [ex. bitbucket.com]
Port: 7999
[] Login/Password
Promise.all(elementJson.map(async (test) => { | |
return getTestElementValue(testId, test.id); | |
})).then(array => { | |
groupArrayByProperty(elementJson.map(function (x, i) { | |
x.element = array[i]; | |
return x; | |
}), 'path', 0, testId, stateKey, self, testInfo) | |
}); |
{ | |
"actions": [ | |
[ | |
{ | |
"actorCellId": 0, | |
"championId": 103, | |
"completed": true, | |
"id": 1, | |
"pickTurn": 1, | |
"type": "ban" |
{ | |
"accountId": 214236746, | |
"basePoints": 0, | |
"battleBoostIpEarned": 0, | |
"boostIpEarned": 0, | |
"boostXpEarned": 0, | |
"causedEarlySurrender": false, | |
"championId": 111, | |
"coOpVsAiMinutesLeftToday": 180, | |
"coOpVsAiMsecsUntilReset": 0, |
{ | |
"activePlayer": { | |
"abilities": { | |
"E": { | |
"abilityLevel": 1, | |
"displayName": "Supercharge", | |
"id": "KaisaE", | |
"rawDescription": "GeneratedTip_Spell_KaisaE_Description", | |
"rawDisplayName": "GeneratedTip_Spell_KaisaE_DisplayName" | |
}, |
{ | |
"basePath": "/", | |
"consumes": [ | |
"application/json", | |
"application/vnd.api+json", | |
"application/x-yaml", | |
"application/x-msgpack", | |
"application/octet-stream", | |
"application/x-www-form-urlencoded", | |
"multipart/form-data" |
version=${VERSION:-$(gitversion /nocache /output json /showvariable SemVer)} | |
git tag "v$version"; | |
git push origin --tags; |
const groupArrayOfObjectsByProperty = (array, property) => { | |
return array.reduce((r, a) => { | |
r[a[property]] = [...r[a[property]] || [], a]; | |
return r; | |
}, {}); | |
} | |
const array = [ | |
{type: 'dog', name: 'Henry'}, | |
{type: 'cat', name: 'Steve'}, |