mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 22:19:41 +01:00
test: improve overall test coverage
This commit is contained in:
@@ -65,15 +65,3 @@ export const EVENTS = {
|
||||
};
|
||||
|
||||
export const CURRENT_DATABASE_VERSION = 5.6;
|
||||
|
||||
export function setUserPersonalizationBytes(userSalt) {
|
||||
USER_PERSONALIZATION_HASH = new Uint8Array(
|
||||
Buffer.from(userSalt, "base64")
|
||||
).slice(0, 8);
|
||||
if (
|
||||
!USER_PERSONALIZATION_HASH.length ||
|
||||
!USER_PERSONALIZATION_HASH.byteLength
|
||||
)
|
||||
USER_PERSONALIZATION_HASH = undefined;
|
||||
}
|
||||
export var USER_PERSONALIZATION_HASH = null;
|
||||
|
||||
Reference in New Issue
Block a user