feat: added KMenu component #913
Annotations
2 errors and 1 warning
Unit Test:
components/Form/__test__/form.spec.ts#L106
Error: Snapshot `Test: KForm > props: KForm initValue 1` mismatched
- Expected
+ Received
- "<form class="k-form"><div class="k-form-item k-form-item__horizontal"><label class="k-form-item-label k-form-item-label__ml k-form-item-label__dark k-form-item-label__right k-form-item-label__horizontal k-form-item-label__md" style="min-width: 80px;"> KInput</label> <div class="k-form-item-content"><div class="k-input"> <div class="k-input--base k-input__md k-input__dark k-input__hover k-input__focus k-input__rounded"> <input class="k-input--inner k-input--inner__dark" type="text" placeholder="Please input value"> </div> </div> </div></div> <div class="k-form-item k-form-item__horizontal"><label class="k-form-item-label k-form-item-label__ml k-form-item-label__dark k-form-item-label__right k-form-item-label__horizontal k-form-item-label__md" style="min-width: 80px;"> KSwitch</label> <div class="k-form-item-content"><div class="k-switch k-switch--base k-switch--md k-switch__checked k-switch-tra" aria-hidden="true"> <span class="k-switch-circle k-switch-circle--md" style="right: 1px;"></span> <span class="k-switch-tx__checked k-switch-tx__checked--md"></span></div> </div></div> <div class="k-form-item k-form-item__horizontal"><label class="k-form-item-label k-form-item-label__ml k-form-item-label__dark k-form-item-label__right k-form-item-label__horizontal k-form-item-label__md" style="min-width: 80px;"> KRate</label> <div class="k-form-item-content"><div class="k-rate k-rate--md"><span class="k-rate--item k-rate--item--md k-rate--item__not-readonly" aria-hidden="true"><span class="k-icon--base k-icon--base__dark k-icon-transition k-rate--active-icon" role="" aria-hidden="true" style="width: 100%; height: 100%;"></span></span><span class="k-rate--item k-rate--item--md k-rate--item__not-readonly" aria-hidden="true"><span class="k-icon--base k-icon--base__dark k-icon-transition k-rate--active-icon" role="" aria-hidden="true" style="width: 100%; height: 100%;"></span></span><span class="k-rate--item k-rate--item--md k-rate--item__not-readonly" aria-hidden="true"><span class="k-icon--base k-icon--base__dark k-icon-transition k-rate--active-icon" role="" aria-hidden="true" style="width: 100%; height: 100%;"></span></span><span class="k-rate--item k-rate--item--md k-rate--item__not-readonly" aria-hidden="true"><span class="k-icon--base k-icon--base__dark k-icon-transition k-rate--active-icon" role="" aria-hidden="true" style="width: 100%; height: 100%;"></span></span><span class="k-rate--item k-rate--item--md k-rate--item__not-readonly" aria-hidden="true"><span class="k-icon--base k-icon--base__dark k-icon-transition k-rate--void-icon" role="" aria-hidden="true" style="width: 100%; height: 100%;"></span></span> </div> </div></div> <div class="k-form-item k-form-item__horizontal"><label class="k-form-item-label k-form-item-label__ml k-form-item-label__dark k-form-item-label__right k-form-item-label__horizontal k-form-item-label__md" style="min-width: 80px;"> KInputNumber</label> <div class="k-form-item-content"><div class="k-input svelte-1ibt20v"> <div class="k-input--base k-input-number__md k-input__dark k-input__hover k-input__focus k-input__rounded svelte-1ibt20v"><input type="number" class="k-input--inner k-input--inner__dark svelte-1ibt20v" min="-Infinity" max="Infinity" placeholder="" name="" id=""> <div class="k-input-number--controls svelte-1ibt20v"><div class="k-input-number--up k-input-number--controls__dark svelte-1ibt20v" aria-hidden="true" role="button" aria-label="decrease number"><span class="k-icon--base k-icon--base__dark k-icon-transition i-carbon-chevron-up k-input-number--icon k-input--icon__md" role="" aria-hidden="true" style="width: 24px; height: 24px;"></span></div> <div class="k-input-number--down k-input-number--controls__dark svelte-1ibt20v" aria-hidden="true" role="button" aria-label="increase number"><span class="k-icon--base k-icon--base__dark k-icon-transition i-carbon-chevron-down k-input-number--icon k-input--icon__md" role="" aria-hidden="true" style="width: 24px; height: 24px;"></span></div></div><
|
Unit Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading