jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

Error when I run my test with Jest #59

Closed gabrielbarretosantoos closed 2 years ago

gabrielbarretosantoos commented 2 years ago

When I run my suite's test, this error it's happening (image below)

image

I don't know why happened this problem :/

Now I inserted just arrow function return nothing, just for passed my test.

gabrielbarretosantoos commented 2 years ago

I've other error:

image

Every time I need to remove this sentence BIGINT and only then work

Any suggestion for this too?

jonathanpmartins commented 2 years ago

The configured target should be "es2020". I think this is similar to https://github.com/jonathanpmartins/v-money3/issues/57

jonathanpmartins commented 2 years ago

About the first problem, I will need more information. Could it be related to the second one?