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

Commit 843e699

Browse files
committed
fix: remove .only from tests
1 parent f6c0e21 commit 843e699

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/utils/request-api.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ function onRes (buffer, cb) {
4949
if (chunkedObjects && isJson) {
5050
const outputStream = pump(res, ndjson.parse())
5151
res.on('end', () => {
52-
// if we got an error here, we have to throw
53-
// a) we can't `outputStream.destroy(err)` because its already closed
54-
// b) the callback has been already called, no point in calling it again
5552
let err = res.trailers['x-stream-error']
5653
if (err) {
5754
err = JSON.parse(err)

test/files.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe('.files (the MFS API part)', function () {
4848

4949
after((done) => fc.dismantle(done))
5050

51-
describe.only('Callback API', function () {
51+
describe('Callback API', function () {
5252
this.timeout(120 * 1000)
5353

5454
it('add file for testing', (done) => {

0 commit comments

Comments
 (0)