Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

yarn asp fails - compilation error when trying to create the wasm binary for file: assembly/__tests__/token.spec.ts #127

Open
oysterpack opened this issue Nov 17, 2020 · 0 comments

Comments

@oysterpack
Copy link

oysterpack commented Nov 17, 2020

ERROR TS2339: Property 'setSigner_account_id' does not exist on type '~lib/near-sdk-core/contract/Context'.

       Context.setSigner_account_id(alice);
               ~~~~~~~~~~~~~~~~~~~~
 in assembly/__tests__/token.spec.ts(20,15)

ERROR TS2339: Property 'setAccount_balance' does not exist on type '~lib/near-sdk-core/contract/Context'.

       Context.setAccount_balance(u128.fromString("1000000"));
               ~~~~~~~~~~~~~~~~~~
 in assembly/__tests__/token.spec.ts(21,15)

[Error] There was a compilation error when trying to create the wasm binary for file: assembly/__tests__/token.spec.ts.
[2 compile error(s)]
error Command failed with exit code 1.
@oysterpack oysterpack changed the title yarn test fails - compilation error when trying to create the wasm binary for file: assembly/__tests__/token.spec.ts yarn asp fails - compilation error when trying to create the wasm binary for file: assembly/__tests__/token.spec.ts Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant