fix: library components exports #2709
Annotations
5 errors
src/client/App/Analytics/PnL/__tests__/PNLBar.test.tsx > PNLBar > should display the symbol name correctly:
packages/client/src/client/App/Analytics/PnL/__tests__/PNLBar.test.tsx#L21
TestingLibraryElementError: Unable to find an element by: [data-testid="symbolLabel"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="sc-beqWaB sc-hLseeU cHbrEu dAmnPD"
>
<div
class="typography undefined"
style="line-height: 1;"
>
EUR
/
AUD
</div>
<div
class="sc-iAEyYk hXvuBi"
>
<div
class="sc-dmqHEX sc-eDDNvR iHpFyK llHDDU"
style="transform: translate(-31.125428646769944%);"
>
<div
class="sc-jTrPJq jAhPip"
color="negative"
data-testid="priceLabel"
>
<div
class="typography undefined"
style="line-height: 1;"
>
-26k
</div>
</div>
</div>
<div
class="sc-fsQiph kwLXNR"
>
<div
class="sc-gueYoa sc-qRumB hwcaMf ibOSjh"
/>
<div
class="sc-gLDzan cFGato"
color="negative"
/>
</div>
</div>
</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
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/client/App/Analytics/PnL/__tests__/PNLBar.test.tsx:21:19
|
src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx > LastPositions > should render the initial last position value:
packages/client/src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx#L81
TestingLibraryElementError: Unable to find an element by: [data-testid="lastPosition"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="typography text-md-regular"
style="line-height: 1;"
>
<div
class="sc-beqWaB cHbrEu"
>
USD
<div
class="typography undefined"
style="line-height: 1;"
>
-2,713,309
</div>
</div>
</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:109:15
❯ src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx:81:19
|
src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx > LastPositions > should display the updated last position:
packages/client/src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx#L92
TestingLibraryElementError: Unable to find an element by: [data-testid="lastPosition"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="typography text-md-regular"
style="line-height: 1;"
>
<div
class="sc-beqWaB cHbrEu"
>
USD
<div
class="typography undefined"
style="line-height: 1;"
>
-2,713,309
</div>
</div>
</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:109:15
❯ src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx:92:19
|
src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx > LastPositions > should display positive and negative number correctly:
packages/client/src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx#L109
TestingLibraryElementError: Unable to find an element by: [data-testid="lastPosition"]
Ignored nodes: comments, script, style
<body>
<div>
<div
class="typography text-md-regular"
style="line-height: 1;"
>
<div
class="sc-beqWaB cHbrEu"
>
USD
<div
class="typography undefined"
style="line-height: 1;"
>
-2,713,309
</div>
</div>
</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:109:15
❯ src/client/App/Analytics/ProfitAndLoss/__tests__/LastPosition.test.tsx:109:19
|
Build & deploy
Process completed with exit code 1.
|