Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Jun 12, 2024
1 parent 0acc7d1 commit ff98df0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/test/lib/network-request-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,14 +309,15 @@ describe('NetworkRequest', () => {
const request = NetworkRequest.asLanternNetworkRequest({
protocol: 'h2',
timing: {},
lrStatistics: {TCPMs: 100},
lrStatistics: {TCPMs: 100, requestMs: 1000},
});
expect(request.timing).toStrictEqual({
connectStart: 0,
connectEnd: 100,
sslStart: 50,
sslEnd: 100,
});
expect(request.serverResponseTime).toStrictEqual(1000);
});

it('uses lrStatistics to make timings (h3)', () => {
Expand Down

0 comments on commit ff98df0

Please sign in to comment.