Browse Source

fix(test): deletedRow expected value

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

2
packages/nocodb-nest/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