You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, apparently Babel does not support the syntax by default yet. To fix this, you can either enable the corresponding Babel syntax plugin (see Babel docs) or disable the Babel transform (see Jest docs).
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
From Node.js 12.5.0, there's support for Number separators. However, Jest doesn't seem to recognize it.
It returns this error:
Identifier directly after number
To Reproduce
Steps to reproduce the behavior:
Include a number separator in the code. E.g.
const n = {1_000: 'Thousand'};
.Expected behavior
It should work without problems. I tried in the node.js console and it's working.
Link to repl or repo (highly encouraged)
Repo: amejiarosario/dsa.js-data-structures-algorithms-javascript@02034a3#diff-3599aee56da29942b69dc0f309f6f5ab
envinfo
The text was updated successfully, but these errors were encountered: