Created
January 10, 2013 05:10
-
-
Save nilclass/4499630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var server = require('./server/nodejs-example').server; | |
// BEFORE EACH TEST | |
server.resetState(); | |
server.addToken('dummy-token', [':rw']); // gives read-write access on the root path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment