Skip to content

Commit 533a644

Browse files
committed
Removed console.log
Updated typo in test.
1 parent e9865eb commit 533a644

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Umbraco.Web.UI.Client/src/packages/core/router/contexts/route-path-addendum.context.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export class UmbRoutePathAddendumContext
2020
this.consumeContext(UMB_ROUTE_PATH_ADDENDUM_CONTEXT, (context) => {
2121
this.observe(context.addendum, (addendum) => {
2222
this.#parent = addendum;
23-
console.log('parent addendum', addendum, (context as any).getHostElement());
2423
this.#update();
2524
});
2625
}).skipHost();

src/Umbraco.Web.UI.Client/src/packages/core/router/contexts/route-path-addendum.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ describe('UmbRoutepathAddendum', () => {
7878
}
7979
} else if (count === 2) {
8080
if (addendum) {
81-
expect(addendum).to.equal('hello/updateded');
81+
expect(addendum).to.equal('hello/updated');
8282
done();
8383
}
8484
}
8585
});
8686
addendumContext.setAddendum('hello/here');
87-
addendumContext.setAddendum('hello/updateded');
87+
addendumContext.setAddendum('hello/updated');
8888
});
8989

9090
it('returns early set child addendum', (done) => {

0 commit comments

Comments
 (0)