@@ -14,7 +14,7 @@ import {
1414
1515describe ( "The private function __countMetrics of the DataManager (with PubMed)" , ( ) => {
1616 const setupAndRunCountMetrics = (
17- paper : PubmedPaper = MOCK_PUBMED_PAPER_DATA
17+ paper : PubmedPaper = MOCK_PUBMED_PAPER_DATA ,
1818 ) : PubmedPaper => {
1919 // Create the instance of DataManager class
2020 const dataManager = new DataManager ( productionKMConfig ) ;
@@ -133,7 +133,7 @@ describe("The private function __countMetrics of the DataManager (with PubMed)",
133133
134134 it ( "Works when readers data was provided, but it is invalid" , ( ) => {
135135 // Defining expected result
136- const EXPECTED_RESULT = "n/a" ;
136+ const EXPECTED_RESULT = 0 ;
137137
138138 // Modifying paper data
139139 const modifiedMockPaperData : PubmedPaper = {
@@ -203,7 +203,7 @@ describe("The private function __countMetrics of the DataManager (with PubMed)",
203203
204204 it ( "Works when readers data was provided, but it is invalid" , ( ) => {
205205 // Defining expected result
206- const EXPECTED_RESULT = "n/a" ;
206+ const EXPECTED_RESULT = 0 ;
207207
208208 // Modifying paper data
209209 const modifiedMockPaperData : PubmedPaper = {
@@ -223,7 +223,7 @@ describe("The private function __countMetrics of the DataManager (with PubMed)",
223223
224224describe ( "The private function __countMetrics of the DataManager (with BASE)" , ( ) => {
225225 const setupAndRunCountMetrics = (
226- paper : BasePaper = MOCK_BASE_PAPER_DATA
226+ paper : BasePaper = MOCK_BASE_PAPER_DATA ,
227227 ) : BasePaper => {
228228 // Create the instance of DataManager class
229229 const dataManager = new DataManager ( productionKMConfig ) ;
@@ -342,7 +342,7 @@ describe("The private function __countMetrics of the DataManager (with BASE)", (
342342
343343 it ( "Works when readers data was provided, but it is invalid" , ( ) => {
344344 // Defining expected result
345- const EXPECTED_RESULT = "n/a" ;
345+ const EXPECTED_RESULT = 0 ;
346346
347347 // Modifying paper data
348348 const modifiedMockPaperData : BasePaper = {
@@ -412,7 +412,7 @@ describe("The private function __countMetrics of the DataManager (with BASE)", (
412412
413413 it ( "Works when readers data was provided, but it is invalid" , ( ) => {
414414 // Defining expected result
415- const EXPECTED_RESULT = "n/a" ;
415+ const EXPECTED_RESULT = 0 ;
416416
417417 // Modifying paper data
418418 const modifiedMockPaperData : BasePaper = {
@@ -432,7 +432,7 @@ describe("The private function __countMetrics of the DataManager (with BASE)", (
432432
433433describe ( "The private function __countMetrics of the DataManager (with ORCID)" , ( ) => {
434434 const setupAndRunCountMetrics = (
435- paper : OrcidPaper = MOCK_ORCID_PAPER_DATA
435+ paper : OrcidPaper = MOCK_ORCID_PAPER_DATA ,
436436 ) : OrcidPaper => {
437437 // Create the instance of DataManager class
438438 const dataManager = new DataManager ( productionKMConfig ) ;
@@ -573,7 +573,7 @@ describe("The private function __countMetrics of the DataManager (with ORCID)",
573573
574574 it ( "Works when readers data was provided, but it is invalid" , ( ) => {
575575 // Defining expected result
576- const EXPECTED_RESULT = "n/a" ;
576+ const EXPECTED_RESULT = 0 ;
577577
578578 // Modifying paper data
579579 const modifiedMockPaperData : OrcidPaper = {
@@ -643,7 +643,7 @@ describe("The private function __countMetrics of the DataManager (with ORCID)",
643643
644644 it ( "Works when readers data was provided, but it is invalid" , ( ) => {
645645 // Defining expected result
646- const EXPECTED_RESULT = "n/a" ;
646+ const EXPECTED_RESULT = 0 ;
647647
648648 // Modifying paper data
649649 const modifiedMockPaperData : OrcidPaper = {
0 commit comments