| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I tend to extract tests for debugging, so haven't had this issue. |
Sorry, something went wrong.
|
Thanks for taking a look. None of the tests I've changed are testing a 2nd update of scale. |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
In many of the time scale tests, we render the chart and then update it to some certain dimensions. This makes it very difficult to step through the code with a debugger because the first time we hit any line of code doesn't affect the ultimate state of the chart. It also makes the tests take longer to run than necessary.
This passes the dimensions into the creation function so that it's created with the correct dimensions from the beginning.