diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-12 18:57:53 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-16 17:12:29 +0100 |
commit | 350214c6093bbd300102a364f20caa91d23d5fb9 (patch) | |
tree | 90ebee0447a2bd667f2afe18bc6f234e831db726 /build | |
parent | 85e00ad35a63d2d728140f3ece685d79d7a6140c (diff) | |
download | nextcloud-server-350214c6093bbd300102a364f20caa91d23d5fb9.tar.gz nextcloud-server-350214c6093bbd300102a364f20caa91d23d5fb9.zip |
Added Javascript unit tests
- added karma utility to run jasmine unit tests
- added Sinon library (for stubs/mocks/fakeserver)
- added a few unit tests for core and files
- added autotest-js.sh script
Diffstat (limited to 'build')
-rw-r--r-- | build/package.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/build/package.json b/build/package.json new file mode 100644 index 00000000000..238ea6881a5 --- /dev/null +++ b/build/package.json @@ -0,0 +1,19 @@ +{ + "name": "owncloud-js-tests", + "description": "ownCloud tests", + "version": "0.0.1", + "author": { + "name": "Vincent Petry", + "email": "pvince81@owncloud.com" + }, + "private": true, + "homepage": "https://github.com/owncloud/", + "contributors": [], + "dependencies": {}, + "devDependencies": { + "karma": "*", + "karma-jasmine": "*", + "karma-junit-reporter": "*" + }, + "engine": "node >= 0.8" +} |