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

Some tests written in Jest pass when run individually but not when run as a suite #1832

Open
c0rv0s opened this issue Mar 1, 2021 · 0 comments
Assignees

Comments

@c0rv0s
Copy link
Contributor

c0rv0s commented Mar 1, 2021

🐛 Bug Report

In the branch issue-1050/update-tests when running all tests via yarn test in one of the packages many of the tests will fail including test/dao/dao-token-new.test.js and test/dao/dao-id-assign.test.js but when run individually they pass

Have you read the Contributing Guidelines on issues?

  • [. ] Yes

To Reproduce

  1. switch to branch issue-1050/update-tests
  2. start the pretest
  3. yarn test in packages/cli, test will fail
  4. npx jest test/dao/dao-id-assign.test.js, test will pass

Expected behavior

Test should pass whether it is being run on its own or in the batch

Actual Behavior

Tests failed in the full suite run but passed on their own

Context

Mainnet or testnet?

Devchain

Organization

(Enter the URL or ENS name of your organization.)

Environment

  • OS and OS version: macOS 11.2.2
  • Browser and browser version: N/A
  • Add any other context about the problem here.

Reproducible Demo

(Paste the link to an example repo, and exact instructions to reproduce the issue.)

@nestorbe nestorbe self-assigned this Mar 4, 2021
@linear linear bot mentioned this issue Mar 24, 2021
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