From f58d8a112c4868582fed8e4973f90973f13f7092 Mon Sep 17 00:00:00 2001 From: nginnever Date: Wed, 17 Aug 2016 10:09:25 -0700 Subject: [PATCH] use modular async --- test/browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/browser.js b/test/browser.js index 76a57ecd..70143995 100644 --- a/test/browser.js +++ b/test/browser.js @@ -1,7 +1,7 @@ /* eslint-env mocha */ 'use strict' -const async = require('async') +const eachSeries = require('async/eachSeries') const store = require('idb-plus-blob-store') const _ = require('lodash') const IPFSRepo = require('ipfs-repo') @@ -29,7 +29,7 @@ describe('IPFS data importing tests on the Browser', function () { const mainBlob = store('ipfs') const blocksBlob = store('ipfs/blocks') - async.eachSeries(repoData, (file, cb) => { + eachSeries(repoData, (file, cb) => { if (_.startsWith(file.key, 'datastore/')) { return cb() }