Skip to content

Commit

Permalink
chore: get some visibility into the aggregatedMeterEvent
Browse files Browse the repository at this point in the history
tests failing in PR
  • Loading branch information
travis committed Dec 12, 2024
1 parent d2a6a51 commit 9d5c796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions billing/test/lib/egress-traffic.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export const test = {
} catch {
assert.fail('No aggregated meter event found. Stripe probably did not process the events yet.')
}
console.log(aggregatedMeterEvent)
assert.ok(aggregatedMeterEvent, 'No aggregated meter event found')
assert.ok(aggregatedMeterEvent.data, 'No aggregated meter event found')
assert.equal(aggregatedMeterEvent.data.length, 1, 'Expected 1 aggregated meter event')
Expand Down

0 comments on commit 9d5c796

Please sign in to comment.