Relationship alias coverage fixes #984
GitHub Actions / Tests annotations (🧪 jest-coverage-report-action)
failed
Oct 28, 2024 in 0s
Test suite run failed
Failed tests: 2/462. Failed suites: 1/31.
Details
Created failed tests' annotations. To disable them, see documentation.
● HTMLBuilder › simple HTML with generation with clause coverage styling
expect(received).toEqual(expected) // deep equality
Expected: "<div><h2>testClauseCoverage:100%</h2><prestyle=\"tab-size:2\"data-library-name=\"AnticoagulationTherapyforAtrialFibrillationFlutter\"data-statement-name=\"Denominator\"><code><spandata-ref-id=\"119\"style=\"background-color:#daeaf5;color:#004e82\"><span>define"Denominator":</span><spandata-ref-id=\"118\"style=\"background-color:white;color:black\"><spandata-ref-id=\"116\"style=\"background-color:white;color:black\"><spandata-ref-id=\"101\"style=\"background-color:white;color:black\"><span>"EncounterwithAtrialAblationProcedure"</span></span><span>union</span><spandata-ref-id=\"115\"style=\"background-color:white;color:black\"><span>"HistoryofAtrialFibrillationFlutter"</span></span></span><span>union</span><spandata-ref-id=\"117\"style=\"background-color:white;color:black\"><span>"CurrentDiagnosisAtrialFibrillationFlutter"</span></span></span></span></code></pre></div>"
Received: "<div><h2>testClauseCoverage:100%</h2><prestyle=\"tab-size:2\"data-library-name=\"AnticoagulationTherapyforAtrialFibrillationFlutter\"data-statement-name=\"Denominator\"><code><spandata-ref-id=\"119\"style=\"background-color:#daeaf5;color:#004e82\"><span>define"Denominator":</span><spandata-ref-id=\"118\"style=\"\"><spandata-ref-id=\"116\"style=\"\"><spandata-ref-id=\"101\"style=\"\"><span>"EncounterwithAtrialAblationProcedure"</span></span><span>union</span><spandata-ref-id=\"115\"style=\"\"><span>"HistoryofAtrialFibrillationFlutter"</span></span></span><span>union</span><spandata-ref-id=\"117\"style=\"\"><span>"CurrentDiagnosisAtrialFibrillationFlutter"</span></span></span></span></code></pre></div>"
222 | const res = generateClauseCoverageHTML(simpleMeasure, [elm], executionResults, {});
223 |
> 224 | expect(res.coverage.test.replace(/\s/g, '')).toEqual(expectedHTML);
| ^
225 | expect(res.coverage.test.includes(coverageStyleString)).toBeTruthy();
226 | });
227 |
at Object.<anonymous> (test/unit/HTMLBuilder.test.ts:224:50)
● HTMLBuilder › simple HTML for two groups with generation with clause coverage styling
expect(received).toEqual(expected) // deep equality
Expected: "<div><h2>testClauseCoverage:100%</h2><prestyle=\"tab-size:2\"data-library-name=\"AnticoagulationTherapyforAtrialFibrillationFlutter\"data-statement-name=\"Denominator\"><code><spandata-ref-id=\"119\"style=\"background-color:#daeaf5;color:#004e82\"><span>define"Denominator":</span><spandata-ref-id=\"118\"style=\"background-color:white;color:black\"><spandata-ref-id=\"116\"style=\"background-color:white;color:black\"><spandata-ref-id=\"101\"style=\"background-color:white;color:black\"><span>"EncounterwithAtrialAblationProcedure"</span></span><span>union</span><spandata-ref-id=\"115\"style=\"background-color:white;color:black\"><span>"HistoryofAtrialFibrillationFlutter"</span></span></span><span>union</span><spandata-ref-id=\"117\"style=\"background-color:white;color:black\"><span>"CurrentDiagnosisAtrialFibrillationFlutter"</span></span></span></span></code></pre></div>"
Received: "<div><h2>testClauseCoverage:100%</h2><prestyle=\"tab-size:2\"data-library-name=\"AnticoagulationTherapyforAtrialFibrillationFlutter\"data-statement-name=\"Denominator\"><code><spandata-ref-id=\"119\"style=\"background-color:#daeaf5;color:#004e82\"><span>define"Denominator":</span><spandata-ref-id=\"118\"style=\"\"><spandata-ref-id=\"116\"style=\"\"><spandata-ref-id=\"101\"style=\"\"><span>"EncounterwithAtrialAblationProcedure"</span></span><span>union</span><spandata-ref-id=\"115\"style=\"\"><span>"HistoryofAtrialFibrillationFlutter"</span></span></span><span>union</span><spandata-ref-id=\"117\"style=\"\"><span>"CurrentDiagnosisAtrialFibrillationFlutter"</span></span></span></span></code></pre></div>"
249 | const res = generateClauseCoverageHTML(simpleMeasure, [elm], executionResults, {});
250 |
> 251 | expect(res.coverage.test.replace(/\s/g, '')).toEqual(expectedHTML);
| ^
252 | expect(res.coverage.test2.replace(/\s/g, '')).toEqual(expectedHTML2);
253 | expect(res.coverage.test.includes(coverageStyleString)).toBeTruthy();
254 | expect(res.coverage.test2.includes(coverageStyleString)).toBeTruthy();
at Object.<anonymous> (test/unit/HTMLBuilder.test.ts:251:50)
Annotations
Check failure on line 207 in test/unit/HTMLBuilder.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
HTMLBuilder > simple HTML with generation with clause coverage styling
Error: expect(received).toEqual(expected) // deep equality
Expected: "<div><h2>testClauseCoverage:100%</h2><prestyle=\"tab-size:2\"data-library-name=\"AnticoagulationTherapyforAtrialFibrillationFlutter\"data-statement-name=\"Denominator\"><code><spandata-ref-id=\"119\"style=\"background-color:#daeaf5;color:#004e82\"><span>define"Denominator":</span><spandata-ref-id=\"118\"style=\"background-color:white;color:black\"><spandata-ref-id=\"116\"style=\"background-color:white;color:black\"><spandata-ref-id=\"101\"style=\"background-color:white;color:black\"><span>"EncounterwithAtrialAblationProcedure"</span></span><span>union</span><spandata-ref-id=\"115\"style=\"background-color:white;color:black\"><span>"HistoryofAtrialFibrillationFlutter"</span></span></span><span>union</span><spandata-ref-id=\"117\"style=\"background-color:white;color:black\"><span>"CurrentDiagnosisAtrialFibrillationFlutter"</span></span></span></span></code></pre></div>"
Received: "<div><h2>testClauseCoverage:100%</h2><prestyle=\"tab-size:2\"data-library-name=\"AnticoagulationTherapyforAtrialFibrillationFlutter\"data-statement-name=\"Denominator\"><code><spandata-ref-id=\"119\"style=\"background-color:#daeaf5;color:#004e82\"><span>define"Denominator":</span><spandata-ref-id=\"118\"style=\"\"><spandata-ref-id=\"116\"style=\"\"><spandata-ref-id=\"101\"style=\"\"><span>"EncounterwithAtrialAblationProcedure"</span></span><span>union</span><spandata-ref-id=\"115\"style=\"\"><span>"HistoryofAtrialFibrillationFlutter"</span></span></span><span>union</span><spandata-ref-id=\"117\"style=\"\"><span>"CurrentDiagnosisAtrialFibrillationFlutter"</span></span></span></span></code></pre></div>"
at Object.<anonymous> (/home/runner/work/fqm-execution/fqm-execution/test/unit/HTMLBuilder.test.ts:224:50)
at Promise.then.completed (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusTest (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:297:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:233:3)
at _runTestsForDescribeBlock (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:68:3)
at runAndTransformResultsToJestFormat (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 228 in test/unit/HTMLBuilder.test.ts
github-actions / Tests annotations (🧪 jest-coverage-report-action)
HTMLBuilder > simple HTML for two groups with generation with clause coverage styling
Error: expect(received).toEqual(expected) // deep equality
Expected: "<div><h2>testClauseCoverage:100%</h2><prestyle=\"tab-size:2\"data-library-name=\"AnticoagulationTherapyforAtrialFibrillationFlutter\"data-statement-name=\"Denominator\"><code><spandata-ref-id=\"119\"style=\"background-color:#daeaf5;color:#004e82\"><span>define"Denominator":</span><spandata-ref-id=\"118\"style=\"background-color:white;color:black\"><spandata-ref-id=\"116\"style=\"background-color:white;color:black\"><spandata-ref-id=\"101\"style=\"background-color:white;color:black\"><span>"EncounterwithAtrialAblationProcedure"</span></span><span>union</span><spandata-ref-id=\"115\"style=\"background-color:white;color:black\"><span>"HistoryofAtrialFibrillationFlutter"</span></span></span><span>union</span><spandata-ref-id=\"117\"style=\"background-color:white;color:black\"><span>"CurrentDiagnosisAtrialFibrillationFlutter"</span></span></span></span></code></pre></div>"
Received: "<div><h2>testClauseCoverage:100%</h2><prestyle=\"tab-size:2\"data-library-name=\"AnticoagulationTherapyforAtrialFibrillationFlutter\"data-statement-name=\"Denominator\"><code><spandata-ref-id=\"119\"style=\"background-color:#daeaf5;color:#004e82\"><span>define"Denominator":</span><spandata-ref-id=\"118\"style=\"\"><spandata-ref-id=\"116\"style=\"\"><spandata-ref-id=\"101\"style=\"\"><span>"EncounterwithAtrialAblationProcedure"</span></span><span>union</span><spandata-ref-id=\"115\"style=\"\"><span>"HistoryofAtrialFibrillationFlutter"</span></span></span><span>union</span><spandata-ref-id=\"117\"style=\"\"><span>"CurrentDiagnosisAtrialFibrillationFlutter"</span></span></span></span></code></pre></div>"
at Object.<anonymous> (/home/runner/work/fqm-execution/fqm-execution/test/unit/HTMLBuilder.test.ts:251:50)
at Promise.then.completed (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/utils.js:293:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/utils.js:226:10)
at _callCircusTest (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:297:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:233:3)
at _runTestsForDescribeBlock (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:135:9)
at _runTestsForDescribeBlock (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:130:9)
at run (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/run.js:68:3)
at runAndTransformResultsToJestFormat (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/fqm-execution/fqm-execution/node_modules/jest-runner/build/testWorker.js:106:12)
Loading