Skip to content

Commit

Permalink
Add comment explaining getUrlForAppMock has different format
Browse files Browse the repository at this point in the history
  • Loading branch information
kqualters-elastic committed Jan 6, 2021
1 parent 5f1709a commit 4737cee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const getMockObject = (
sourcerer: {},
});

// The string returned is different from what getUrlForApp returns, but does not matter for the purposes of this test.
const getUrlForAppMock = (appId: string, options?: { path?: string; absolute?: boolean }) =>
`${appId}${options?.path ?? ''}`;

Expand Down

0 comments on commit 4737cee

Please sign in to comment.