From 114fdd93336a03d9602d90d2705ecc7d8bd5db42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=97=E4=BD=A0=E6=98=AF=E5=B0=8F=E7=8C=AB=E5=92=AA?= Date: Thu, 5 Dec 2019 16:15:10 +0800 Subject: [PATCH] fix: upgrade rc-tooltip lint fail (#19408) * fix: upgrade rc-tooltip lint fail * fix tooltip typescript type * rebase and update snapshots * update tests * change trigger mock export * upgrade rc-trigger * fix type error * upgrade dependencies * update snapshots * upgrade rc-calendar and test use sleep * update snapshots * fix test fail * update snapshots --- .../__snapshots__/index.test.js.snap | 1497 ++++++++--------- .../__snapshots__/components.test.js.snap | 75 +- .../__snapshots__/DatePicker.test.js.snap | 8 +- .../__snapshots__/RangePicker.test.js.snap | 6 +- .../__snapshots__/WeekPicker.test.js.snap | 3 +- .../__snapshots__/other.test.js.snap | 6 +- .../__snapshots__/pagination.test.js.snap | 5 +- .../__snapshots__/index.test.js.snap | 1197 ++++++------- components/menu/__tests__/index.test.js | 7 +- components/popconfirm/__tests__/index.test.js | 6 +- components/popover/__tests__/index.test.js | 4 +- components/popover/index.tsx | 4 +- .../__tests__/__snapshots__/demo.test.js.snap | 3 +- .../__snapshots__/index.test.js.snap | 5 +- .../table/__tests__/Table.filter.test.js | 10 +- .../__snapshots__/Table.filter.test.js.snap | 19 +- .../Table.rowSelection.test.js.snap | 3 +- .../__snapshots__/index.test.js.snap | 5 +- components/tooltip/index.tsx | 11 +- components/tooltip/placements.tsx | 7 +- package.json | 6 +- tests/__mocks__/rc-trigger.js | 6 +- typings/custom-typings.d.ts | 2 - 23 files changed, 1320 insertions(+), 1575 deletions(-) diff --git a/components/cascader/__tests__/__snapshots__/index.test.js.snap b/components/cascader/__tests__/__snapshots__/index.test.js.snap index 6bbec99ac0..ad944598da 100644 --- a/components/cascader/__tests__/__snapshots__/index.test.js.snap +++ b/components/cascader/__tests__/__snapshots__/index.test.js.snap @@ -3,7 +3,8 @@ exports[`Cascader can be selected 1`] = `
        +
        +
        - - + +
      `; diff --git a/components/config-provider/__tests__/__snapshots__/components.test.js.snap b/components/config-provider/__tests__/__snapshots__/components.test.js.snap index 09312d352f..7cebed6258 100644 --- a/components/config-provider/__tests__/__snapshots__/components.test.js.snap +++ b/components/config-provider/__tests__/__snapshots__/components.test.js.snap @@ -9132,7 +9132,8 @@ exports[`ConfigProvider components Popconfirm configProvider 1`] = `