To improve testing, add a layer of indirection around colours.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
defmodule Display.ProgressBar do
|
||||
alias Display.Colours
|
||||
|
||||
@progress_bar_length 30
|
||||
|
||||
def progress_bar(%{current: current, total: total}) do
|
||||
|
||||
Reference in New Issue
Block a user