Open ojaoc opened 2 years ago
When parsing test files that use numeric separators, for intance: const numberWithSeparators = 3_600_000;
const numberWithSeparators = 3_600_000;
The babel parser throws an error Identifier directly after number.
Identifier directly after number
In my case, this resulted in the omission of a failed test's result.
I fixed this by adding @babel/plugin-proposal-numeric-separator to the plugin list.
When parsing test files that use numeric separators, for intance:
const numberWithSeparators = 3_600_000;
The babel parser throws an error
Identifier directly after number
.In my case, this resulted in the omission of a failed test's result.
I fixed this by adding @babel/plugin-proposal-numeric-separator to the plugin list.