Removed console.log

Updated typo in test.
This commit is contained in:
leekelleher
2025-01-10 17:24:29 +00:00
parent e9865eb503
commit 533a644e12
2 changed files with 2 additions and 3 deletions

View File

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

View File

@@ -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) => {