freeCodeCamp/client
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
..
i18n fix(api, client): update Gatsby, webpack & related things (#41452) 2021-03-25 12:13:43 -07:00
plugins fix: update package files, lerna config (#41599) 2021-03-27 07:46:20 -07:00
src refactor: explicit mocking for analytics (#41562) 2021-03-29 16:48:58 -07:00
static fix: update the fastest page with meta (#41374) 2021-03-05 06:16:42 -07:00
utils refactor: explicit mocking for analytics (#41562) 2021-03-29 16:48:58 -07:00
.babelrc Adding language to code fences and pre to console logs (#40603) 2021-01-21 12:12:42 -06:00
.gitignore chore(client): refactor & organise config (#40875) 2021-02-03 15:22:07 +05:30
gatsby-browser.js feat: i18n user interface (#40306) 2021-01-31 12:15:32 +05:30
gatsby-config.js fix(api, client): update Gatsby, webpack & related things (#41452) 2021-03-25 12:13:43 -07:00
gatsby-node.js fix(client): polyfill path with path-browserify (#41615) 2021-03-27 19:19:30 +05:30
gatsby-ssr.js fix(client): inject bootstrap tags to the top of head (#40804) 2021-01-31 12:15:40 +05:30
jest.config.js refactor: explicit mocking for analytics (#41562) 2021-03-29 16:48:58 -07:00
jest.setup.js refactor(client): move jest-dom into setup file 2020-10-12 14:11:52 +02:00
jest.transform.js feat: Use prettier-eslint to format code 2019-02-19 14:30:27 +05:30
package-lock.json fix(deps): pin dependencies (#41589) 2021-03-27 20:57:57 +05:30
package.json fix(deps): pin dependencies (#41589) 2021-03-27 20:57:57 +05:30
postcss.config.js feat: commandline chic 2019-08-20 13:37:11 +05:30
webpack-workers.js fix(api, client): update Gatsby, webpack & related things (#41452) 2021-03-25 12:13:43 -07:00