Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Sep 24, 2020
1 parent 16323e1 commit 28a1500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default function ({ getService }: FtrProviderContext) {
const networkDns = resp.data.source.NetworkDns;
expect(networkDns.edges.length).to.be(10);
expect(networkDns.totalCount).to.be(44);
// @ts-expect-error
expect(networkDns.edges.map((i) => i.node.dnsName).join(',')).to.be(
'aaplimg.com,adgrx.com,akadns.net,akamaiedge.net,amazonaws.com,cbsistatic.com,cdn-apple.com,connman.net,crowbird.com,d1oxlq5h9kq8q5.cloudfront.net'
);
Expand Down Expand Up @@ -93,6 +94,7 @@ export default function ({ getService }: FtrProviderContext) {
const networkDns = resp.data.source.NetworkDns;
expect(networkDns.edges.length).to.be(10);
expect(networkDns.totalCount).to.be(44);
// @ts-expect-error
expect(networkDns.edges.map((i) => i.node.dnsName).join(',')).to.be(
'nflxvideo.net,apple.com,netflix.com,samsungcloudsolution.com,samsungqbe.com,samsungelectronics.com,internetat.tv,samsungcloudsolution.net,samsungosp.com,cbsnews.com'
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default function ({ getService }: FtrProviderContext) {
const networkTopNFlow = resp.data.source.NetworkTopNFlow;
expect(networkTopNFlow.edges.length).to.be(EDGE_LENGTH);
expect(networkTopNFlow.totalCount).to.be(121);
// @ts-expect-error
expect(networkTopNFlow.edges.map((i) => i.node.source!.ip).join(',')).to.be(
'10.100.7.196,10.100.7.199,10.100.7.197,10.100.7.198,3.82.33.170,17.249.172.100,10.100.4.1,8.248.209.244,8.248.211.247,8.248.213.244'
);
Expand Down Expand Up @@ -96,6 +97,7 @@ export default function ({ getService }: FtrProviderContext) {
const networkTopNFlow = resp.data.source.NetworkTopNFlow;
expect(networkTopNFlow.edges.length).to.be(EDGE_LENGTH);
expect(networkTopNFlow.totalCount).to.be(121);
// @ts-expect-error
expect(networkTopNFlow.edges.map((i) => i.node.source!.ip).join(',')).to.be(
'8.248.209.244,8.248.211.247,8.248.213.244,8.248.223.246,8.250.107.245,8.250.121.236,8.250.125.244,8.253.38.231,8.253.157.112,8.253.157.240'
);
Expand Down

0 comments on commit 28a1500

Please sign in to comment.