mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
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…
x
Reference in New Issue
Block a user