Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andipaetzold committed Dec 2, 2023
1 parent caf9d7f commit 3c80120
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/encryption/encryption.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("Encryption", () => {
it("should be able to read a page", function () {
this.timeout(5000); // node 20 in CI is slow
const reader = new MDBReader(buffer, { password });
expect(reader.getTableNames()).to.deep.eq(["Table1"]);
expect(reader.getTableNames()).to.eventually.deep.eq(["Table1"]);
});
});

Expand Down
2 changes: 1 addition & 1 deletion test/longtext.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ describe("LongText", () => {
const reader = new MDBReader(buffer);
const table = await reader.getTable("Table1");
const data = await table.getData();
expect(data[0].LongText).to.have.length(5000);
expect(data[0]!['LongText']).to.have.length(5000);
});
});

0 comments on commit 3c80120

Please sign in to comment.