Skip to content

Instantly share code, notes, and snippets.

View akloeber's full-sized avatar

Andreas Klöber akloeber

View GitHub Profile
@akloeber
akloeber / pre-commit-eslint
Last active January 29, 2017 11:37 — forked from linhmtran168/pre-commit-eslint
Pre-commit hook to check for Javascript using ESLint
# see lint-js.sh in repository https://bitbucket.org/akloeber/git-hooks
var webdriverjs = require('webdriverjs'),
assert = require('assert');
describe('my webdriverjs tests', function(){
this.timeout(99999999);
var client = {};
before(function(done){
client = webdriverjs.remote({ desiredCapabilities: {browserName: 'phantomjs'} });