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

_baseAccount variable assigned but not declared #2

Open
AlfieDarko opened this issue Sep 17, 2021 · 2 comments
Open

_baseAccount variable assigned but not declared #2

AlfieDarko opened this issue Sep 17, 2021 · 2 comments

Comments

@AlfieDarko
Copy link

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
Screenshot 2021-09-17 at 01 36 46
n,

@munanadi
Copy link

let _baseAccount; in the describe function block should fix that.
This is used to store the account between both the tests for reuse.

@AlfieDarko
Copy link
Author

Thanks yeah I thought so. I'll make a PR with the correction

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

2 participants