Skip to content

Commit 58e3549

Browse files
authored
Fixed usage of assert() (#205)
- For consistency and clarity we always use a method call with assert - This is an eslint rule, it's failing for me locally but not on CI for some strange reason
1 parent 273f889 commit 58e3549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/bookshelf-transaction-events/test/bookshelf-transaction-events.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('Bookshelf transaction events', function () {
3131

3232
await trx.commit();
3333

34-
assert(trx.isCompleted());
35-
assert(trx.commit.calledBefore(trx.emit));
34+
assert.ok(trx.isCompleted());
35+
assert.ok(trx.commit.calledBefore(trx.emit));
3636
});
3737
});

0 commit comments

Comments
 (0)