How to run test cases for SDK?

Hi,

I've a test folder in my app. I ran npm test to run a test file however, It gave me this error

But if I comment the line 1 out then it start giving me this error

Here is my package.json

Kindly point me in the right direction as how can I run tests in a way that includes all dependencies