# Jest: Mocking a Function That Cannot be Redefined

By [pyk](https://paragraph.com/@sepyke) · 2022-07-21

---

moved to my personal blog: [https://pyk.sh](https://pyk.sh)

---

*Originally published on [pyk](https://paragraph.com/@sepyke/jest-mocking-a-function-that-cannot-be-redefined)*
