From 98a59074d3efb3a058f2e40d77c89b83dd90f691 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sun, 23 Feb 2020 10:11:00 +0800 Subject: [PATCH] test: update statistic test --- build/config.js | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 14 +++++++------- components/statistic/__tests__/index.test.js | 11 +++++++++++ components/statistic/demo/countdown.md | 2 +- components/statistic/utils.js | 17 ++++++++++++++--- 5 files changed, 34 insertions(+), 12 deletions(-) diff --git a/build/config.js b/build/config.js index db593c9a1..a7602110d 100644 --- a/build/config.js +++ b/build/config.js @@ -1,5 +1,5 @@ module.exports = { dev: { - componentName: 'skeleton', // dev components + componentName: 'statistic', // dev components }, }; diff --git a/components/statistic/__tests__/__snapshots__/demo.test.js.snap b/components/statistic/__tests__/__snapshots__/demo.test.js.snap index 42acdc5d0..2168fd38f 100644 --- a/components/statistic/__tests__/__snapshots__/demo.test.js.snap +++ b/components/statistic/__tests__/__snapshots__/demo.test.js.snap @@ -16,7 +16,7 @@ exports[`renders ./components/statistic/demo/basic.md correctly 1`] = ` exports[`renders ./components/statistic/demo/card.md correctly 1`] = `