From 96ffa9f1817de6c9197b49d4b5fd4d9a65e70973 Mon Sep 17 00:00:00 2001 From: lijinke666 Date: Mon, 22 Jan 2024 11:28:00 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0=E5=8D=95=E6=B5=8B?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/s2-core/__tests__/spreadsheet/hidden-columns-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/s2-core/__tests__/spreadsheet/hidden-columns-spec.ts b/packages/s2-core/__tests__/spreadsheet/hidden-columns-spec.ts index 2a07d364c8..7dc973370c 100644 --- a/packages/s2-core/__tests__/spreadsheet/hidden-columns-spec.ts +++ b/packages/s2-core/__tests__/spreadsheet/hidden-columns-spec.ts @@ -154,7 +154,7 @@ describe('SpreadSheet Hidden Columns Tests', () => { }); // https://github.com/antvis/S2/issues/2495 - test('should overwrite latest hidden columns detail', () => { + test('should reset latest hidden columns detail when hiddenColumnFields changed', () => { const hiddenColumns = ['province', 'city']; const sheet = new TableSheet(getContainer(), mockTableDataConfig, { ...s2Options,