Skip to content

Commit

Permalink
New translations unit-testing-framework.mdx (Yoruba)
Browse files Browse the repository at this point in the history
  • Loading branch information
benface committed Dec 26, 2023
1 parent 8933339 commit 5cfac9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/pages/yo/developing/unit-testing-framework.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1081,15 +1081,15 @@ The log output includes the test run duration. Here's an example:
This means you have used `console.log` in your code, which is not supported by AssemblyScript. Please consider using the [Logging API](/developing/assemblyscript-api/#logging-api)
> ERROR TS2554: Expected ? arguments, but got ?.
>
>
> return new ethereum.Block(defaultAddressBytes, defaultAddressBytes, defaultAddressBytes, defaultAddress, defaultAddressBytes, defaultAddressBytes, defaultAddressBytes, defaultBigInt, defaultBigInt, defaultBigInt, defaultBigInt, defaultBigInt, defaultBigInt, defaultBigInt, defaultBigInt);
>
>
> in ~lib/matchstick-as/assembly/defaults.ts(18,12)
>
>
> ERROR TS2554: Expected ? arguments, but got ?.
>
>
> return new ethereum.Transaction(defaultAddressBytes, defaultBigInt, defaultAddress, defaultAddress, defaultBigInt, defaultBigInt, defaultBigInt, defaultAddressBytes, defaultBigInt);
>
>
> in ~lib/matchstick-as/assembly/defaults.ts(24,12)
The mismatch in arguments is caused by mismatch in `graph-ts` and `matchstick-as`. The best way to fix issues like this one is to update everything to the latest released version.
Expand Down

0 comments on commit 5cfac9e

Please sign in to comment.