|
|
|
|
|
by striking
1088 days ago
|
|
That's all well and good, but what about those of us that already have a mountain of Jest tests with mocks that aren't supported in ESM mode? https://github.com/jestjs/jest/issues/9430 I've definitely worked around my fair share of CommonJS issues but until ESM "just works" I'm slightly pained by how aggressive the tone of this article is. |
|
In fact it’s a very illustrative example of why CommonJS should be taken out back and shot.