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

feat(ShareSheet): add className option #6886

Merged
merged 6 commits into from Jul 28, 2020

Conversation

Andyliwr
Copy link
Contributor

van-share-sheet支持设置分享选项的类名

@codecov-commenter
Copy link

codecov-commenter commented Jul 27, 2020

Codecov Report

Merging #6886 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #6886   +/-   ##
=======================================
  Coverage   91.48%   91.48%           
=======================================
  Files         175      175           
  Lines        4720     4720           
  Branches      279      279           
=======================================
  Hits         4318     4318           
  Misses        368      368           
  Partials       34       34           
Impacted Files Coverage Δ
src/share-sheet/index.js 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 64bec01...dd53dfa. Read the comment docs.

@chenjiahan chenjiahan changed the title feat: van-share-sheet支持设置分享选项的类名 feat(ShareSheet): add className option Jul 27, 2020
wrapper.find('.van-share-sheet__option').element.className.indexOf('foo') >
-1
);
});
Copy link
Member

Choose a reason for hiding this comment

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

const option = wrapper.find('.van-share-sheet__option').element;
expect(option.className.includes('foo')).toBeTruthy();

@chenjiahan chenjiahan merged commit d922c2b into youzan:dev Jul 28, 2020
chenjiahan added a commit that referenced this pull request Jul 29, 2020
* feat: van-share-sheet支持设置分享选项的类名

* Update README.zh-CN.md

* Update README.md

* Update index.vue

* fix: 添加一些van-share-sheet测试用例

* fix: change van-share-sheet test code

Co-authored-by: neverland <416417567@163.com>
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