Skip to content

Commit a5dbe7e

Browse files
entoreneeDSchau
authored andcommittedMar 12, 2019
chore(docs): add useStaticQuery to docs for mocking Gatsby (#12526)
## Description Adds `useStaticQuery` to the docs for mocking out Gatsby related to unit testing.
1 parent f34e95f commit a5dbe7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎docs/docs/unit-testing.md

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ module.exports = {
139139
})
140140
),
141141
StaticQuery: jest.fn(),
142+
useStaticQuery: jest.fn(),
142143
}
143144
```
144145

0 commit comments

Comments
 (0)
Please sign in to comment.