Skip to content

Commit

Permalink
nit: rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hasani committed Dec 15, 2024
1 parent a68c5c3 commit 5657b2e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ describe('transformByQ', function () {
sinon.assert.calledOnce(fetchStub)
})

it('should retry on retriable error and succeed', async () => {
it('should retry upload on retriable error and succeed', async () => {
const failedResponse = {
ok: false,
status: 503,
Expand All @@ -511,7 +511,7 @@ describe('transformByQ', function () {
sinon.assert.calledTwice(fetchStub)
})

it('should throw error after 3 failed attempts', async () => {
it('should throw error after 3 failed upload attempts', async () => {
const failedResponse = {
ok: false,
status: 500,
Expand All @@ -535,7 +535,7 @@ describe('transformByQ', function () {
sinon.assert.calledThrice(fetchStub)
})

it('should not retry on non-retriable error', async () => {
it('should not retry upload on non-retriable error', async () => {
const failedResponse = {
ok: false,
status: 400,
Expand Down

0 comments on commit 5657b2e

Please sign in to comment.