Feat: Add env vars and i18n translations #281
Triggered via pull request
September 22, 2024 04:03
Status
Failure
Total duration
2m 21s
Artifacts
–
ci.yml
on: pull_request
bcregistry-ui-ci
/
detemine-package-manager
2s
Matrix: bcregistry-ui-ci / linting-npm
Matrix: bcregistry-ui-ci / linting-pnpm
Matrix: bcregistry-ui-ci / unit-testing-npm
Matrix: bcregistry-ui-ci / verify-build-npm
Matrix: bcregistry-ui-ci / unit-testing-pnpm
Matrix: bcregistry-ui-ci / verify-build
bcregistry-ui-ci
/
code-coverage-npm
0s
bcregistry-ui-ci
/
code-coverage
0s
Annotations
3 errors
../tests/unit/components/SbcI18nBold.test.ts > <SbcI18nBold /> > should add bold tags around text:
tests/unit/components/SbcI18nBold.test.ts#L17
AssertionError: expected '<!-- eslint-disable-next-line -->\n<s…' to contain '<span>This should have <strong> bold …'
- Expected
+ Received
- <span>This should have <strong> bold </strong> text</span>
+ <!-- eslint-disable-next-line -->
+ <span>test.i18nBold.strong</span>
❯ ../tests/unit/components/SbcI18nBold.test.ts:17:28
|
../tests/unit/components/SbcI18nBold.test.ts > <SbcI18nBold /> > should allow other props:
tests/unit/components/SbcI18nBold.test.ts#L31
AssertionError: expected '<!-- eslint-disable-next-line -->\n<s…' to contain '<span prop="prop to be added">This sh…'
- Expected
+ Received
- <span prop="prop to be added">This should have <strong> bold </strong> text and allow a prop to be added</span>
+ <!-- eslint-disable-next-line -->
+ <span prop="prop to be added">test.i18nBold.strongWithProps</span>
❯ ../tests/unit/components/SbcI18nBold.test.ts:31:28
|
bcregistry-ui-ci / unit-testing-pnpm (20.15.0, 9)
Process completed with exit code 1.
|