Skip to content

lint

lint #463

GitHub Actions / Jest Unit Test Results failed Dec 5, 2024 in 0s

1 fail, 349 pass in 1m 31s

  1 files  ±0   56 suites  ±0   1m 31s ⏱️ -1s
350 tests ±0  349 ✅ ±0  0 💤 ±0  1 ❌ ±0 
353 runs  ±0  352 ✅ ±0  0 💤 ±0  1 ❌ ±0 

Results for commit d4c2939. ± Comparison against earlier commit a721f00.

Annotations

Check warning on line 0 in BadRequestScreen renders expected message

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

BadRequestScreen renders expected message (BadRequestScreen renders expected message) failed

artifacts/jest-junit/junit.xml [took 0s]
Raw output
TestingLibraryElementError: Unable to find an element with the text: stripes-core.front.error.general.message. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="titleWrap"
    >
      <div>
        stripes-core.front.error.header
      </div>
      <div>
        stripes-core.front.error.general.message url:http://localhost/, br:[object Object]
      </div>
    </div>
  </div>
</body>
    at Object.getElementError (/home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19)
    at /home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
    at /home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
    at /home/runner/work/stripes-core/stripes-core/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
    at Object.getByText (/home/runner/work/stripes-core/stripes-core/src/components/BadRequestScreen/BadRequestScreen.test.js:12:12)
    at Promise.then.completed (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/stripes-core/stripes-core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/stripes-core/stripes-core/node_modules/jest-runner/build/testWorker.js:106:12)