testing-library / vue-testing-library

🦎 Simple and complete Vue.js testing utilities that encourage good testing practices.
http://testing-library.com/vue
MIT License
1.06k stars 110 forks source link

fix: add missed optional prop for emmited function #276

Closed thunderer199 closed 2 years ago

thunderer199 commented 2 years ago

Vue test utils allow to pass event name into emitted() to receive array of calls emitted().foo can be written as emitted('foo') You can see it here

codecov[bot] commented 2 years ago

Codecov Report

Merging #276 (10b8fb5) into main (20ceb25) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #276   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           78        78           
  Branches        28        27    -1     
=========================================
  Hits            78        78           
Impacted Files Coverage Δ
src/render.js 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 20ceb25...10b8fb5. Read the comment docs.

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 6.6.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: