diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-30 11:17:50 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-30 12:56:36 +0200 |
commit | 9353449515ff6881a54ce6887297b7eab2855186 (patch) | |
tree | d3a6a3e84b3684e3689c4b40ed2e1d53b26a3dc8 /server/tests/api/utils.js | |
parent | 1342381694456da6bfcb01a6f9e23c54cc90c82e (diff) | |
download | PeerTube-9353449515ff6881a54ce6887297b7eab2855186.tar.gz PeerTube-9353449515ff6881a54ce6887297b7eab2855186.tar.zst PeerTube-9353449515ff6881a54ce6887297b7eab2855186.zip |
Use scripty instead of writing shell commands in package.json
Diffstat (limited to 'server/tests/api/utils.js')
-rw-r--r-- | server/tests/api/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/utils.js b/server/tests/api/utils.js index d37e12cb2..c1a01ef37 100644 --- a/server/tests/api/utils.js +++ b/server/tests/api/utils.js | |||
@@ -25,7 +25,7 @@ const testUtils = { | |||
25 | // ---------------------- Export functions -------------------- | 25 | // ---------------------- Export functions -------------------- |
26 | 26 | ||
27 | function flushTests (callback) { | 27 | function flushTests (callback) { |
28 | exec(pathUtils.join(__dirname, '../../../bin/clean_test.sh'), callback) | 28 | exec('npm run clean:server:test', callback) |
29 | } | 29 | } |
30 | 30 | ||
31 | function getFriendsList (url, end) { | 31 | function getFriendsList (url, end) { |