From 0ff10e170ab636a541f1be5439ed6f3ff8bbd3d7 Mon Sep 17 00:00:00 2001 From: mengxiong10 <15623530290@163.com> Date: Mon, 11 Nov 2019 11:16:09 +0800 Subject: [PATCH] test: fix snapshot inconsistency due to time zone --- .../__snapshots__/time-panel.test.js.snap | 320 +++++++++--------- .../__snapshots__/time-range.test.js.snap | 62 ++-- __test__/calendar-panel.test.js | 2 +- __test__/time-panel.test.js | 8 +- __test__/time-range.test.js | 5 +- src/time/list-columns.vue | 10 +- 6 files changed, 209 insertions(+), 198 deletions(-) diff --git a/__test__/__snapshots__/time-panel.test.js.snap b/__test__/__snapshots__/time-panel.test.js.snap index cb76f66..8d9cba5 100644 --- a/__test__/__snapshots__/time-panel.test.js.snap +++ b/__test__/__snapshots__/time-panel.test.js.snap @@ -77,7 +77,7 @@ exports[`TimePanel render: correct 12hours in the fixed time list 1`] = `
  • 12:30 PM @@ -203,11 +203,12 @@ exports[`TimePanel render: correct classes of the columns 1`] = ` style="overflow: hidden scroll; height: 100%; margin-right: -0px;" >