From abfee18ed44cccf2a4902dbd3786563a93d965c9 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Thu, 16 Jun 2022 11:16:11 +0800 Subject: [PATCH] test: fix lint --- components/statistic/__tests__/index.test.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/statistic/__tests__/index.test.tsx b/components/statistic/__tests__/index.test.tsx index af69a22b3f..bc42ed53ac 100644 --- a/components/statistic/__tests__/index.test.tsx +++ b/components/statistic/__tests__/index.test.tsx @@ -84,7 +84,13 @@ describe('Statistic', () => { describe('Countdown', () => { it('render correctly', () => { - const now = dayjs().add(2, 'd').add(11, 'h').add(28, 'm').add(9, 's').add(3, 'ms'); + const now = dayjs() + .add(2, 'd') + .add(11, 'h') + .add(28, 'm') + .add(9, 's') + .add(3, 'ms') + .toISOString(); [ ['H:m:s', '59:28:9'], ['HH:mm:ss', '59:28:09'],