diff options
author | James Lal <james@lightsofapollo.com> | 2012-06-27 19:28:37 +0200 |
---|---|---|
committer | James Lal <james@lightsofapollo.com> | 2012-06-27 19:28:37 +0200 |
commit | d76e26ac16c16ca30a9c177fa292f5cdf184955e (patch) | |
tree | fbc9e6df292440b689d1990911edd802e618df43 /test-agent-server.js | |
parent | 1c136b249274a3cad047e043693c6e643892b6a9 (diff) | |
download | jsCalDAV-d76e26ac16c16ca30a9c177fa292f5cdf184955e.tar.gz |
initial move to support web js
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); |