inline-block forgot password link #955
Annotations
2 errors
src/components/__tests__/PlayerAliases.test.tsx > <PlayerAliases /> > should render the first alias and an indicator for how many more:
src/components/__tests__/PlayerAliases.test.tsx#L26
TestingLibraryElementError: Unable to find an element with the text: yxre12. 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="space-y-2"
>
<div
class="flex items-center"
>
<span
class="p-1 rounded-full bg-gray-900"
>
<svg
class="tabler-icon tabler-icon-user "
fill="none"
height="16"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"
/>
<path
d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"
/>
</svg>
</span>
<span
class="ml-2 text-sm"
>
ryet12
</span>
</div>
<p
class="text-sm"
>
+
2
more
</p>
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ getByText node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/__tests__/PlayerAliases.test.tsx:26:19
|
unit-tests
Process completed with exit code 1.
|