diff --git a/lib/test-db-mongo.js b/lib/test-db-mongo.js index f3596e1..1334baa 100644 --- a/lib/test-db-mongo.js +++ b/lib/test-db-mongo.js @@ -102,12 +102,12 @@ module.exports = ({ : propsMatch(docs, searchedProps) ) ) - assert.deepEqual(notExist, [], `${dbName}.${colName}: missing mandatory entries`) + assert.deepEqual(notExist, [], `${dbName}.${colName}: mustExist assertion - missing mandatory entries in db`) } if (mustEql.length) { const notEqual = mustEql.filter((searchedProps) => !propsMatch(docs, searchedProps)) - assert.deepEqual(notEqual, [], `${dbName}.${colName}: mutated or missing entries`) + assert.deepEqual(notEqual, [], `${dbName}.${colName}: mustEql assertion - entries mutated or missing in db`) } }), } = {}) => cols[colName] || (cols[colName] = {