UNPKG

standard-format

Version:

attempts to reformat javascript to comply with feross/standard style

14 lines (11 loc) 425 B
var test = require('tape') var path = require('path') var testFile = require('../testFile') var files = [ {path: path.resolve(path.join(__dirname, '/obfuscated-files/standard-format-torture.js')), issues: ['https://github.com/maxogden/standard-format/issues/27']} ] files.forEach(function (fileObj) { var basename = path.basename(fileObj.path) test('deobfuscate and lint ' + basename, testFile(fileObj.path, 1)) })