Skip to content

Commit

Permalink
try fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ocean committed Aug 27, 2024
1 parent 2cbf4ee commit 839ec0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/integration/logs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ describe('LogDatabase retrieveMultipleLogs with pagination', () => {
undefined,
1 // Page 1
)
console.log('logs 1:', logsPage1)
const logsPage2 = await database.logs.retrieveMultipleLogs(
new Date(Date.now() - 10000), // 10 seconds ago
new Date(), // now
Expand All @@ -459,6 +460,7 @@ describe('LogDatabase retrieveMultipleLogs with pagination', () => {
undefined,
page // Page 2
)
console.log('logs 2:', logsPage2)

// Ensure that the logs on page 2 are different from those on page 1 if logsPage2 is not empty
if (logsPage2.length > 0) {
Expand Down

0 comments on commit 839ec0d

Please sign in to comment.