Conversation
* Now points to devlucky
688c9ee to
03c863d
Compare
There was a problem hiding this comment.
Update badges to point at devlucky
There was a problem hiding this comment.
Move logic for bucketing frequency data into Analyser (other visualisations can use this)
There was a problem hiding this comment.
Not sure if this it is giving us some value or we are getting to deep here. Like from the outside, seeing 0 , 0, 400, 400 looks really weird
There was a problem hiding this comment.
Yeah. I defs think it looks a little weird... but I do like testing the logic for clearing the canvas.
How about I use explaining variables? Like:
const canvasDefaultWidth = 400;
const canvasDefaultHeight = 400;
There was a problem hiding this comment.
Same thing here as before, I do like the draws the correct number of bars to the canvas test and I think we should keep it, but I will prefer to see something like:
expect(wrapper.instance().drawSingleBar).toHaveBeenCalledTimes(expectedNumberOfDrawedBars);What do you think? I don't think doing such calculations in the testsuite is the way to go, I think we should try to abstract that more
03c863d to
b49a1f9
Compare
Test (allthethings)