Skip to content

Instantly share code, notes, and snippets.

@ncb000gt
Created March 1, 2011 16:23
Show Gist options
  • Select an option

  • Save ncb000gt/849382 to your computer and use it in GitHub Desktop.

Select an option

Save ncb000gt/849382 to your computer and use it in GitHub Desktop.
var f = require('./test/f');
console.log('test: ' + __dirname);
console.log('f: ' + __dirname);
@ncb000gt
Copy link
Author

ncb000gt commented Mar 1, 2011

Put f.js in the test directory. f-test.js should be at the same level as test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment