Skip to content

Commit

Permalink
Fix "other" resolver test
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Apr 21, 2020
1 parent b6846f0 commit e053336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-js/test/test-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ describe('Name Resolver', () => {
}

it('Should return the correct authority if a different resolver has been registered', () => {
resolverManager.registerResolver('other', OtherResolver);
const target = resolverManager.mapUriDefaultScheme(parseUri('other:name')!)!;
console.log(target);
resolverManager.registerResolver('other', OtherResolver);

const authority = resolverManager.getDefaultAuthority(target);
assert.equal(authority, 'other');
Expand Down

0 comments on commit e053336

Please sign in to comment.