Skip to content

Commit

Permalink
fetch-network: added sender IP assert for ping
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperMaxusa authored and copy committed Jan 31, 2025
1 parent 88f95b6 commit 85ec802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/devices/fetch_network.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const tests =
end: (capture) =>
{
assert(/2 packets transmitted, 2 (packets )?received, 0% packet loss/.test(capture), "2 packets transmitted, 2 packets received, 0% packet loss");
assert(/from 1\.2\.3\.4:/.test(capture), "got correct source ip");
},
},
{
Expand Down

0 comments on commit 85ec802

Please sign in to comment.