Add locales #778
Annotations
2 errors and 1 warning
src/ProChat/__test__/demo.test.tsx > <ProChat /> > renders i18n.tsx correctly:
tests/demo.tsx#L37
Error: Snapshot `<ProChat /> > renders i18n.tsx correctly 1` mismatched
- Expected
+ Received
@@ -49,10 +49,80 @@
title="zh-HK"
>
zh-HK
</div>
</label>
+ <label
+ class="ant-segmented-item"
+ >
+ <input
+ class="ant-segmented-item-input"
+ type="radio"
+ />
+ <div
+ class="ant-segmented-item-label"
+ title="cs-CZ"
+ >
+ cs-CZ
+ </div>
+ </label>
+ <label
+ class="ant-segmented-item"
+ >
+ <input
+ class="ant-segmented-item-input"
+ type="radio"
+ />
+ <div
+ class="ant-segmented-item-label"
+ title="de-DE"
+ >
+ de-DE
+ </div>
+ </label>
+ <label
+ class="ant-segmented-item"
+ >
+ <input
+ class="ant-segmented-item-input"
+ type="radio"
+ />
+ <div
+ class="ant-segmented-item-label"
+ title="hu-HU"
+ >
+ hu-HU
+ </div>
+ </label>
+ <label
+ class="ant-segmented-item"
+ >
+ <input
+ class="ant-segmented-item-input"
+ type="radio"
+ />
+ <div
+ class="ant-segmented-item-label"
+ title="pl-PL"
+ >
+ pl-PL
+ </div>
+ </label>
+ <label
+ class="ant-segmented-item"
+ >
+ <input
+ class="ant-segmented-item-input"
+ type="radio"
+ />
+ <div
+ class="ant-segmented-item-label"
+ title="sk-SK"
+ >
+ sk-SK
+ </div>
+ </label>
</div>
</div>
<div
class="ant-app"
style="height: 100%; width: 100%; position: relative;"
❯ tests/demo.tsx:37:40
|
test
Process completed with exit code 1.
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, 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/
|