Replies: 1 comment
-
Hi there, this is an environment question - moving this to discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to run a jest test on my functions that are using "googleapis" and get the following error
`
Jest encountered an unexpected token
`
I have tried adding
but this did not solve the problem
I am using
so mainly from what i understand from the problem and what i have researched that googleapis is using googleapis-common node module and they have not pre-compiled their node module into standard JS with module.exports instead of export {} syntax,
NOTE: I do not want to mock the 'googleapis'
Beta Was this translation helpful? Give feedback.
All reactions