mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
ci: add more tests and general fixes
This commit is contained in:
6
packages/core/api/sync/utils.js
Normal file
6
packages/core/api/sync/utils.js
Normal file
@@ -0,0 +1,6 @@
|
||||
function areAllEmpty(obj) {
|
||||
const arrays = Object.values(obj).filter((v) => v.length !== undefined);
|
||||
return arrays.every((array) => array.length === 0);
|
||||
}
|
||||
|
||||
export { areAllEmpty };
|
||||
Reference in New Issue
Block a user