Assertions not being counted as covered in Dart

Description

Assertions are not being counted as covered code.

Repository

CI/CD

https://travis-ci.com/aagarwal1012/Animated-Text-Kit

Example

See some examples:

Uploader

https://github.com/aagarwal1012/Animated-Text-Kit/blob/master/.travis.yml#L33

Additional Information

I stumbled across this old issue, but it has been resolved for years:

And I also found this:

@awhitford, if you take a look at the raw coverage uploaded to Codecov in the Build tab, you’ll see that all of the reports show those lines as no covered

image

I’m not sure why this is the case for collecting coverage in dart.