(Updated 2022-03-04: Configuration code related to webpack-dev-server, babel, and jest has been modified.) In Part 1, we built a basic JavaScript development environment with Lerna. While the basic setup might be sufficient for some, it usually isn't.
(Updated 2022-03-04: Configuration code for webpack-dev-server, babel, and jest has been modified.) Sometimes when developing, you want to quickly write code in a specific environment and check the results.
Seeing questions like "How do I test private methods?" or "Should I test private methods?" periodically appear in various communities made me think I should organize my thoughts on the topic someday. Quite some time has passed, and now I'm writing about it.