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

Commit

Permalink
Merge pull request #60 from noffle/linty
Browse files Browse the repository at this point in the history
Fix linting errors
  • Loading branch information
daviddias authored Aug 13, 2016
2 parents e1a10fd + 9234319 commit 6d6fe24
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/test-exporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ module.exports = function (repo) {
testExport.on('error', (err) => {
expect(err).to.not.exist
})
testExport.pipe(concat((files) => {
testExport.pipe(concat(onFiles))

function onFiles (files) {
expect(files).to.be.length(1)
expect(files[0].path).to.equal(hash)
files[0].content.pipe(concat((bldata) => {
expect(bldata).to.deep.equal(unmarsh.data)
done()
}))
}))
}
})
})

Expand All @@ -59,13 +61,15 @@ module.exports = function (repo) {
testExport.on('error', (err) => {
expect(err).to.not.exist
})
testExport.pipe(concat((files) => {
testExport.pipe(concat(onFiles))

function onFiles (files) {
expect(files).to.be.length(1)
files[0].content.pipe(concat((bldata) => {
expect(bldata).to.deep.equal(unmarsh.data)
done()
}))
}))
}
})
})

Expand Down

0 comments on commit 6d6fe24

Please sign in to comment.