Skip to content

MVC Scaffolding (vulgo, geração de componentes MVC através da definição do modelo) #31

MVC Scaffolding (vulgo, geração de componentes MVC através da definição do modelo)

MVC Scaffolding (vulgo, geração de componentes MVC através da definição do modelo) #31

GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Jan 13, 2024 in 0s

Test suite run failed

Failed tests: 1/55. Failed suites: 2/11.

Details

Created failed tests' annotations. To disable them, see documentation.

  ● Test suite failed to run

    infraestrutura/resposta.ts:134:15 - error TS2345: Argument of type 'string' is not assignable to parameter of type 'SimboloInterface'.

    134         super('Resposta', null, metodos);
                      ~~~~~~~~~~


  ● Testes do preprocessador FolEs › Deve processar o preprocessador

    expect(received).toBe(expected) // Object.is equality

    - Expected  - 1
    + Received  + 1

      <lmht><cabeca><style>body {
    -   font-size: 22px;
    +     font-size: 22px;
      }

      </style></cabeca></lmht>

      20 |
      21 | </style></cabeca></lmht>`;
    > 22 |     expect(resultado).toBe(esperado);
         |                       ^
      23 |   });
      24 | });
      25 |

      at Object.<anonymous> (testes/testes-unitarios/infraestrutura/preprocessadores/foles.test.ts:22:23)

Annotations

Check failure on line 14 in testes/testes-unitarios/infraestrutura/preprocessadores/foles.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

Testes do preprocessador FolEs > Deve processar o preprocessador

Error: expect(received).toBe(expected) // Object.is equality

- Expected  - 1
+ Received  + 1

  <lmht><cabeca><style>body {
-   font-size: 22px;
+     font-size: 22px;
  }

  </style></cabeca></lmht>
    at Object.<anonymous> (/home/runner/work/liquido/liquido/testes/testes-unitarios/infraestrutura/preprocessadores/foles.test.ts:22:23)
    at Promise.then.completed (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/utils.js:289:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/utils.js:222:10)
    at _callCircusTest (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/run.js:248:40)
    at async _runTest (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/run.js:184:3)
    at async _runTestsForDescribeBlock (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/run.js:86:9)
    at async _runTestsForDescribeBlock (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/run.js:81:9)
    at async run (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/run.js:26:3)
    at async runAndTransformResultsToJestFormat (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:120:21)
    at async jestAdapter (/home/runner/work/liquido/liquido/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at async runTestInternal (/home/runner/work/liquido/liquido/node_modules/jest-runner/build/runTest.js:367:16)
    at async runTest (/home/runner/work/liquido/liquido/node_modules/jest-runner/build/runTest.js:444:34)