Closed amtins closed 1 year ago
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π’ | Statements | 98.45% (+0.04% πΌ) |
445/452 |
π’ | Branches | 93.21% (+0.19% πΌ) |
206/221 |
π’ | Functions | 100% | 130/130 |
π’ | Lines | 99.31% (+0.01% πΌ) |
433/436 |
131 tests passing in 9 suites.
Report generated by π§ͺjest coverage report action from b01c8556fecd7294d474d248bb52b8fc52df2bc3
@defagos thanks for the review ππ½
:tada: This PR is included in version 1.0.0 :tada:
The release is available on:
npm package (@main dist-tag)
Your semantic-release bot :package::rocket:
Description
Resolves #38 by adding the
audioTrack
function to simplify audio track retrieval and selection. This function allows to:language
andkind
propertiesAlso, when selecting an audio track, if the
kind
property is not satisfied, the first audio track satisfying thelanguage
condition will be returned, orundefined
if no condition is satisfied.Changes made
player
componentaudioTrack
functiontypedefs
file to keep all typestrackSelector
type representing the track to be selected