Skip to content

Commit

Permalink
test commit toc check following error : You should only use "next/rou…
Browse files Browse the repository at this point in the history
…ter" inside the client side of your app.

vercel/next.js#1827
  • Loading branch information
sumitparakh committed Nov 8, 2018
1 parent bd92acd commit 3a8baba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-utils/mocks/nextRouterMock.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const actionWithPromise = () => {
const mockedRouter = {
pathname: 'mock-path',
prefetch: () => {},
push: actionWithPromise,
push: () => {},
replace: actionWithPromise,
route: '/mock-route',
};
Expand Down

0 comments on commit 3a8baba

Please sign in to comment.