This commit extracts the logic to draw a line from one coordinate to another to both remove code duplication (8% of the total number of lines in the file are removed) and clarify the intent of the individual tests.
import/no-commonjs
no-array-reduce
test
rimraf
fs.rmSync
rgb