Skip to content

Commit

Permalink
Use floor instead of round to match navtiming plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
querymetrics authored and nicjansma committed Apr 4, 2018
1 parent 1cce81c commit a45b2c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ BOOMR_test.templates.SPA["19-autoxhr-during-nav-alwayssendxhr"] = function() {
var st = BOOMR.window.performance.timing.navigationStart;

for (var beaconProp in BEACON_VAR_RT_MAP) {
var resTime = Math.round(res[BEACON_VAR_RT_MAP[beaconProp]] + st);
var resTime = Math.floor(res[BEACON_VAR_RT_MAP[beaconProp]] + st);

assert.equal(
b[beaconProp],
Expand Down

0 comments on commit a45b2c2

Please sign in to comment.