renovate/lib/modules/platform/azure/__snapshots__/azure-helper.spec.ts.snap

42 lines
983 B
Text
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`modules/platform/azure/azure-helper getAzureBranchObj should get the branch object 1`] = `
2022-08-16 12:22:29 +00:00
{
"name": "refs/heads/branchName",
"oldObjectId": "132",
}
`;
exports[`modules/platform/azure/azure-helper getAzureBranchObj should get the branch object when ref missing 1`] = `
2022-08-16 12:22:29 +00:00
{
"name": "refs/heads/branchName",
"oldObjectId": "0000000000000000000000000000000000000000",
}
`;
exports[`modules/platform/azure/azure-helper getCommitDetails should get commit details 1`] = `
2022-08-16 12:22:29 +00:00
{
"parents": [
"123456",
],
}
`;
2022-08-16 12:22:29 +00:00
exports[`modules/platform/azure/azure-helper getFile should return the file content because it is not a json 1`] = `"{"hello"= "test"}"`;
exports[`modules/platform/azure/azure-helper getRef should get the ref with full ref name 1`] = `
2022-08-16 12:22:29 +00:00
[
{
"objectId": "132",
},
]
`;
exports[`modules/platform/azure/azure-helper getRef should get the ref with short ref name 1`] = `
2022-08-16 12:22:29 +00:00
[
{
"objectId": 132,
},
]
`;