diff --git a/packages/s2-core/__tests__/unit/utils/export/export-pivot-spec.ts b/packages/s2-core/__tests__/unit/utils/export/export-pivot-spec.ts index 8361ae3c95..292fdd4464 100644 --- a/packages/s2-core/__tests__/unit/utils/export/export-pivot-spec.ts +++ b/packages/s2-core/__tests__/unit/utils/export/export-pivot-spec.ts @@ -54,7 +54,7 @@ describe('PivotSheet Export Test', () => { sheetInstance: s2, split: TAB_SEPARATOR, formatOptions: true, - async: true, + async: false, }); expect(syncData).toMatchSnapshot(); @@ -63,7 +63,7 @@ describe('PivotSheet Export Test', () => { sheetInstance: s2, split: TAB_SEPARATOR, formatOptions: true, - async: false, + async: true, }); expect(asyncData).toMatchSnapshot();