nav tabs on admin dashboard

This commit is contained in:
2019-03-07 00:20:34 -06:00
parent f73d6ae228
commit e4f473f376
11661 changed files with 216240 additions and 1544253 deletions

View File

@@ -12,10 +12,12 @@ module.exports = function diffOperations(actual, expected, expectedMissing) {
forEach(actualKeys, function (op) {
if (!(op in expected)) {
extra.push(op);
} else if (expectedMissing.indexOf(op) !== -1) {
extra.push(op);
}
});
forEach(expectedKeys, function (op) {
if (!(op in actual) && expectedMissing.indexOf(op) === -1) {
if (typeof actual[op] !== 'function' && expectedMissing.indexOf(op) === -1) {
missing.push(op);
}
});