Skip to content

Commit

Permalink
fix test? number conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ocean committed Jul 15, 2024
1 parent f109cdd commit d50c979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/integration/logs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe('LogDatabase CRUD', () => {
const logs = await database.logs.retrieveMultipleLogs(startTime, endTime, 1)

expect(logs?.length).to.equal(1)
expect(logs?.[0].id).to.greaterThan(Number(logId))
expect(Number(logs?.[0].id)).to.greaterThan(Number(logId))
expect(logs?.[0].level).to.equal(newLogEntry.level)
expect(logs?.[0].message).to.equal(newLogEntry.message)
expect(logs?.[0].moduleName).to.equal('HTTP')
Expand Down

0 comments on commit d50c979

Please sign in to comment.