Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f64ae6

Browse files
committed
do not keep new baseline when compare pass
1 parent c79cd9f commit 6f64ae6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/image/compare_pixels_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ function comparePixels(mockName, cb) {
270270
}
271271
if(isEqual) {
272272
fs.unlinkSync(imagePaths.diff);
273+
fs.unlinkSync(imagePaths.test);
273274
}
274275

275276
cb(isEqual, mockName);

0 commit comments

Comments
 (0)