Skip to content

Commit

Permalink
resolves linter problem
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers committed Jun 26, 2020
1 parent 048bfe5 commit 3e62592
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('get_nodes_usage', () => {
it('calls fetchNodesUsage', async () => {
const callCluster = jest.fn();
callCluster.mockResolvedValueOnce(mockedNodesFetchResponse);
const fetchNodesUsage = jest.fn(async () => ({
jest.fn(async () => ({
cluster_name: 'test',
nodes: mockedNodesResponse,
}));
Expand All @@ -84,7 +84,7 @@ describe('get_nodes_usage', () => {
it('returns a modified array of node usage data', async () => {
const callCluster = jest.fn();
callCluster.mockResolvedValueOnce(mockedNodesFetchResponse);
const fetchNodesUsage = jest.fn(async () => ({
jest.fn(async () => ({
cluster_name: 'test',
nodes: mockedNodesResponse,
}));
Expand Down

0 comments on commit 3e62592

Please sign in to comment.