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

Tests failing silently #1575

Open
0xJem opened this issue Jan 25, 2024 · 0 comments
Open

Tests failing silently #1575

0xJem opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@0xJem
Copy link

0xJem commented Jan 25, 2024

Which packages are impacted by your issue?

@graphprotocol/graph-cli

Describe the issue

Under macOS Sonoma, tests can fail silently (no error is printed). This seems to be an issue with matchstick. See:

Reproduction

https://github.com/OlympusDAO/olympus-protocol-metrics-subgraph/blob/bea228c830478218ca0c291ca941fb5a9d250111/subgraphs/ethereum/tests/OhmCalculations.test.ts#L250-L266

Steps to Reproduce the Bug or Issue

  1. Run yarn subgraph test ethereum
  2. The "closed auction/after bond expiry/all burned" test case in OhmCalculations should fail. No error is printed, even the name of the test case doesn't show up. (Search for the previous test case, "closed auction/after bond expiry", and it will show up.)

Expected behavior

The "closed auction/after bond expiry/all burned" test case should have failed and thrown an error.

Screenshots or Videos

No response

Platform

  • OS: macOS Sonoma 14.3
  • NodeJS: v20.10.0
  • @graphprotocol/graph-cli@0.67.2

Subgraph Manifest

No response

Subgraph GraphQL Schema

No response

Additional context

No response

@0xJem 0xJem added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant