Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam committed Jun 29, 2020
1 parent 44f42e1 commit 6f98ba7
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,15 @@ describe('Capture hard navigation', function() {
transactionEnd
).length

expect(getCount()).toBe(2)
expect(getCount(null)).toBe(2)
// same time as start of 1st resource
expect(getCount(25)).toBe(2)
expect(getCount(25)).toBe(1)
// after first res start time
expect(getCount(30)).toBe(1)
expect(getCount(100)).toBe(1)
// after both resources
expect(getCount(101)).toBe(0)
expect(getCount(101)).toBe(2)
// before both resources
expect(getCount(10)).toBe(0)
})

it('should createUserTimingSpans', function() {
Expand Down

0 comments on commit 6f98ba7

Please sign in to comment.