From 6ccaa4f02f515ad425f0388f33f1688a94e7e47b Mon Sep 17 00:00:00 2001 From: lijinke666 Date: Tue, 31 Oct 2023 16:25:42 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0=20react=20=E5=BF=AB?= =?UTF-8?q?=E7=85=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/s2-react/__tests__/setup.js | 2 - .../__snapshots__/pagination-spec.tsx.snap | 160 ------------------ 2 files changed, 162 deletions(-) diff --git a/packages/s2-react/__tests__/setup.js b/packages/s2-react/__tests__/setup.js index 0b34baa102..59b30afea7 100644 --- a/packages/s2-react/__tests__/setup.js +++ b/packages/s2-react/__tests__/setup.js @@ -3,14 +3,12 @@ import React from 'react'; import ReactDOM from 'react-dom'; import { version as antdVersion } from 'antd'; -import { version as s2Version } from '@antv/s2'; console.log(`================== [S2 REACT TEST ENV] ====================`); console.table({ react: React.version, 'react-dom': ReactDOM.version, antd: antdVersion, - s2: s2Version, }); console.log(`====================================================`); diff --git a/packages/s2-react/__tests__/spreadsheet/__snapshots__/pagination-spec.tsx.snap b/packages/s2-react/__tests__/spreadsheet/__snapshots__/pagination-spec.tsx.snap index 01575eeeb4..6a8ab9c72e 100644 --- a/packages/s2-react/__tests__/spreadsheet/__snapshots__/pagination-spec.tsx.snap +++ b/packages/s2-react/__tests__/spreadsheet/__snapshots__/pagination-spec.tsx.snap @@ -120,166 +120,6 @@ exports[`Pagination Tests should receive antd component extra prop `; exports[`Pagination Tests should render locale text for { locale: 'en_US', page: '1 / page', count: 'Total2' } 1`] = ` -
-
    -
  • - -
  • -
  • - - 1 - -
  • -
  • - -
  • -
  • -
    -
    - - - - - 1 / page - -
    - -
    -
  • -
- - Total - - - -
-`; - -exports[`Pagination Tests should render locale text for { locale: 'en_US', page: '1 / page', count: 'Total2' } 2`] = `