freeCodeCamp/client/utils/gatsby
Oliver Eyton-Williams 740370eb60
refactor: explicit mocking for analytics (#41562)
The previous approach did avoid a fair number of jest.mock calls, but
made debugging the tests harder. If you don't know about the mapping
it's unclear why the imported module does not behave as normal.

By forcing the use of jest.mock it means that the answer to that
question is in the test you are working on.
2021-03-29 16:48:58 -07:00
..
challengePageCreator.js refactor: simplify challenge.block usage (#41185) 2021-02-23 09:52:48 +05:30
index.js fix: removed all guide bits from gatsby 2019-07-26 19:40:46 +05:30
layoutSelector.js fix(client): add tests for layoutSelector (#41047) 2021-02-18 10:41:05 +05:30
layoutSelector.test.js refactor: explicit mocking for analytics (#41562) 2021-03-29 16:48:58 -07:00