From 816665f9354c7cc72aed63784b45060c728d66c2 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 26 Oct 2021 16:51:14 +0800 Subject: [PATCH] test: update snap --- .../__tests__/__snapshots__/demo.test.js.snap | 15 +- .../__snapshots__/index.test.js.snap | 765 ++++++++++++++++-- .../__snapshots__/empty.test.js.snap | 45 +- 3 files changed, 770 insertions(+), 55 deletions(-) diff --git a/components/empty/__tests__/__snapshots__/demo.test.js.snap b/components/empty/__tests__/__snapshots__/demo.test.js.snap index 725ab4afd..19b925411 100644 --- a/components/empty/__tests__/__snapshots__/demo.test.js.snap +++ b/components/empty/__tests__/__snapshots__/demo.test.js.snap @@ -133,7 +133,20 @@ exports[`renders ./components/empty/demo/config-provider.vue correctly 1`] = ` - No data + +
+
+ + + + + + + +
+

No Data

+ +
diff --git a/components/locale-provider/__tests__/__snapshots__/index.test.js.snap b/components/locale-provider/__tests__/__snapshots__/index.test.js.snap index 7373b3ef9..442c1110a 100644 --- a/components/locale-provider/__tests__/__snapshots__/index.test.js.snap +++ b/components/locale-provider/__tests__/__snapshots__/index.test.js.snap @@ -528,7 +528,20 @@ exports[`Locale Provider should display the text as ar 1`] = ` - No data + +
+
+ + + + + + + +
+

لا توجد بيانات

+ +
@@ -1074,7 +1087,20 @@ exports[`Locale Provider should display the text as bg 1`] = ` - No data + +
+
+ + + + + + + +
+

Няма данни

+ +
@@ -1620,7 +1646,20 @@ exports[`Locale Provider should display the text as ca 1`] = ` - No data + +
+
+ + + + + + + +
+

Sense dades

+ +
@@ -2166,7 +2205,20 @@ exports[`Locale Provider should display the text as cs 1`] = ` - No data + +
+
+ + + + + + + +
+

Žádná data

+ +
@@ -2712,7 +2764,20 @@ exports[`Locale Provider should display the text as da 1`] = ` - No data + +
+
+ + + + + + + +
+

Ingen data

+ +
@@ -3258,7 +3323,20 @@ exports[`Locale Provider should display the text as de 1`] = ` - No data + +
+
+ + + + + + + +
+

Keine Daten

+ +
@@ -3804,7 +3882,20 @@ exports[`Locale Provider should display the text as el 1`] = ` - No data + +
+
+ + + + + + + +
+

Δεν υπάρχουν δεδομένα

+ +
@@ -4350,7 +4441,20 @@ exports[`Locale Provider should display the text as en 1`] = ` - No data + +
+
+ + + + + + + +
+

No Data

+ +
@@ -4896,7 +5000,20 @@ exports[`Locale Provider should display the text as en-gb 1`] = ` - No data + +
+
+ + + + + + + +
+

No data

+ +
@@ -5442,7 +5559,20 @@ exports[`Locale Provider should display the text as es 1`] = ` - Sin datos + +
+
+ + + + + + + +
+

No hay datos

+ +
@@ -5988,7 +6118,20 @@ exports[`Locale Provider should display the text as et 1`] = ` - No data + +
+
+ + + + + + + +
+

Andmed puuduvad

+ +
@@ -6534,7 +6677,20 @@ exports[`Locale Provider should display the text as fa 1`] = ` - بدون داده + +
+
+ + + + + + + +
+

داده‌ای موجود نیست

+ +
@@ -7080,7 +7236,20 @@ exports[`Locale Provider should display the text as fi 1`] = ` - No data + +
+
+ + + + + + + +
+

Ei kohteita

+ +
@@ -7626,7 +7795,20 @@ exports[`Locale Provider should display the text as fr 1`] = ` - No data + +
+
+ + + + + + + +
+

Aucune donnée

+ +
@@ -8172,7 +8354,20 @@ exports[`Locale Provider should display the text as fr 2`] = ` - Aucune donnée + +
+
+ + + + + + + +
+

Aucune donnée

+ +
@@ -8718,7 +8913,20 @@ exports[`Locale Provider should display the text as he 1`] = ` - No data + +
+
+ + + + + + + +
+

אין מידע

+ +
@@ -9264,7 +9472,20 @@ exports[`Locale Provider should display the text as hi 1`] = ` - कोई जानकारी नहीं + +
+
+ + + + + + + +
+

कोई आकड़ा उपलब्ध नहीं है

+ +
@@ -9810,7 +10031,20 @@ exports[`Locale Provider should display the text as hr 1`] = ` - Nema podataka + +
+
+ + + + + + + +
+

Nema podataka

+ +
@@ -10356,7 +10590,20 @@ exports[`Locale Provider should display the text as hu 1`] = ` - No data + +
+
+ + + + + + + +
+

Nincs adat

+ +
@@ -10902,7 +11149,20 @@ exports[`Locale Provider should display the text as hy-am 1`] = ` - No data + +
+
+ + + + + + + +
+

Տվյալներ չկան

+ +
@@ -11448,7 +11708,20 @@ exports[`Locale Provider should display the text as id 1`] = ` - No data + +
+
+ + + + + + + +
+

Tidak ada data

+ +
@@ -11994,7 +12267,20 @@ exports[`Locale Provider should display the text as is 1`] = ` - No data + +
+
+ + + + + + + +
+

Engin gögn

+ +
@@ -12540,7 +12826,20 @@ exports[`Locale Provider should display the text as it 1`] = ` - No data + +
+
+ + + + + + + +
+

Nessun dato

+ +
@@ -13086,7 +13385,20 @@ exports[`Locale Provider should display the text as ja 1`] = ` - No data + +
+
+ + + + + + + +
+

データがありません

+ +
@@ -13632,7 +13944,20 @@ exports[`Locale Provider should display the text as kn 1`] = ` - ಮಾಹಿತಿ ಇಲ್ಲ + +
+
+ + + + + + + +
+

No Data

+ +
@@ -14178,7 +14503,20 @@ exports[`Locale Provider should display the text as ko 1`] = ` - 데이터 없음 + +
+
+ + + + + + + +
+

데이터 없음

+ +
@@ -14724,7 +15062,20 @@ exports[`Locale Provider should display the text as ku-iq 1`] = ` - No data + +
+
+ + + + + + + +
+

Agahî tune

+ +
@@ -15270,7 +15621,20 @@ exports[`Locale Provider should display the text as lv 1`] = ` - No data + +
+
+ + + + + + + +
+

Nav datu

+ +
@@ -15816,7 +16180,20 @@ exports[`Locale Provider should display the text as mk 1`] = ` - No data + +
+
+ + + + + + + +
+

Нема податоци

+ +
@@ -16362,7 +16739,20 @@ exports[`Locale Provider should display the text as mn-mn 1`] = ` - No data + +
+
+ + + + + + + +
+

Мэдээлэл байхгүй байна

+ +
@@ -16908,7 +17298,20 @@ exports[`Locale Provider should display the text as ms-my 1`] = ` - Tiada data + +
+
+ + + + + + + +
+

Tiada data

+ +
@@ -17454,7 +17857,20 @@ exports[`Locale Provider should display the text as nb 1`] = ` - No data + +
+
+ + + + + + + +
+

Ingen data

+ +
@@ -18000,7 +18416,20 @@ exports[`Locale Provider should display the text as ne-np 1`] = ` - No data + +
+
+ + + + + + + +
+

डाटा छैन

+ +
@@ -18546,7 +18975,20 @@ exports[`Locale Provider should display the text as nl 1`] = ` - Geen data + +
+
+ + + + + + + +
+

Geen gegevens

+ +
@@ -19092,7 +19534,20 @@ exports[`Locale Provider should display the text as nl-be 1`] = ` - Geen data + +
+
+ + + + + + + +
+

Geen gegevens

+ +
@@ -19638,7 +20093,20 @@ exports[`Locale Provider should display the text as pl 1`] = ` - No data + +
+
+ + + + + + + +
+

Brak danych

+ +
@@ -20184,7 +20652,20 @@ exports[`Locale Provider should display the text as pt 1`] = ` - No data + +
+
+ + + + + + + +
+

Sem resultados

+ +
@@ -20730,7 +21211,20 @@ exports[`Locale Provider should display the text as pt-br 1`] = ` - Sem conteúdo + +
+
+ + + + + + + +
+

Não há dados

+ +
@@ -21276,7 +21770,20 @@ exports[`Locale Provider should display the text as ro 1`] = ` - Nu există date + +
+
+ + + + + + + +
+

Fără date

+ +
@@ -21822,7 +22329,20 @@ exports[`Locale Provider should display the text as ru 1`] = ` - Нет данных + +
+
+ + + + + + + +
+

Нет данных

+ +
@@ -22368,7 +22888,20 @@ exports[`Locale Provider should display the text as sk 1`] = ` - No data + +
+
+ + + + + + + +
+

Žiadne dáta

+ +
@@ -22914,7 +23447,20 @@ exports[`Locale Provider should display the text as sl 1`] = ` - No data + +
+
+ + + + + + + +
+

Ni podatkov

+ +
@@ -23460,7 +24006,20 @@ exports[`Locale Provider should display the text as sr 1`] = ` - Nema podataka + +
+
+ + + + + + + +
+

Nema podataka

+ +
@@ -24006,7 +24565,20 @@ exports[`Locale Provider should display the text as sv 1`] = ` - Ingen data + +
+
+ + + + + + + +
+

Ingen data

+ +
@@ -24552,7 +25124,20 @@ exports[`Locale Provider should display the text as ta 1`] = ` - தகவல் இல்லை + +
+
+ + + + + + + +
+

தகவல் இல்லை

+ +
@@ -25098,7 +25683,20 @@ exports[`Locale Provider should display the text as th 1`] = ` - ไม่มีข้อมูล + +
+
+ + + + + + + +
+

ไม่มีข้อมูล

+ +
@@ -25644,7 +26242,20 @@ exports[`Locale Provider should display the text as tr 1`] = ` - No data + +
+
+ + + + + + + +
+

Veri Yok

+ +
@@ -26190,7 +26801,20 @@ exports[`Locale Provider should display the text as uk 1`] = ` - No data + +
+
+ + + + + + + +
+

Даних немає

+ +
@@ -26736,7 +27360,20 @@ exports[`Locale Provider should display the text as vi 1`] = ` - No data + +
+
+ + + + + + + +
+

Trống

+ +
@@ -27282,7 +27919,20 @@ exports[`Locale Provider should display the text as zh-cn 1`] = ` - No data + +
+
+ + + + + + + +
+

暂无数据

+ +
@@ -27828,7 +28478,20 @@ exports[`Locale Provider should display the text as zh-tw 1`] = ` - No data + +
+
+ + + + + + + +
+

無此資料

+ +
diff --git a/components/table/__tests__/__snapshots__/empty.test.js.snap b/components/table/__tests__/__snapshots__/empty.test.js.snap index 851d08f9e..dc36da25a 100644 --- a/components/table/__tests__/__snapshots__/empty.test.js.snap +++ b/components/table/__tests__/__snapshots__/empty.test.js.snap @@ -43,7 +43,20 @@ exports[`Table renders empty table 1`] = ` - No data + +
+
+ + + + + + + +
+

No Data

+ +
@@ -180,7 +193,20 @@ exports[`Table renders empty table with fixed columns 1`] = ` - No data + +
+
+ + + + + + + +
+

No Data

+ +
@@ -242,7 +268,20 @@ exports[`Table renders empty table without emptyText when loading 1`] = ` - No data + +
+
+ + + + + + + +
+

No Data

+ +