mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:47:20 +00:00
chore: fix unit tests
This commit is contained in:
parent
03f4ed7456
commit
436b001c9b
@ -45,7 +45,7 @@ describe('CollectionSelect', () => {
|
|||||||
expect(container).toMatchInlineSnapshot(`
|
expect(container).toMatchInlineSnapshot(`
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="css-dev-only-do-not-override-11aiz3o ant-app"
|
class="css-dev-only-do-not-override-1dcofz2 ant-app"
|
||||||
style="height: 100%;"
|
style="height: 100%;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -54,7 +54,7 @@ describe('CollectionSelect', () => {
|
|||||||
role="button"
|
role="button"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="css-1yh5po ant-formily-item ant-formily-item-layout-horizontal ant-formily-item-feedback-layout-loose ant-formily-item-label-align-right ant-formily-item-control-align-left css-dev-only-do-not-override-11aiz3o"
|
class="css-1yh5po ant-formily-item ant-formily-item-layout-horizontal ant-formily-item-feedback-layout-loose ant-formily-item-label-align-right ant-formily-item-control-align-left css-dev-only-do-not-override-1dcofz2"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-formily-item-label"
|
class="ant-formily-item-label"
|
||||||
@ -84,7 +84,7 @@ describe('CollectionSelect', () => {
|
|||||||
class="ant-formily-item-control-content-component"
|
class="ant-formily-item-control-content-component"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-select css-dev-only-do-not-override-11aiz3o ant-select-focused ant-select-single ant-select-show-arrow ant-select-show-search"
|
class="ant-select ant-select-outlined css-dev-only-do-not-override-1dcofz2 ant-select-focused ant-select-single ant-select-show-arrow ant-select-show-search"
|
||||||
data-testid="select-collection"
|
data-testid="select-collection"
|
||||||
role="button"
|
role="button"
|
||||||
>
|
>
|
||||||
@ -182,7 +182,7 @@ describe('CollectionSelect', () => {
|
|||||||
expect(container).toMatchInlineSnapshot(`
|
expect(container).toMatchInlineSnapshot(`
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="css-dev-only-do-not-override-11aiz3o ant-app"
|
class="css-dev-only-do-not-override-1dcofz2 ant-app"
|
||||||
style="height: 100%;"
|
style="height: 100%;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -191,7 +191,7 @@ describe('CollectionSelect', () => {
|
|||||||
role="button"
|
role="button"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="css-1yh5po ant-formily-item ant-formily-item-layout-horizontal ant-formily-item-feedback-layout-loose ant-formily-item-label-align-right ant-formily-item-control-align-left css-dev-only-do-not-override-11aiz3o"
|
class="css-1yh5po ant-formily-item ant-formily-item-layout-horizontal ant-formily-item-feedback-layout-loose ant-formily-item-label-align-right ant-formily-item-control-align-left css-dev-only-do-not-override-1dcofz2"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-formily-item-label"
|
class="ant-formily-item-label"
|
||||||
@ -222,7 +222,7 @@ describe('CollectionSelect', () => {
|
|||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<span
|
<span
|
||||||
class="ant-tag css-dev-only-do-not-override-11aiz3o"
|
class="ant-tag css-dev-only-do-not-override-1dcofz2"
|
||||||
>
|
>
|
||||||
Users
|
Users
|
||||||
</span>
|
</span>
|
||||||
|
@ -26,7 +26,7 @@ describe('ColorPicker', () => {
|
|||||||
expect(container).toMatchInlineSnapshot(`
|
expect(container).toMatchInlineSnapshot(`
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="css-dev-only-do-not-override-11aiz3o ant-app"
|
class="css-dev-only-do-not-override-1dcofz2 ant-app"
|
||||||
style="height: 100%;"
|
style="height: 100%;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -35,7 +35,7 @@ describe('ColorPicker', () => {
|
|||||||
style="display: inline-block;"
|
style="display: inline-block;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-color-picker-trigger css-dev-only-do-not-override-11aiz3o"
|
class="ant-color-picker-trigger css-dev-only-do-not-override-1dcofz2"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-color-picker-color-block"
|
class="ant-color-picker-color-block"
|
||||||
@ -90,7 +90,7 @@ describe('ColorPicker', () => {
|
|||||||
expect(container).toMatchInlineSnapshot(`
|
expect(container).toMatchInlineSnapshot(`
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="css-dev-only-do-not-override-11aiz3o ant-app"
|
class="css-dev-only-do-not-override-1dcofz2 ant-app"
|
||||||
style="height: 100%;"
|
style="height: 100%;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -99,7 +99,7 @@ describe('ColorPicker', () => {
|
|||||||
role="button"
|
role="button"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-color-picker-trigger ant-color-picker-sm css-dev-only-do-not-override-11aiz3o ant-color-picker-trigger-disabled"
|
class="ant-color-picker-trigger ant-color-picker-sm css-dev-only-do-not-override-1dcofz2 ant-color-picker-trigger-disabled"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-color-picker-color-block"
|
class="ant-color-picker-color-block"
|
||||||
|
@ -21,12 +21,12 @@ describe('Pagination', () => {
|
|||||||
expect(container).toMatchInlineSnapshot(`
|
expect(container).toMatchInlineSnapshot(`
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="css-dev-only-do-not-override-11aiz3o ant-app"
|
class="css-dev-only-do-not-override-1dcofz2 ant-app"
|
||||||
style="height: 100%;"
|
style="height: 100%;"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<ul
|
<ul
|
||||||
class="ant-pagination css-dev-only-do-not-override-11aiz3o"
|
class="ant-pagination css-dev-only-do-not-override-1dcofz2"
|
||||||
>
|
>
|
||||||
<li
|
<li
|
||||||
aria-disabled="true"
|
aria-disabled="true"
|
||||||
@ -131,7 +131,7 @@ describe('Pagination', () => {
|
|||||||
expect(container).toMatchInlineSnapshot(`
|
expect(container).toMatchInlineSnapshot(`
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="css-dev-only-do-not-override-11aiz3o ant-app"
|
class="css-dev-only-do-not-override-1dcofz2 ant-app"
|
||||||
style="height: 100%;"
|
style="height: 100%;"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -20,11 +20,11 @@ describe('UnixTimestamp', () => {
|
|||||||
expect(container).toMatchInlineSnapshot(`
|
expect(container).toMatchInlineSnapshot(`
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="css-dev-only-do-not-override-11aiz3o ant-app"
|
class="css-dev-only-do-not-override-1dcofz2 ant-app"
|
||||||
style="height: 100%;"
|
style="height: 100%;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-picker css-dev-only-do-not-override-11aiz3o"
|
class="ant-picker ant-picker-outlined css-dev-only-do-not-override-1dcofz2"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="ant-picker-input"
|
class="ant-picker-input"
|
||||||
@ -77,7 +77,7 @@ describe('UnixTimestamp', () => {
|
|||||||
expect(container).toMatchInlineSnapshot(`
|
expect(container).toMatchInlineSnapshot(`
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="css-dev-only-do-not-override-11aiz3o ant-app"
|
class="css-dev-only-do-not-override-1dcofz2 ant-app"
|
||||||
style="height: 100%;"
|
style="height: 100%;"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
Loading…
Reference in New Issue
Block a user