1 2 3 4 5 6 7 8 9 10
var cc = require('..') var assert = require('assert') //throw on invalid json assert.throws(function () { cc(__dirname + '/broken.json') })