feat: add link to travel guarantee page (#409) #1935
Annotations
2 errors and 1 warning
Run yarn test:
src/components/departure-time/__tests__/departure-time.test.tsx#L152
TestingLibraryElementError: Unable to find a label with the text of: Rutetid Nå
Ignored nodes: comments, script, style
<body>
<div>
<div
class="_significantDifferenceContainer_8ab84f"
>
<div
class="_significantDifference_8ab84f"
>
<p
aria-label="Sanntid 5 min"
class="typo-body__primary _timeContainer_8ab84f"
>
5 min
</p>
</div>
<p
aria-label="Rutetid 12:43"
class="typo-body__tertiary--strike"
color="secondary"
>
12:43
</p>
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getAllByLabelText node_modules/@testing-library/dom/dist/queries/label-text.js:111:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ getByLabelText node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/departure-time/__tests__/departure-time.test.tsx:152:21
|
Run yarn test
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading