From 9d2c91598b42d8b4e15efe65a439fb2fe1d345e2 Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Fri, 15 Sep 2017 16:14:26 +0800 Subject: [PATCH 1/7] Mock rc-trigger Ref #5522 --- .../__tests__/__snapshots__/demo.test.js.snap | 452 ++--- .../__tests__/__snapshots__/demo.test.js.snap | 24 +- .../__tests__/__snapshots__/demo.test.js.snap | 352 ++-- .../__tests__/__snapshots__/demo.test.js.snap | 404 ++-- .../__tests__/__snapshots__/demo.test.js.snap | 826 ++++---- .../__tests__/__snapshots__/demo.test.js.snap | 274 +-- .../__tests__/__snapshots__/demo.test.js.snap | 776 ++++---- .../__tests__/__snapshots__/demo.test.js.snap | 40 +- .../__tests__/__snapshots__/demo.test.js.snap | 566 +++--- .../__tests__/__snapshots__/demo.test.js.snap | 864 +++++---- .../__tests__/__snapshots__/demo.test.js.snap | 354 ++-- .../__tests__/__snapshots__/demo.test.js.snap | 528 +++--- .../__tests__/__snapshots__/demo.test.js.snap | 46 +- .../__tests__/__snapshots__/demo.test.js.snap | 88 +- .../__tests__/__snapshots__/demo.test.js.snap | 252 ++- .../__tests__/__snapshots__/demo.test.js.snap | 318 ++-- .../__tests__/__snapshots__/demo.test.js.snap | 1120 +++++------ .../__tests__/__snapshots__/demo.test.js.snap | 440 +++-- .../__tests__/__snapshots__/demo.test.js.snap | 40 +- .../table/__tests__/Table.filter.test.js | 2 +- .../__snapshots__/Table.filter.test.js.snap | 12 +- .../Table.rowSelection.test.js.snap | 40 +- .../__tests__/__snapshots__/demo.test.js.snap | 146 +- .../__tests__/__snapshots__/demo.test.js.snap | 44 +- .../__tests__/__snapshots__/demo.test.js.snap | 304 +-- .../__tests__/__snapshots__/demo.test.js.snap | 226 ++- .../__snapshots__/tooltip.test.js.snap | 1676 +++++++++++++++++ components/tooltip/__tests__/tooltip.test.js | 94 +- .../__tests__/__snapshots__/demo.test.js.snap | 240 +-- .../__tests__/__snapshots__/demo.test.js.snap | 32 +- tests/__mocks__/rc-trigger.js | 17 + 31 files changed, 6762 insertions(+), 3835 deletions(-) create mode 100644 components/tooltip/__tests__/__snapshots__/tooltip.test.js.snap create mode 100644 tests/__mocks__/rc-trigger.js diff --git a/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap b/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap index 98b12c8423..68127ed519 100644 --- a/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap +++ b/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap @@ -2,121 +2,69 @@ exports[`renders ./components/auto-complete/demo/antd.md correctly 1`] = `