chore: update GH's template and prettier config (#309)

* chore(gh): update GitHub's pull-request template

* chore: use unified common prettier config

* chore: add the mdx file to prettier

* chore(gh): update contributing guide docs
This commit is contained in:
witt
2020-07-02 21:59:29 +08:00
committed by GitHub
parent eaada29cac
commit 34b26223f8
133 changed files with 2549 additions and 2067 deletions

View File

@@ -35,7 +35,7 @@ describe(' User', () => {
it('should pass alt attribute', () => {
const wrapper = mount(
<User name="witt" src="https://unix.bio/assets/avatar.png" altText="witt"/>
<User name="witt" src="https://unix.bio/assets/avatar.png" altText="witt" />,
)
expect(wrapper.find('img').prop('alt')).toEqual('witt')
})