From ad2ce589fe1a355bf776dbfe5706684549f955b7 Mon Sep 17 00:00:00 2001 From: ONLY-yours <1349021570@qq.com> Date: Wed, 23 Nov 2022 18:27:12 +0800 Subject: [PATCH] test: add more unit test --- .../__snapshots__/index.test.tsx.snap | 79 +++++++++++++++++++ components/tour/__tests__/index.test.tsx | 40 ++++++++++ components/tour/interface.ts | 15 +++- components/tour/panelRender.tsx | 4 +- 4 files changed, 133 insertions(+), 5 deletions(-) diff --git a/components/tour/__tests__/__snapshots__/index.test.tsx.snap b/components/tour/__tests__/__snapshots__/index.test.tsx.snap index 00d7865d661d..af0dcd11c725 100644 --- a/components/tour/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/tour/__tests__/__snapshots__/index.test.tsx.snap @@ -31,6 +31,85 @@ exports[`Tour basic 1`] = ` `; +exports[`Tour custom step pre btn & next btn className & style 1`] = ` +