1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-05 11:13:44 +00:00

Fix tests

This commit is contained in:
Bernd Schoolmann
2025-08-29 14:01:26 +02:00
parent 9e1a683c44
commit fb2e9b2039

View File

@@ -21,7 +21,16 @@ import { OsBiometricService } from "./os-biometrics.service";
jest.mock("@bitwarden/desktop-napi", () => {
return {
biometrics: jest.fn(),
biometrics: {
authenticate: jest.fn(),
authenticate_available: jest.fn(),
enroll_persistent: jest.fn(),
provide_key: jest.fn(),
unlock: jest.fn(),
unlock_available: jest.fn(),
has_persistent: jest.fn(),
initBiometricSystem: jest.fn(),
},
passwords: jest.fn(),
};
});