Merge pull request #1 from tabkram/execution-timer #8
Annotations
9 errors and 49 warnings
ExecutionTimer > should get the duration:
src/timer/executionTimer.spec.ts#L21
TypeError: Cannot assign to read only property 'now' of object '#<Performance>'
at ModuleMocker.spyOn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-mock/build/index.js:791:27)
at Object.<anonymous> (/home/runner/work/execution-engine/execution-engine/src/timer/executionTimer.spec.ts:22:10)
at Promise.then.completed (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/testWorker.js:106:12)
|
ExecutionTimer > should get the duration with a custom execution ID:
src/timer/executionTimer.spec.ts#L41
TypeError: Cannot assign to read only property 'now' of object '#<Performance>'
at ModuleMocker.spyOn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-mock/build/index.js:791:27)
at Object.<anonymous> (/home/runner/work/execution-engine/execution-engine/src/timer/executionTimer.spec.ts:43:10)
at Promise.then.completed (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/testWorker.js:106:12)
|
ExecutionTimer > should get human-readable elapsed time for a duration:
src/timer/executionTimer.spec.ts#L63
TypeError: Cannot assign to read only property 'now' of object '#<Performance>'
at ModuleMocker.spyOn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-mock/build/index.js:791:27)
at Object.<anonymous> (/home/runner/work/execution-engine/execution-engine/src/timer/executionTimer.spec.ts:64:10)
at Promise.then.completed (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/testWorker.js:106:12)
|
ExecutionTimer > should get human-readable elapsed time with hours and minutes:
src/timer/executionTimer.spec.ts#L73
TypeError: Cannot assign to read only property 'now' of object '#<Performance>'
at ModuleMocker.spyOn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-mock/build/index.js:791:27)
at Object.<anonymous> (/home/runner/work/execution-engine/execution-engine/src/timer/executionTimer.spec.ts:74:10)
at Promise.then.completed (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/testWorker.js:106:12)
|
ExecutionTimer > should get human-readable elapsed time with milliseconds:
src/timer/executionTimer.spec.ts#L83
TypeError: Cannot assign to read only property 'now' of object '#<Performance>'
at ModuleMocker.spyOn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-mock/build/index.js:791:27)
at Object.<anonymous> (/home/runner/work/execution-engine/execution-engine/src/timer/executionTimer.spec.ts:84:10)
at Promise.then.completed (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/testWorker.js:106:12)
|
ExecutionTimer > should get human-readable elapsed time with a custom execution ID:
src/timer/executionTimer.spec.ts#L103
TypeError: Cannot assign to read only property 'now' of object '#<Performance>'
at ModuleMocker.spyOn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-mock/build/index.js:791:27)
at Object.<anonymous> (/home/runner/work/execution-engine/execution-engine/src/timer/executionTimer.spec.ts:105:10)
at Promise.then.completed (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/execution-engine/execution-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/execution-engine/execution-engine/node_modules/jest-runner/build/testWorker.js:106:12)
|
coverage
Error: The process '/usr/local/bin/npx' failed with exit code 1
Error: The process '/usr/local/bin/npx' failed with exit code 1
at rh._setResult (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:17898)
at rh.CheckComplete (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:17485)
at ChildProcess.<anonymous> (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:16477)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
|
coverage
Jest coverage report action failed
|
coverage
Process completed with exit code 1.
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L48
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L90
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L91
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L92
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L93
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L95
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L97
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L98
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L100
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L101
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L103
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L104
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L106
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L107
Warning! Not covered statement
|
🧾 Statement is not covered:
src/timer/executionTimer.ts#L110
Warning! Not covered statement
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L47
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L97
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L98
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L98
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L100
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L101
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L101
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L103
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L104
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L104
Warning! Not covered branch
|
🌿 Branch is not covered:
src/timer/executionTimer.ts#L106
Warning! Not covered branch
|
🧾 Statement is not covered:
src/common/jsonQuery.ts#L8
Warning! Not covered statement
|
🧾 Statement is not covered:
src/common/jsonQuery.ts#L40
Warning! Not covered statement
|
🧾 Statement is not covered:
src/common/jsonQuery.ts#L42
Warning! Not covered statement
|
🧾 Statement is not covered:
src/common/jsonQuery.ts#L43
Warning! Not covered statement
|
🧾 Statement is not covered:
src/common/jsonQuery.ts#L50
Warning! Not covered statement
|
🧾 Statement is not covered:
src/common/jsonQuery.ts#L51
Warning! Not covered statement
|
🧾 Statement is not covered:
src/common/jsonQuery.ts#L52
Warning! Not covered statement
|
🌿 Branch is not covered:
src/common/jsonQuery.ts#L40
Warning! Not covered branch
|
🌿 Branch is not covered:
src/common/jsonQuery.ts#L42
Warning! Not covered branch
|
🌿 Branch is not covered:
src/common/jsonQuery.ts#L51
Warning! Not covered branch
|
🌿 Branch is not covered:
src/common/jsonQuery.ts#L52
Warning! Not covered branch
|
🕹️ Function is not covered:
src/common/jsonQuery.ts#L7
Warning! Not covered function
|
🕹️ Function is not covered:
src/common/jsonQuery.ts#L40
Warning! Not covered function
|
🕹️ Function is not covered:
src/common/jsonQuery.ts#L51
Warning! Not covered function
|
🕹️ Function is not covered:
src/common/jsonQuery.ts#L52
Warning! Not covered function
|
🧾 Statement is not covered:
src/trace/traceableExecution.ts#L59
Warning! Not covered statement
|
🧾 Statement is not covered:
src/trace/traceableExecution.ts#L60
Warning! Not covered statement
|
🧾 Statement is not covered:
src/trace/traceableExecution.ts#L61
Warning! Not covered statement
|
🧾 Statement is not covered:
src/trace/traceableExecution.ts#L62
Warning! Not covered statement
|
🧾 Statement is not covered:
src/trace/traceableExecution.ts#L63
Warning! Not covered statement
|
🧾 Statement is not covered:
src/trace/traceableExecution.ts#L64
Warning! Not covered statement
|
🧾 Statement is not covered:
src/trace/traceableExecution.ts#L65
Warning! Not covered statement
|
🧾 Statement is not covered:
src/trace/traceableExecution.ts#L68
Warning! Not covered statement
|