Browse Source

fix(tests): expect empty object for deletedRow

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
d5248ee645
  1. 2
      packages/nocodb/tests/unit/model/tests/baseModelSql.test.ts

2
packages/nocodb/tests/unit/model/tests/baseModelSql.test.ts

@ -273,7 +273,7 @@ function baseModelSqlTests() {
const deletedRow = await baseModelSql.readByPk(rowIdToDeleted);
expect(deletedRow).to.be.undefined;
expect(deletedRow).to.be.an('object').that.is.empty;
console.log('Delete record', await Audit.projectAuditList(project.id, {}));
const rowDeletedAudit = (await Audit.projectAuditList(project.id, {})).find(

Loading…
Cancel
Save