Skip to content

Commit c684d34

Browse files
committed
Assert on rows
1 parent c18b523 commit c684d34

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/sscce-sequelize-6.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ GrandChildren.belongsTo(Children)
100100
expect(created).to.not.be.undefined;
101101
expect(created).to.not.be.null;
102102
expect(count).to.equal(1);
103+
expect(rows.length).to.equal(1);
103104
}
104105

105106

src/sscce-sequelize-7.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,5 @@ export async function run() {
104104
expect(created).to.not.be.undefined;
105105
expect(created).to.not.be.null;
106106
expect(count).to.equal(1);
107+
expect(rows.length).to.equal(1);
107108
}

0 commit comments

Comments
 (0)