John Molakvoæ
b8a7ab9941
Fix jsunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Louis Chemineau
bca3ef60a3
Move jsunit dependencies to main package.json
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Louis Chemineau
16ba294065
Migrate to npm 7 for autotest-js.sh
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Vincent Petry
e96c003d49
Use npm ci when running JS tests
This makes sure that the pinned versions are selected correctly.
Fixes the colors.js incident.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Louis Chemineau
db752fb557
Restore line in autotest-js
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Louis Chemineau
19ed04dda1
Don't import $ in every file that needs it
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
John Molakvoæ (skjnldsv)
14bc9ffda4
Fixed tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years ago
Julius Härtl
53c0fe6e23
Fix sass compile tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
7 years ago
Julius Haertl
ccd35095d0
Add variables.scss to sass compile test
Signed-off-by: Julius Haertl <jus@bitgrid.net>
7 years ago
Roeland Jago Douma
ccab1168ce
Fix js tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Hendrik Leppelsack
1369535d03
always use local karma
8 years ago
Olivier Paroz
ff4227bbfc
Use a universal shebang
Fixes #15037
8 years ago
Thomas Müller
d3fc5de4c2
remove 'set -e' - causes issues during ci execution
9 years ago
Thomas Müller
8196536309
terminate script execution in case of failure
9 years ago
Vincent Petry
f7ac9f8069
Fixed unit test scripts + coverage
Tried to add more apps (others break).
"preprocessors" is now populated automatically based on the tested apps.
10 years ago
Vincent Petry
350214c609
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
10 years ago