chore: wip add types for wrap #68
Closed
Annotations
4 errors
Run npm ci:
tests/lib/extend.test.ts#L36
TestingLibraryElementError: Found multiple elements with the text: Logged in as Fran Perea
Here are the matching elements:
Ignored nodes: comments, script, style
<span>
Logged in as
Fran Perea
</span>
Ignored nodes: comments, script, style
<span>
Logged in as
Fran Perea
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div>
<span>
Logged in as
Fran Perea
</span>
<button>
Logout
</button>
</div>
</div>
<div>
<div>
<span>
Logged in as
Fran Perea
</span>
<button>
Logout
</button>
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<div>
<span>
Logged in as
Fran Perea
</span>
<button>
Logout
</button>
</div>
</div>
<div>
<div>
<span>
Logged in as
Fran Perea
</span>
<button>
Logout
</button>
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:166:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ tests/lib/extend.test.ts:36:23
|
Run npm ci:
tests/lib/extend.test.ts#L55
ReferenceError: wrap is not defined
❯ tests/lib/extend.test.ts:55:3
|
Run npm ci:
tests/lib/extend.test.ts#L88
ReferenceError: wrap is not defined
❯ tests/lib/extend.test.ts:88:3
|
Run npm ci
Process completed with exit code 1.
|
Loading