1 2 3 4 5 6 7 8 9 10 11 12
//all require paths must be absolute -- use __dirname var Agent = require('test-agent'), Apps = Agent.server, Suite = Agent.Suite, suite = new Suite({ path: __dirname, testDir: 'test/caldav/', libDir: 'lib/caldav/', testSuffix: '_test.js' }); server.use(Apps.Suite, suite);