Skip to content

Commit

Permalink
Merge pull request #785 from OpenGeoscience/resemblejs
Browse files Browse the repository at this point in the history
Depend on "resemblejs" instead of "node-resemble"
  • Loading branch information
manthey authored Mar 1, 2018
2 parents b3f34a0 + 9c165cf commit 43f211c
Show file tree
Hide file tree
Showing 4 changed files with 325 additions and 42 deletions.
2 changes: 1 addition & 1 deletion karma-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function getScreenImage(name, left, top, width, height) {
* @param {function} callback: a function to call when complete.
*/
function compareImage(name, image, threshold, callback) {
var resemble = require('node-resemble');
var resemble = require('resemblejs');
var src = path.resolve('dist/data/base-images', name + '.png');
if (!fs.existsSync(src)) {
src = path.resolve(image_path, name + '.png');
Expand Down
Loading

0 comments on commit 43f211c

Please sign in to comment.