mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
4a8979e88c
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
26 lines
662 B
TypeScript
26 lines
662 B
TypeScript
import updateArtifacts from './artifacts';
|
|
|
|
describe('lib/manager/gitsubmodules/artifacts', () => {
|
|
describe('updateArtifacts()', () => {
|
|
it('returns empty content', () => {
|
|
expect(
|
|
updateArtifacts({
|
|
packageFileName: '',
|
|
updatedDeps: [''],
|
|
newPackageFileContent: '',
|
|
config: {},
|
|
})
|
|
).toMatchSnapshot();
|
|
});
|
|
it('returns two modules', () => {
|
|
expect(
|
|
updateArtifacts({
|
|
packageFileName: '',
|
|
updatedDeps: ['renovate', 'renovate-pro'],
|
|
newPackageFileContent: '',
|
|
config: {},
|
|
})
|
|
).toMatchSnapshot();
|
|
});
|
|
});
|
|
});
|