Fix "other" resolver test

This commit is contained in:
Michael Lumish 2020-04-21 10:55:06 -07:00
parent b6846f0709
commit e0533363ec
1 changed files with 1 additions and 1 deletions

View File

@ -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');