diff options
Diffstat (limited to 'js/dav/test/unit/data/index.js')
-rw-r--r-- | js/dav/test/unit/data/index.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/js/dav/test/unit/data/index.js b/js/dav/test/unit/data/index.js deleted file mode 100644 index 2394dffc..00000000 --- a/js/dav/test/unit/data/index.js +++ /dev/null @@ -1,24 +0,0 @@ -import fs from 'fs'; -import { format } from 'util'; - -import camelize from '../../../lib/camelize'; - -let docs = {}; -export default docs; - -[ - 'address_book_query', - 'current_user_principal', - 'calendar_query', - 'propfind', - 'propfind_oc', - 'sync_collection' -].forEach(function(responseType) { - var camelCase = camelize(responseType); - docs[camelCase] = fs - .readFileSync( - format('%s/%s.xml', __dirname, responseType), - 'utf-8' - ) - .replace(/>\s+</g, '><'); // Remove whitespace between close and open tag. -}); |