Brendon Ribeiro
Brendon Ribeiro
I tried using `misMatchThreshold` 0 and 0.1. There's a big color difference between this two images. | Reference | Test | :-------------------------:|:-------------------------:  |  #fbfcfd | #F5F5F5
On CI, this error is happening very frequently: ``` Error: Failed to launch chrome! -- | Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank" | Inconsistency detected by ld.so: ../elf/dl-tls.c:...
https://github.com/mercos/robot-eyes/blob/22be33a962d230ac1b40735f763363367dd50021/commands/test/index.js#L9 `cleanTestFiles` returns a Promise, and should be awaited to avoid any issue.
https://github.com/mercos/robot-eyes/blob/22be33a962d230ac1b40735f763363367dd50021/core/walkSync.js#L3 This function basically lists files within a folder recursively. The code was heavily inspired (not to mention copied) from this [gist](https://gist.github.com/kethinov/6658166). Should be a great opportunity to: - Refactor...
https://github.com/mercos/robot-eyes/blob/e3b3e97a70f2326aed9c4a25ff180b3604f942aa/commands/approve/index.js#L9 This function is called when the command `approve` is executed with no parameters. in this case all contents of the test images folder must be copied to the reference...
https://github.com/mercos/robot-eyes/blob/e3b3e97a70f2326aed9c4a25ff180b3604f942aa/commands/approve/index.js#L19 Would be good to export this function to a separate file, and create a bunch of tests.
https://github.com/mercos/robot-eyes/blob/e3b3e97a70f2326aed9c4a25ff180b3604f942aa/commands/approve/index.js#L28 Would be good to export this function to a separate file, and create a bunch of tests.
https://github.com/mercos/robot-eyes/blob/e3b3e97a70f2326aed9c4a25ff180b3604f942aa/compare/compareImages.js#L6 This should be a little challenging.