diff options
Diffstat (limited to 'test-agent-server.js')
-rw-r--r-- | test-agent-server.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test-agent-server.js b/test-agent-server.js new file mode 100644 index 0000000..495dd2a --- /dev/null +++ b/test-agent-server.js @@ -0,0 +1,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/webcals/', + libDir: 'lib/webcals/', + testSuffix: '_test.js' + }); + +server.use(Apps.Suite, suite); |