Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

Commit

Permalink
add a commnet and url for mock function
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidenori MATSUKI authored and Hidenori MATSUKI committed Feb 5, 2020
1 parent 6d8ba2d commit 4a53b16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/__mocks__/next/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This mock function is important when using Jest with Next.js.
// See https://spectrum.chat/next-js/general/how-to-setup-jest-tests-to-use-publicruntimeconfig~27f8cee1-d4a4-4b68-bb62-ea6562a77544
export default (): {} => ({
env: {},
publicRuntimeConfig: {},
Expand Down

0 comments on commit 4a53b16

Please sign in to comment.