Skip to content

Commit

Permalink
change resourceSize to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam committed Oct 6, 2021
1 parent 90fd07a commit 58f6e19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __tests__/plugins/network.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('network', () => {
const netinfo = await network.stop();
await Gatherer.stop();
expect(netinfo[0]).toMatchObject({
resourceSize: -1,
resourceSize: 0,
transferSize: 10,
});
});
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ export class NetworkManager {
status: -1,
loadEndTime: -1,
responseReceivedTime: -1,
resourceSize: -1,
transferSize: -1,
resourceSize: 0,
transferSize: 0,
timings: null,
};

Expand Down

0 comments on commit 58f6e19

Please sign in to comment.