Sha256: aef57acce8ec3f44f958416e398552d0ac584378906e50b6271365ae1cbddb10
Contents?: true
Size: 547 Bytes
Versions: 17
Compression:
Stored size: 547 Bytes
Contents
/* * examples.js: Tests which ensure all examples do not throw errors. * * (C) 2010, Charlie Robbins * */ var vows = require('vows') macros = require('./macros'), examples = macros.examples; // // Suppress `EADDRINUSE` errors since // we are just checking for require-time errors // process.on('uncaughtException', function (err) { if (err.code !== 'EADDRINUSE') { throw err; } }); vows.describe('node-http-proxy/examples').addBatch( examples.shouldHaveDeps() ).addBatch( examples.shouldHaveNoErrors() ).export(module);
Version data entries
17 entries across 17 versions & 2 rubygems