All files

82.71% Statements 177/214
76.6% Branches 144/188
73.68% Functions 14/19
83.33% Lines 175/210
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
84.31% 43/51 81.25% 39/48 75% 3/4 85.71% 42/49