1

I am trying to run truffle test to test a javascript file on windows through powershell. The results keep showing a syntax error on the first character of the .js test file after compiling all contracts. I am guessing that truffle is not able to identify that it is a javascript file or might be something else too. I am noob.

Also, I am using ganache as client and also attaching the truffle-config file. enter image description here

Here are the snippets of:

i) Test file- enter image description here

ii) cli result for truffle test enter image description here

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.