Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlog committed Sep 20, 2020
1 parent 2d13d59 commit 091c049
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -712,11 +712,11 @@ describe('when on the list page', () => {
let renderAndWaitForData: () => Promise<ReturnType<AppContextTestRender['render']>>;

const mockEndpointListApi = () => {
const { hosts } = mockEndpointResultList();
const { hosts, query_strategy_version: queryStrategyVersion } = mockEndpointResultList();
hostInfo = {
host_status: hosts[0].host_status,
metadata: hosts[0].metadata,
query_strategy_version: mockEndpointResultList.query_strategy_version,
query_strategy_version: queryStrategyVersion,
};
const packagePolicy = docGenerator.generatePolicyPackagePolicy();
packagePolicy.id = hosts[0].metadata.Endpoint.policy.applied.id;
Expand Down

0 comments on commit 091c049

Please sign in to comment.