Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b55e411

Browse filesBrowse files
committed
; 😡
1 parent d58a7b5 commit b55e411
Copy full SHA for b55e411

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎test/image/compare_pixels_test.js

Copy file name to clipboardExpand all lines: test/image/compare_pixels_test.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function comparePixels(mockName, cb) {
257257
function onEqualityCheck(err, isEqual) {
258258
if(err) {
259259
common.touch(imagePaths.diff);
260-
log(err)
260+
log(err);
261261
return cb(false, mockName);
262262
}
263263
if(isEqual) {
@@ -270,15 +270,15 @@ function comparePixels(mockName, cb) {
270270
// 525 means a plotly.js error
271271
function onResponse(response) {
272272
if(+response.statusCode === 525) {
273-
log('plotly.js error')
273+
log('plotly.js error');
274274
return cb(false, mockName);
275275
}
276276
}
277277

278278
// this catches connection errors
279279
// e.g. when the image server blows up
280280
function onError(err) {
281-
log(err)
281+
log(err);
282282
return cb(false, mockName);
283283
}
284284

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.