Skip to content

Commit

Permalink
test: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Apr 8, 2020
1 parent 3a813e6 commit bd1bec4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/workers/repository/updates/flatten.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ describe('workers/repository/updates/flatten', () => {
updateTypes: ['pin'],
updates: [{ newValue: '2.0.0' }],
},
{
depName: 'a',
updates: [{ newName: 'b' }],
},
],
},
{
Expand Down Expand Up @@ -73,7 +77,7 @@ describe('workers/repository/updates/flatten', () => {
],
};
const res = flattenUpdates(config, packageFiles);
expect(res).toHaveLength(9);
expect(res).toHaveLength(10);
expect(
res.filter(r => r.updateType === 'lockFileMaintenance')
).toHaveLength(2);
Expand Down

0 comments on commit bd1bec4

Please sign in to comment.