You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Although not a solution, @area suspects this change might be the cause of our woes.
We did test with ganache-core v2.2.1 where this issue isn't present.
Context
Resolving any test failures has become rather laborious as you never know where in the test file the error comes from. This makes for some horrendous developer experience.
Since upgrading
ganache-core
to version 2.3.2 back in mid December, we started experiencing incorrect reports bytruffle
test runs upon failures.Expected Behavior
When a truffle test run fails, mocha reports the correct line number in test source where the failure occurred. Below are a set of sample failed builds quoting test line numbers that are correct:
https://circleci.com/gh/JoinColony/colonyNetwork/5051
https://circleci.com/gh/JoinColony/colonyNetwork/5287
https://circleci.com/gh/JoinColony/colonyNetwork/5493
https://circleci.com/gh/JoinColony/colonyNetwork/5505
Current Behavior
Incorrect line number is reported when a test fails.
Below are a set of sample failed builds quoting test line numbers that are INcorrect:
https://circleci.com/gh/JoinColony/colonyNetwork/5553
https://circleci.com/gh/JoinColony/colonyNetwork/5582
https://circleci.com/gh/JoinColony/colonyNetwork/5636
https://circleci.com/gh/JoinColony/colonyNetwork/5721
Possible Solution
Although not a solution, @area suspects this change might be the cause of our woes.
We did test with
ganache-core
v2.2.1 where this issue isn't present.Context
Resolving any test failures has become rather laborious as you never know where in the test file the error comes from. This makes for some horrendous developer experience.
Your Environment
The text was updated successfully, but these errors were encountered: