Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc-js: Fix interactions between proxy code and new URI parsing #1375

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix "other" resolver test
  • Loading branch information
murgatroid99 committed Apr 21, 2020
commit e0533363ec4882b33d64e7932d75be392e9320d5
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