Skip to content

Commit

Permalink
test: πŸ’ make test locator async
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jun 1, 2021
1 parent 5361362 commit fefd109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/share/common/url_service/__tests__/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface TestLocatorState extends SerializableState {

export const testLocator: LocatorDefinition<TestLocatorState> = {
id: 'TEST_LOCATOR',
getLocation: ({ savedObjectId, pageNumber, showFlyout }) => {
getLocation: async ({ savedObjectId, pageNumber, showFlyout }) => {
return {
app: 'test_app',
route: `/my-object/${savedObjectId}?page=${pageNumber}`,
Expand Down

0 comments on commit fefd109

Please sign in to comment.