@umituz/web-dashboard 4.1.1 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/web-dashboard",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Installable app skeleton for the fleet — layouts, auth, onboarding, analytics (dependency-free SVG charts), calendar, i18n injection, permissions/session/module registry; ships its own udb-* stylesheet and --u-* tokens",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -100,6 +100,12 @@ describe("validateRegister", () => {
|
|
|
100
100
|
error: AUTH_VALIDATION_KEYS.passwordsDoNotMatch,
|
|
101
101
|
});
|
|
102
102
|
});
|
|
103
|
+
|
|
104
|
+
it("accepts matching confirmation when required (the RegisterForm call shape)", () => {
|
|
105
|
+
expect(
|
|
106
|
+
validateRegister({ ...base, name: "A", confirmPassword: base.password }, false, true),
|
|
107
|
+
).toEqual({ valid: true });
|
|
108
|
+
});
|
|
103
109
|
});
|
|
104
110
|
|
|
105
111
|
describe("validateResetPassword", () => {
|