diff --git a/test/lib/getKcContext.ts b/test/lib/getKcContext.ts index 64f24340..71f7b6e6 100644 --- a/test/lib/getKcContext.ts +++ b/test/lib/getKcContext.ts @@ -164,7 +164,7 @@ import { deepClone } from "../../src/tools/deepClone"; assert< Equals< typeof kcContext, - KcContextBase.Common.Login & { + KcContextBase.Common & { pageId: typeof pageId; aNonStandardValue2: string; } diff --git a/test/tsconfig.json b/test/tsconfig.json index 82edb927..7239f999 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -13,7 +13,7 @@ "incremental": true, "strict": true, "downlevelIteration": true, - "jsx": "react", + "jsx": "react-jsx", "noFallthroughCasesInSwitch": true, "paths": { "keycloakify/*": ["../src/*"]