Реализована проверка версионности и требование soft\force обновлений приложения
This commit is contained in:
@@ -3,7 +3,7 @@ import { describe, expect, it, vi } from "vitest";
|
||||
const secureValues = vi.hoisted(() => new Map<string, string>());
|
||||
|
||||
vi.mock("expo-constants", () => ({
|
||||
default: { expoConfig: { version: "1.0.0" } },
|
||||
default: { expoConfig: { version: "1.0.1" } },
|
||||
}));
|
||||
vi.mock("expo-crypto", () => ({
|
||||
CryptoDigestAlgorithm: { SHA256: "SHA-256" },
|
||||
@@ -217,7 +217,7 @@ describe("OIDC device metadata", () => {
|
||||
expect(first).toMatchObject({
|
||||
han_fingerprint: "stable-fingerprint",
|
||||
han_platform: "android",
|
||||
han_app_version: "1.0.0",
|
||||
han_app_version: "1.0.1",
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user