Skip to content

Commit 063742b

Browse files
committed
Fix linting issues
1 parent 637459e commit 063742b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/spec/test-common.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,15 +1013,18 @@ describe('tus', () => {
10131013

10141014
expect(options.onShouldRetry).toHaveBeenCalled()
10151015
const args1 = options.onShouldRetry.calls.argsFor(0)
1016-
expect(args1[0].message).toEqual('tus: unexpected response while creating upload, originated from request (method: POST, url: http://tus.io/files/, response code: 500, response text: , request id: n/a)')
1016+
expect(args1[0].message).toEqual(
1017+
'tus: unexpected response while creating upload, originated from request (method: POST, url: http://tus.io/files/, response code: 500, response text: , request id: n/a)',
1018+
)
10171019
expect(args1[1]).toEqual(0)
10181020
expect(args1[2]).toEqual(upload.options)
10191021

10201022
const args2 = options.onShouldRetry.calls.argsFor(1)
1021-
expect(args2[0].message).toEqual('tus: unexpected response while uploading chunk, originated from request (method: PATCH, url: http://tus.io/files/foo, response code: 423, response text: , request id: n/a)')
1023+
expect(args2[0].message).toEqual(
1024+
'tus: unexpected response while uploading chunk, originated from request (method: PATCH, url: http://tus.io/files/foo, response code: 423, response text: , request id: n/a)',
1025+
)
10221026
expect(args2[1]).toEqual(1)
10231027
expect(args2[2]).toEqual(upload.options)
1024-
10251028
})
10261029

10271030
// This tests ensures that tus-js-client correctly aborts if the

0 commit comments

Comments
 (0)