4 ms·
In this case I believe it was a dynamic import of a module that was not used in local development. Reasonable tests would have caught this.
by bslatkin 13y ago
In this case I believe it was a dynamic import of a module that was not used in local development. Reasonable tests would have caught this.
- icedchai 13y agoPossibly, though it is just as likely that the tests would still not catch the problem in a local dev environment if that module is not used there, right?
- viscanti 13y agoTo avoid problems like that, you probably want your dev environment as close as possible to your production environment. You probably also want to be testing your production specific code/logic (especially if you're not doing that on your local).