mikedeboer / jsDAV

jsDAV allows you to easily add WebDAV support to a NodeJS application. jsDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.
http://www.mikedeboer.nl
MIT License
681 stars 159 forks source link

test suite broken #120

Open FND opened 9 years ago

FND commented 9 years ago

there's all sorts of errors when trying to run the test suite in a vanilla repo (tested on both OS X and Debian, with Node v0.10 as well as v0.12):

  1. test/credentials.js is required, but missing (explicitly excluded in .gitignore)
  2. "TypeError: Cannot read property 'app' of undefined" in test/test_dropbox.js)
  3. various relative paths don't work:
    1. "Error: Cannot find module '../../jsdav'" in lib/DAV/backends/ftp/tree.js
    2. "Error: Cannot find module 'jsdav/lib/DAV/plugin'" in test/test_multi_instance_plugin.js
  4. "Error: listen EADDRINUSE" (after temporarily deleting the two problematic test files above)

I eventually gave up before descending deeper down the rabbit hole, meaning I unfortunately can't tackle #119.