Example #1
0
 uglify('this is not javascript!', {}, function (err, output) {
   refute(output)
   assert(err)
   assert(err instanceof Error)
   assert(err.cause)
   assert.isString(err.message)
   done()
 })
Example #2
0
 closure({ build: 'this is not javascript!' }, {}, {}, function (err, results) {
   refute(results)
   assert(err)
   assert(err instanceof Error)
   assert(err.stderr)
   assert.isString(err.message)
   done()
 })