-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: 修复数据导出时列头被格式化 close #2688 #2694
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Size Change: +57 B (0%) Total Size: 320 kB
ℹ️ View Unchanged
|
你好, @lijinke666 CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复。 Hello, @lijinke666 CI run failed, please click the [Details] button for detailed log information and fix it. |
@@ -31,38 +33,28 @@ describe('PivotSheet Export Test', () => { | |||
meta: [], | |||
fields: { | |||
valueInCols: true, | |||
columns: ['province', 'city', 'type', 'sub_type', 'number'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
很多单测是错的, 可能之前复制粘贴的, 透视表但是跑的是明细表的用例
@@ -387,4 +384,47 @@ describe('TableSheet Export Test', () => { | |||
expect(data.split(NewLine)).toMatchSnapshot(); | |||
}, | |||
); | |||
|
|||
it('should not apply formatter for col header by { formatHeader: false, formatData: true }', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
增加各种场景的用例
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #2694 +/- ##
==========================================
+ Coverage 75.77% 80.05% +4.28%
==========================================
Files 257 176 -81
Lines 11994 10090 -1904
Branches 2464 2312 -152
==========================================
- Hits 9088 8078 -1010
+ Misses 1398 620 -778
+ Partials 1508 1392 -116 ☔ View full report in Codecov by Sentry. |
🎉 This PR is included in version @antv/s2-v2.0.0-next.19 🎉 The release is available on: Your semantic-release bot 📦🚀 |
👀 PR includes
🐛 Bugfix
📝 Description
🖼️ Screenshot
🔗 Related issue link
🔍 Self-Check before the merge