Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix path the image diff (fixes npm run start-image_viewer)
  • Loading branch information
etpinard committed Jun 22, 2016
commit a8992834a040fca7723d2bcb63e2ff64eba3de2d
6 changes: 3 additions & 3 deletions test/image/assets/get_image_paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ module.exports = function getImagePaths(mockName, format) {
return {
baseline: join(constants.pathToTestImageBaselines, mockName, format),
test: join(constants.pathToTestImages, mockName, format),
diff: join(constants.pathToTestImagesDiff, mockName, format)
diff: join(constants.pathToTestImagesDiff, 'diff-' + mockName, format)
};
};

function join(basePath, mockName, format) {
return path.join(basePath, mockName) + '.' + format;
function join(basePath, fileName, format) {
return path.join(basePath, fileName) + '.' + format;
}