complete-guide-to-full-stack-solana-development
complete-guide-to-full-stack-solana-development copied to clipboard
_baseAccount variable assigned but not declared
Hey there,
having troubles with the test on this, there's a variable that is assigned but is not declared anywhere in the file
https://github.com/dabit3/complete-guide-to-full-stack-solana-development/blob/main/example1/tests/example1.js (line 24)
_baseAccount = baseAccount;
but there is no declaration as shown on the test error
n,
let _baseAccount;
in the describe
function block should fix that.
This is used to store the account between both the tests for reuse.
Thanks yeah I thought so. I'll make a PR with the correction