Skip to content
Snippets Groups Projects
Commit b61f23dd authored by Rhys Arkins's avatar Rhys Arkins
Browse files

test: remove submodules snapshots

parent 54f4a035
No related branches found
No related tags found
No related merge requests found
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`lib/manager/gitsubmodules/extract extractPackageFile() extracts submodules 1`] = `
Array [
Object {
"currentDigest": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"currentValue": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"depName": "PowerShell-Docs",
"registryUrls": Array [
"git@github.com:PowerShell/PowerShell-Docs",
"master",
],
},
]
`;
exports[`lib/manager/gitsubmodules/extract extractPackageFile() extracts submodules 2`] = `
Array [
Object {
"currentDigest": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"currentValue": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"depName": "PowerShell-Docs",
"registryUrls": Array [
"git@github.com:PowerShell/PowerShell-Docs",
"staging",
],
},
]
`;
exports[`lib/manager/gitsubmodules/extract extractPackageFile() extracts submodules 3`] = `
Array [
Object {
"currentDigest": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"currentValue": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"depName": "PowerShell-Docs",
"registryUrls": Array [
"https://github.com/PowerShell/PowerShell-Docs",
"staging",
],
},
]
`;
exports[`lib/manager/gitsubmodules/extract extractPackageFile() extracts submodules 4`] = `
Array [
Object {
"currentDigest": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"currentValue": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"depName": "deps/renovate",
"registryUrls": Array [
"https://github.com/renovatebot/renovate.git",
"master",
],
},
Object {
"currentDigest": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"currentValue": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"depName": "deps/renovate-pro",
"registryUrls": Array [
"https://github.com/renovatebot/pro.git",
"master",
],
},
Object {
"currentDigest": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"currentValue": "4b825dc642cb6eb9a060e54bf8d69288fbee4904",
"depName": "deps/renovate-config",
"registryUrls": Array [
"https://github.com/renovatebot/renovate-config.git",
"master",
],
},
]
`;
......@@ -34,16 +34,12 @@ describe('lib/manager/gitsubmodules/extract', () => {
await extractPackageFile('', '.gitmodules.1', { localDir })
).toBeNull();
res = await extractPackageFile('', '.gitmodules.2', { localDir });
expect(res.deps).toMatchSnapshot();
expect(res.deps).toHaveLength(1);
res = await extractPackageFile('', '.gitmodules.3', { localDir });
expect(res.deps).toMatchSnapshot();
expect(res.deps).toHaveLength(1);
res = await extractPackageFile('', '.gitmodules.4', { localDir });
expect(res.deps).toMatchSnapshot();
expect(res.deps).toHaveLength(1);
res = await extractPackageFile('', '.gitmodules.5', { localDir });
expect(res.deps).toMatchSnapshot();
expect(res.deps).toHaveLength(3);
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment