build-onchain-apps icon indicating copy to clipboard operation
build-onchain-apps copied to clipboard

Bug: Failing unit tests within template/web/app

Open cpcramer opened this issue 1 year ago • 2 comments

Describe the bug and the steps to reproduce it

  1. Add jest.config.js roots value '<rootDir>/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

cpcramer avatar May 21 '24 01:05 cpcramer

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

adarshswaminath avatar Jun 03 '24 06:06 adarshswaminath

@cpcramer, did you try the above?

danimesq avatar Jul 16 '24 14:07 danimesq