Skip to content

Commit

Permalink
test: 💍 fix tests after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimkibana committed Jun 22, 2021
1 parent db08b69 commit fc4ee8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ const setup = (
getLocation: jest.fn(() =>
Promise.resolve({
app: 'discover',
route: '/foo#bar',
path: '/foo#bar',
state: {},
})
),
navigate: jest.fn(async () => {}),
getUrl: jest.fn(),
useUrl: jest.fn(),
};

const plugins: PluginDeps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ const setup = ({ dashboardOnlyMode = false }: { dashboardOnlyMode?: boolean } =
getLocation: jest.fn(() =>
Promise.resolve({
app: 'discover',
route: '/foo#bar',
path: '/foo#bar',
state: {},
})
),
navigate: jest.fn(async () => {}),
getUrl: jest.fn(),
useUrl: jest.fn(),
};

const plugins: PluginDeps = {
Expand Down

0 comments on commit fc4ee8e

Please sign in to comment.