diff options
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 | }, |