walmartlabs / little-loader

A lightweight, IE8+ JavaScript loader
MIT License
370 stars 28 forks source link

Chore: Code Coverage #12

Closed ryan-roemer closed 8 years ago

ryan-roemer commented 8 years ago

Fixes #2

Implements client-side code coverage abstraction in a "parallel test / magellan"-friendly manner.

This code could be possibly abstracted / refactored better in the future, but works pretty easily with what we've got. And it's great to see that "all the OS / browser test coverage info" all together.

/cc @geekdave @Maciek416 @exogen

... and for npm run test-func-sauce, here's our test coverage summary:

=============================== Coverage summary ===============================
Statements   : 100% ( 36/36 )
Branches     : 94.44% ( 17/18 )
Functions    : 100% ( 4/4 )
Lines        : 100% ( 36/36 )
================================================================================
geekdave commented 8 years ago

LGTM! :+1: