Skip to content

Commit

Permalink
[PRMDR-553-UI] remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelHowellNHS committed Jan 25, 2024
1 parent ae049a0 commit d640411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/helpers/utils/errorToParams.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('errorToParams util function', () => {
const error = errorResponse as AxiosError;
const resultErrorToParams = errorToParams(error);
const errorArray = resultErrorToParams.split('encodedError=');
const [errorCode, interactionId] = JSON.parse(atob(errorArray[1]));
const [errorCode] = JSON.parse(atob(errorArray[1]));
expect(errorCode).toEqual(mockErrorCode);
});
});

0 comments on commit d640411

Please sign in to comment.