HuddleEng / PhantomCSS

Visual/CSS regression testing with PhantomJS
MIT License
4.72k stars 259 forks source link

Allow _results to be updated when a new screenshot root is set. #170

Closed thatblairguy closed 8 years ago

thatblairguy commented 8 years ago

Addresses issue 169 by checking whether options.screenshotRoot contains a value before defaulting to an existing _results value.

thatblairguy commented 8 years ago

This is going to introduce another bug if options.screenshotRoot isn't specified for the first call to init/update.