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

Bug: Failing unit tests within template/web/app #496

Open
cpcramer opened this issue May 21, 2024 · 2 comments
Open

Bug: Failing unit tests within template/web/app #496

cpcramer opened this issue May 21, 2024 · 2 comments

Comments

@cpcramer
Copy link
Contributor

Describe the bug and the steps to reproduce it

  1. Add jest.config.js roots value '/app/'.
  2. Run npm run test in /template/web/app.
  3. 3 tests will fail:
  • ContractDemo.test.tsx
  • NotConnected.test.tsx
  • useOnchainCoffeeMemos.test.tsx

What's the expected behavior?

Tests should pass.

What version of the libraries are you using?

No response

@adarshswaminath
Copy link

insted of npm run test try yarn install and yarn run test

@danimesq
Copy link

danimesq commented Jul 16, 2024

@cpcramer, did you try the above?

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

No branches or pull requests

3 participants