Skip to content

Instantly share code, notes, and snippets.

@nilclass
Created January 10, 2013 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nilclass/4499630 to your computer and use it in GitHub Desktop.
Save nilclass/4499630 to your computer and use it in GitHub Desktop.
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