Write tests for plugins
Started tracking test coverage for plugins. Let's get it up to 50% or so for each plugin, at least.
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---|---|---|---|---|---|
All files | 26.13 | 16 | 21.05 | 26.27 | |
alt-fetch.js |
19.35 | 30 | 16.67 | 19.35 | 56-58,69-132 |
any-of.js |
55.56 | 100 | 25 | 55.56 | 35-39 |
cache.js |
15.91 | 0 | 8.33 | 15.91 | 26-41,56-92,111-129 |
fetch.js |
94.12 | 50 | 100 | 94.12 | 35 |
gun-ipfs.js |
26.35 | 17.74 | 16.67 | 26.51 | 48-50,64,81,99,104,110-114,128,138-239,274-293,321-349,360-378,389-426,443-465 |
ipns-ipfs.js |
18.69 | 15.63 | 15.79 | 18.87 | 40-42,54-56,85,100-168,202-223,251-281,296-320 |
Edited by Michał "rysiek" Woźniak