Skip to content
Browse files

add vanilla usage test

  • Loading branch information...
1 parent 2f85059 commit c1db006a70c8996fd7f0cf099dfdf1cd1cd8eccb @ttezel committed May 16, 2012
Showing with 19 additions and 0 deletions.
  1. +19 −0 test/vanilla-usage.js
View
19 test/vanilla-usage.js
@@ -0,0 +1,19 @@
+var Anchor = require('../lib/anchor')
+
+var clientAnchor = new Anchor({
+ host: '127.0.0.1'
+ , localPort: 8080
+ , remotePort: 8081
+ , roots: {
+ '../sync/client': '/home/ttezel/development/anchor/sync/server'
+ }
+})
+
+var serverAnchor = new Anchor({
+ host: '127.0.0.1'
+ , localPort: 8081
+ , remotePort: 8080
+ , roots: {
+ '../sync/server': '/home/ttezel/development/anchor/sync/client'
+ }
+})

0 comments on commit c1db006

Please sign in to comment.
Something went wrong with that request. Please try again.