Skip to content
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

test: fix jest with less import #24900

Merged
merged 1 commit into from Jun 11, 2020
Merged

test: fix jest with less import #24900

merged 1 commit into from Jun 11, 2020

Conversation

nanxiaobei
Copy link
Contributor

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

nanxiaobei/antd-img-crop#46

💡 Background and solution

jestjs/jest#3094

https://jestjs.io/docs/en/webpack#mocking-css-modules

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Jun 10, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Jun 10, 2020

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 6313ed6:

Sandbox Source
antd reproduction template Configuration

@codecov
Copy link

codecov bot commented Jun 10, 2020

Codecov Report

Merging #24900 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #24900   +/-   ##
=======================================
  Coverage   99.31%   99.31%           
=======================================
  Files         365      365           
  Lines        7301     7301           
  Branches     2032     1991   -41     
=======================================
  Hits         7251     7251           
  Misses         50       50           
Impacted Files Coverage Δ
components/config-provider/context.tsx 100.00% <ø> (ø)
components/select/index.tsx 97.61% <ø> (ø)
components/auto-complete/index.tsx 100.00% <100.00%> (ø)
components/input/Group.tsx 100.00% <100.00%> (ø)
components/modal/useModal/HookModal.tsx 100.00% <100.00%> (ø)
components/typography/Typography.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8af5e65...6313ed6. Read the comment docs.

@afc163 afc163 merged commit 1f04f78 into ant-design:master Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants