Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
blakebyrnes committed Dec 5, 2024
1 parent 2e85f17 commit 0a63167
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agent/mitm/test/dns.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ describe('DnsOverTlsSocket', () => {

test('should be able to lookup dns records and reuse the socket', async () => {
const response = await testDnsSocket.lookupARecords('ulixee.org');
expect(response.answers).toHaveLength(2);
expect(response.answers).toHaveLength(4);
const response2 = await testDnsSocket.lookupARecords('ulixee.org');
expect(response2.answers).toHaveLength(2);
expect(response2.answers).toHaveLength(4);
});

test('should be able to lookup multiple records at once', async () => {
Expand All @@ -109,7 +109,7 @@ describe('DnsOverTlsSocket', () => {
try {
socket = new DnsOverTlsSocket({ dnsOverTlsConnection: Google }, requestSession);
const response = await socket.lookupARecords('ulixee.org');
expect(response.answers).toHaveLength(2);
expect(response.answers).toHaveLength(4);
} finally {
socket.close();
}
Expand Down

0 comments on commit 0a63167

Please sign in to comment.