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

fix Notification getContainer config bug #6099

Merged
merged 1 commit into from
May 13, 2017
Merged

Conversation

hardfist
Copy link
Contributor

@hardfist hardfist commented May 11, 2017

Change-Id: I8eb84c640bb75c7e3b7c9c35b3105ca147888d54

First of all, thanks for your contribution! :-)

Please makes sure these boxes are checked before submitting your PR, thank you!

  • Make sure you propose PR to correct branch: bugfix for master, feature for latest active branch feature-x.x.
  • Make sure you follow antd's code convention.
  • Run npm run lint and fix those errors before submitting in order to keep consistent code style.
  • Rebase before creating a PR to keep commit history clear.
  • Add some descriptions and refer relative issues for you PR.

Change-Id: I8eb84c640bb75c7e3b7c9c35b3105ca147888d54
@mention-bot
Copy link

@hardfist, thanks for your PR! By analyzing the history of the files in this pull request, we identified @yiminghe, @zhujun24 and @ddcat1115 to be potential reviewers.

@hardfist
Copy link
Contributor Author

fix issue #6036

@codecov
Copy link

codecov bot commented May 11, 2017

Codecov Report

Merging #6099 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6099      +/-   ##
==========================================
+ Coverage   83.55%   83.56%   +0.01%     
==========================================
  Files         199      199              
  Lines        4689     4692       +3     
  Branches     1354     1355       +1     
==========================================
+ Hits         3918     3921       +3     
  Misses        771      771
Impacted Files Coverage Δ
components/notification/index.tsx 96.93% <100%> (+0.09%) ⬆️

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 a081100...73c464d. Read the comment docs.

return $container;
},
});
expect($container.querySelector('.ant-notification')).not.toBe(null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand, I think you should open a new notification before expect

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But CI passed... Why?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I make a mistake..

@yesmeck yesmeck merged commit da935ec into ant-design:master May 13, 2017
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

5 participants