refactor(ccdaservice): test and refactor populateProvider function (#6859)
commit658135c2c62ee3a7c722a3e530b3e277a04e6a34
authorraskolnikov-rodion <22417165+raskolnikov-rodion@users.noreply.github.com>
Sun, 24 Sep 2023 06:51:17 +0000 (24 07:51 +0100)
committerGitHub <noreply@github.com>
Sun, 24 Sep 2023 06:51:17 +0000 (23 23:51 -0700)
tree3925726c112104e0bcce7a4aaff45a7176d97cc8
parent9cd423db55bc0b4f753384b821a6beffd75f46ad
refactor(ccdaservice): test and refactor populateProvider function (#6859)

* refactor(ccdaservice): test and refactor populateProvider function

* refactor(ccdaservice): use extracted populateProvider function

* test(ccdaservice): improve test description
ccdaservice/serveccda.js
ccdaservice/utils/providers/providers.js [new file with mode: 0644]
ccdaservice/utils/providers/providers.mock.js [new file with mode: 0644]
ccdaservice/utils/providers/providers.spec.js [new file with mode: 0644]