refactor(ccdaservice): extract and test headReplace function (#6792)
commita1cf2d585aae1706c58cd0ffbf10791eecc037c9
authorraskolnikov-rodion <22417165+raskolnikov-rodion@users.noreply.github.com>
Fri, 25 Aug 2023 07:01:44 +0000 (25 08:01 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Aug 2023 07:01:44 +0000 (25 00:01 -0700)
treebde5d83e56ccc761827599d717434d3068eeb92f
parent4c90f090a38801405e7c0c62f6fd7b4cb53395f9
refactor(ccdaservice): extract and test headReplace function (#6792)

* refactor(ccdaservice): extract and test headReplace function

* refactor(ccdaservice): use extracted headReplace function
ccdaservice/serveccda.js
ccdaservice/utils/head-replace/head-replace.js [new file with mode: 0644]
ccdaservice/utils/head-replace/head-replace.spec.js [new file with mode: 0644]