Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to get Truffle to run tests and continue to get: #6

Open
bullibasti opened this issue Mar 14, 2021 · 0 comments
Open

Trying to get Truffle to run tests and continue to get: #6

bullibasti opened this issue Mar 14, 2021 · 0 comments

Comments

@bullibasti
Copy link
Owner

Trying to get Truffle to run tests and continue to get:

SyntaxError: /Users/mike/near/aave-protocol/test/actions/index.ts: Unexpected token (44:2)
  42 |
  43 | const almostEqualOrEqual = function(
> 44 |   this: any,
     |   ^
  45 |   expected: ReserveData | UserReserveData,
  46 |   actual: ReserveData | UserReserveData
  47 | ) {
    at Parser.pp$5.raise (/Users/mike/near/aave-protocol/node_modules/babylon/lib/index.js:4454:13)
    at Parser.pp.unexpected (/Users/mike/near/aave-protocol/node_modules/babylon/lib/index.js:1761:8)
    at Parser.pp$2.parseBindingAtom (/Users/mike/near/aave-protocol/node_modules/babylon/lib/index.js:3090:12)

Updated typescript to:
"typescript": "^4.0.2"

Would be great to get some help running the tests. Cheers
Tried node 12, 11
Truffle 5.1.43

Originally posted by @mikedotexe in aave/aave-protocol#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant