Skip to content

Commit

Permalink
Fixes a boggus conflict resolution (#6469)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis committed Oct 2, 2018
1 parent 142bfcc commit f72063a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __tests__/registries/npm-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,11 @@ describe('checkOutdated functional test', () => {
});

test('latest version fallback to wanted package manifest', async () => {
const testCwd = '.';
const {mockRequestManager, mockRegistries, mockReporter} = createMocks();
const npmRegistry = new NpmRegistry(testCwd, mockRegistries, mockRequestManager, mockReporter, true, []);

mockRequestManager.request = () => {
return {
'dist-tags': {},
versions: {
Expand Down

0 comments on commit f72063a

Please sign in to comment.