Skip to content

Commit a47eb05

Browse files
committed
fix tests
1 parent 84cf9a4 commit a47eb05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/lib/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
branches: 90,
1111
functions: 95,
1212
lines: 95,
13-
statements: -4,
13+
statements: -5,
1414
},
1515
},
1616
moduleNameMapper: {

projects/lib/portal-options/services/crd-gateway-kcp-patch-resolver.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class CrdGatewayKcpPatchResolver {
1414
entityId?: string,
1515
kind?: string,
1616
) {
17-
if (nextNode.context.kcpPath) {
17+
if (nextNode.context?.kcpPath) {
1818
this.gatewayService.updateCrdGatewayUrlWithEntityPath(
1919
nextNode.context.kcpPath,
2020
);

0 commit comments

Comments
 (0)