Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

Commit f2331f2

Browse files
nginneverdaviddias
authored andcommitted
use modular async
1 parent 464e4dc commit f2331f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/browser.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-env mocha */
22
'use strict'
33

4-
const async = require('async')
4+
const eachSeries = require('async/eachSeries')
55
const store = require('idb-plus-blob-store')
66
const _ = require('lodash')
77
const IPFSRepo = require('ipfs-repo')
@@ -29,7 +29,7 @@ describe('IPFS data importing tests on the Browser', function () {
2929
const mainBlob = store('ipfs')
3030
const blocksBlob = store('ipfs/blocks')
3131

32-
async.eachSeries(repoData, (file, cb) => {
32+
eachSeries(repoData, (file, cb) => {
3333
if (_.startsWith(file.key, 'datastore/')) {
3434
return cb()
3535
}

0 commit comments

Comments
 (0)