refactor(jshint): reduce duplication & test all JS files

This commit is contained in:
Michał Gołębiowski
2014-06-23 23:17:31 +02:00
parent 7d4f0d79bd
commit 36831eccd1
41 changed files with 375 additions and 446 deletions

View File

@@ -1,3 +1,6 @@
/* global describe: false, beforeEach: false, it: false, expect: false, spyOn: false */
'use strict';
describe('validate-commit-msg.js', function() {
var m = require('./validate-commit-msg');
var errors = [];