Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander Ose alexose

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am alexose on github.
  • I am alexose (https://keybase.io/alexose) on keybase.
  • I have a public key ASAhtsPORvCBn7MyJcmks4HZpcK9E1yFUIKzW9fXyAnNMAo

To claim this, I am signing this object:

@alexose
alexose / assertions-compareScreenshot.js
Created Jan 15, 2018 — forked from umarmw/assertions-compareScreenshot.js
Nightwatch with Visual Regression testing
View assertions-compareScreenshot.js
// location: ./assertions/compareScreenshot.js
var resemblejs = require('node-resemble-js'),
fs = require('fs');
exports.assertion = function(filename, expected) {
var screenshotPath = 'test/screenshots/',
baselinePath = screenshotPath + 'baseline/' + filename,
resultPath = screenshotPath + 'results/' + filename,
diffPath = screenshotPath + 'diffs/' + filename;
@alexose
alexose / README.md
Created Aug 28, 2017 — forked from calvinmetcalf/README.md
Reprojected Raster Tiles
View README.md
View README.md
You can’t perform that action at this time.