diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/caldav/ical_test.js | 2 | ||||
-rw-r--r-- | test/caldav/sax/dav_response_test.js | 2 | ||||
-rw-r--r-- | test/caldav/xhr_test.js | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/test/caldav/ical_test.js b/test/caldav/ical_test.js index f2bc8b9..561bad3 100644 --- a/test/caldav/ical_test.js +++ b/test/caldav/ical_test.js @@ -1,4 +1,4 @@ -require('/lib/ical.js'); +testSupport.lib('../ical'); suite('caldav/ics', function() { diff --git a/test/caldav/sax/dav_response_test.js b/test/caldav/sax/dav_response_test.js index cb3d2b7..b8f4716 100644 --- a/test/caldav/sax/dav_response_test.js +++ b/test/caldav/sax/dav_response_test.js @@ -3,7 +3,7 @@ testSupport.lib('sax'); testSupport.lib('sax/base'); testSupport.lib('ical'); testSupport.lib('sax/dav_response'); -require('/lib/ical.js'); +testSupport.lib('../ical'); suite('caldav/sax/dav_response', function() { diff --git a/test/caldav/xhr_test.js b/test/caldav/xhr_test.js index c71dc12..0d6d7fb 100644 --- a/test/caldav/xhr_test.js +++ b/test/caldav/xhr_test.js @@ -137,6 +137,9 @@ suite('webacls/xhr', function() { }); test('with mozSystem', function() { + if (typeof(window) === 'undefined') + return; + var user = 'user'; var password = 'pass'; var url = '/foo'; |