Open 0pdd opened 3 years ago
Quote from https://www.valentinog.com/blog/jest/#bonus-es-modules-with-jest
if you wish to use import ES module syntax in your Jest tests without babel and friends you should have Node.js >=v13.x, and Jest >=26.1.0 installed.
In other words, we can use babel for transforming code for us or wait for #1442
The puzzle
1484-7c5cb814
from #1484 has to be resolved:https://github.com/php-coder/mystamps/blob/b540b5a300268af5849860effe0f45007a77960a/src/main/frontend/jest.config.js#L6-L6
The puzzle was created by Slava Semushin on 10-Jan-21