mirror of https://github.com/grpc/grpc-node.git
Fix "other" resolver test
This commit is contained in:
parent
b6846f0709
commit
e0533363ec
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue