ci: add more tests and general fixes

This commit is contained in:
thecodrr
2020-04-09 16:36:57 +05:00
parent 43904aaee8
commit 02480da2e3
18 changed files with 792 additions and 313 deletions

View 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 };