Removed console.log
Updated typo in test.
This commit is contained in:
@@ -20,7 +20,6 @@ export class UmbRoutePathAddendumContext
|
||||
this.consumeContext(UMB_ROUTE_PATH_ADDENDUM_CONTEXT, (context) => {
|
||||
this.observe(context.addendum, (addendum) => {
|
||||
this.#parent = addendum;
|
||||
console.log('parent addendum', addendum, (context as any).getHostElement());
|
||||
this.#update();
|
||||
});
|
||||
}).skipHost();
|
||||
|
||||
@@ -78,13 +78,13 @@ describe('UmbRoutepathAddendum', () => {
|
||||
}
|
||||
} else if (count === 2) {
|
||||
if (addendum) {
|
||||
expect(addendum).to.equal('hello/updateded');
|
||||
expect(addendum).to.equal('hello/updated');
|
||||
done();
|
||||
}
|
||||
}
|
||||
});
|
||||
addendumContext.setAddendum('hello/here');
|
||||
addendumContext.setAddendum('hello/updateded');
|
||||
addendumContext.setAddendum('hello/updated');
|
||||
});
|
||||
|
||||
it('returns early set child addendum', (done) => {
|
||||
|
||||
Reference in New Issue
Block a user