Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scottybollinger committed Jul 8, 2020
1 parent d72e988 commit d6740f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('Shared Telemetry Helpers', () => {
});

expect(httpMock.put).toHaveBeenCalledWith('/api/enterprise_search/telemetry', {
headers: { 'content-type': 'application/json; charset=utf-8' },
headers: { 'Content-Type': 'application/json' },
body: '{"action":"viewed","metric":"setup_guide"}',
});
});
Expand All @@ -48,7 +48,7 @@ describe('Shared Telemetry Helpers', () => {
});

expect(httpMock.put).toHaveBeenCalledWith('/api/app_search/telemetry', {
headers: { 'content-type': 'application/json; charset=utf-8' },
headers: { 'Content-Type': 'application/json' },
body: '{"action":"clicked","metric":"button"}',
});
});
Expand Down

0 comments on commit d6740f2

Please sign in to comment.