Skip to content

Commit

Permalink
test(www): adjust mocked result of useStaticQuery hook
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored Apr 11, 2019
1 parent b40cc27 commit ce28cfe
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions www/src/pages/contributing/__tests__/stub-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ import StubList from "../stub-list"
let location
beforeEach(() => {
useStaticQuery.mockReturnValueOnce({
data: {
site: {
siteMetadata: {
title: `GatsbyJS`,
},
site: {
siteMetadata: {
title: `GatsbyJS`,
},
},
})
Expand Down

0 comments on commit ce28cfe

Please sign in to comment.