mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-18 12:35:31 -04:00
@@ -721,14 +721,27 @@ export function mockOsAccount() {
|
||||
getAccountManager: function (...args) {
|
||||
console.warn("osAccount.getAccountManager interface mocked in the Previewer. " +
|
||||
"How this interface works on the Previewer may be different from that on a real device.")
|
||||
return accountManagerMock;
|
||||
return AccountManagerMock;
|
||||
},
|
||||
OsAccountType: {
|
||||
ADMIN: "[PC Preview] unknown ADMIN",
|
||||
NORMAL: "[PC Preview] unknown NORMAL",
|
||||
GUEST: "[PC Preview] unknown GUEST"
|
||||
},
|
||||
UserAuth: UserAuthClass,
|
||||
PINAuth: PINAuthClass,
|
||||
UserIdentityManager: UserIdentityManagerClass,
|
||||
ConstraintSourceType,
|
||||
OsAccountType,
|
||||
FingerprintTips,
|
||||
FaceTipsCode,
|
||||
ResultCode,
|
||||
Module,
|
||||
AuthTrustLevel,
|
||||
AuthSubType,
|
||||
GetPropertyType,
|
||||
SetPropertyType,
|
||||
AuthType,
|
||||
}
|
||||
return osAccount
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user