Skip to content

Commit

Permalink
fix: make assertions more resilient
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 6, 2022
1 parent ebf2575 commit bed3cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/orm/model-many-to-many.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4848,7 +4848,7 @@ test.group('Model | ManyToMany | save', (group) => {
assert.equal(skillUsers[0].skill_id, skill.id)
assert.isNotNull(skillUsers[0].created_at)
assert.isNotNull(skillUsers[0].updated_at)
assert.deepEqual(skillUsers[0].created_at, skillUsers[0].updated_at)
assert.isAtLeast(skillUsers[0].updated_at, skillUsers[0].created_at)
assert.isUndefined(user.$trx)
assert.isUndefined(skill.$trx)
})
Expand Down

0 comments on commit bed3cca

Please sign in to comment.