All files

84.21% Statements 176/209
78.57% Branches 143/182
77.78% Functions 14/18
84.47% Lines 174/206
File Statements Branches Functions Lines
associate-current-user.js
94.74% 18/19 92.86% 13/14 100% 2/2 94.74% 18/19
has-role-or-restrict.js
75% 54/72 71.88% 46/64 62.5% 5/8 74.65% 53/71
index.js
100% 7/7 100% 0/0 100% 0/0 100% 7/7
query-with-current-user.js
88.89% 16/18 85.71% 12/14 100% 1/1 88.89% 16/18
restrict-to-authenticated.js
100% 9/9 80% 8/10 100% 1/1 100% 9/9
restrict-to-owner.js
78.95% 30/38 68.42% 26/38 66.67% 2/3 81.08% 30/37
restrict-to-roles.js
91.3% 42/46 90.48% 38/42 100% 3/3 91.11% 41/45