diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-07-18 17:17:52 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-07-18 17:17:52 +0200 |
commit | 1a42c9e2c0fb64cdbebd81b311736e752f591e0a (patch) | |
tree | e893324d730878257491428ffca634a92f1eea05 /server/tests/api/users.js | |
parent | d56ec0d4129160a6e3b51ace3766bb325db1f101 (diff) | |
download | PeerTube-1a42c9e2c0fb64cdbebd81b311736e752f591e0a.tar.gz PeerTube-1a42c9e2c0fb64cdbebd81b311736e752f591e0a.tar.zst PeerTube-1a42c9e2c0fb64cdbebd81b311736e752f591e0a.zip |
Server: udpate async to 2.0.0
Diffstat (limited to 'server/tests/api/users.js')
-rw-r--r-- | server/tests/api/users.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/users.js b/server/tests/api/users.js index 7ab426d85..749aa8af8 100644 --- a/server/tests/api/users.js +++ b/server/tests/api/users.js | |||
@@ -1,9 +1,9 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | const async = require('async') | ||
4 | const chai = require('chai') | 3 | const chai = require('chai') |
5 | const expect = chai.expect | 4 | const expect = chai.expect |
6 | const pathUtils = require('path') | 5 | const pathUtils = require('path') |
6 | const series = require('async/series') | ||
7 | 7 | ||
8 | const webtorrent = require(pathUtils.join(__dirname, '../../lib/webtorrent')) | 8 | const webtorrent = require(pathUtils.join(__dirname, '../../lib/webtorrent')) |
9 | webtorrent.silent = true | 9 | webtorrent.silent = true |
@@ -18,7 +18,7 @@ describe('Test users', function () { | |||
18 | before(function (done) { | 18 | before(function (done) { |
19 | this.timeout(20000) | 19 | this.timeout(20000) |
20 | 20 | ||
21 | async.series([ | 21 | series([ |
22 | function (next) { | 22 | function (next) { |
23 | utils.flushTests(next) | 23 | utils.flushTests(next) |
24 | }, | 24 | }, |