Skip to content

Commit 6b8a069

Browse files
committed
Refactor retryparticipantadd to utils, working addparticipantstoconversation test but twilio client still called
1 parent 8f28483 commit 6b8a069

30 files changed

+3399
-35
lines changed

coverage/clover.xml

Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<coverage generated="1658779126267" clover="3.2.0">
3+
<project timestamp="1658779126268" name="All files">
4+
<metrics statements="119" coveredstatements="59" conditionals="12" coveredconditionals="5" methods="15" coveredmethods="7" elements="146" coveredelements="71" complexity="0" loc="119" ncloc="119" packages="5" files="9" classes="9"/>
5+
<package name="src">
6+
<metrics statements="10" coveredstatements="7" conditionals="5" coveredconditionals="3" methods="0" coveredmethods="0"/>
7+
<file name="twilioClient.ts" path="/Users/cweems/workspace/masked-comms-app/src/twilioClient.ts">
8+
<metrics statements="10" coveredstatements="7" conditionals="5" coveredconditionals="3" methods="0" coveredmethods="0"/>
9+
<line num="1" count="3" type="stmt"/>
10+
<line num="6" count="3" type="cond" truecount="1" falsecount="1"/>
11+
<line num="7" count="3" type="stmt"/>
12+
<line num="8" count="3" type="stmt"/>
13+
<line num="10" count="0" type="stmt"/>
14+
<line num="11" count="0" type="stmt"/>
15+
<line num="15" count="3" type="cond" truecount="2" falsecount="1"/>
16+
<line num="16" count="0" type="stmt"/>
17+
<line num="21" count="3" type="stmt"/>
18+
<line num="26" count="3" type="stmt"/>
19+
</file>
20+
</package>
21+
<package name="src.config">
22+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
23+
<file name="retry.config.ts" path="/Users/cweems/workspace/masked-comms-app/src/config/retry.config.ts">
24+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
25+
<line num="1" count="2" type="stmt"/>
26+
</file>
27+
</package>
28+
<package name="src.services">
29+
<metrics statements="53" coveredstatements="23" conditionals="2" coveredconditionals="0" methods="7" coveredmethods="5"/>
30+
<file name="session.service.ts" path="/Users/cweems/workspace/masked-comms-app/src/services/session.service.ts">
31+
<metrics statements="53" coveredstatements="23" conditionals="2" coveredconditionals="0" methods="7" coveredmethods="5"/>
32+
<line num="3" count="1" type="stmt"/>
33+
<line num="5" count="1" type="stmt"/>
34+
<line num="6" count="2" type="stmt"/>
35+
<line num="8" count="2" type="stmt"/>
36+
<line num="9" count="4" type="stmt"/>
37+
<line num="11" count="4" type="stmt"/>
38+
<line num="12" count="4" type="stmt"/>
39+
<line num="15" count="4" type="stmt"/>
40+
<line num="18" count="2" type="stmt"/>
41+
<line num="19" count="2" type="stmt"/>
42+
<line num="20" count="2" type="stmt"/>
43+
<line num="22" count="0" type="stmt"/>
44+
<line num="23" count="0" type="stmt"/>
45+
<line num="27" count="1" type="stmt"/>
46+
<line num="28" count="1" type="stmt"/>
47+
<line num="29" count="1" type="stmt"/>
48+
<line num="31" count="1" type="stmt"/>
49+
<line num="33" count="1" type="stmt"/>
50+
<line num="35" count="2" type="stmt"/>
51+
<line num="36" count="8" type="stmt"/>
52+
<line num="39" count="2" type="cond" truecount="0" falsecount="1"/>
53+
<line num="40" count="0" type="stmt"/>
54+
<line num="43" count="2" type="stmt"/>
55+
<line num="46" count="1" type="stmt"/>
56+
<line num="48" count="0" type="stmt"/>
57+
<line num="49" count="0" type="stmt"/>
58+
<line num="53" count="1" type="stmt"/>
59+
<line num="54" count="0" type="stmt"/>
60+
<line num="55" count="0" type="stmt"/>
61+
<line num="56" count="0" type="stmt"/>
62+
<line num="57" count="0" type="stmt"/>
63+
<line num="62" count="0" type="stmt"/>
64+
<line num="65" count="0" type="cond" truecount="0" falsecount="1"/>
65+
<line num="66" count="0" type="stmt"/>
66+
<line num="67" count="0" type="stmt"/>
67+
<line num="69" count="0" type="stmt"/>
68+
<line num="70" count="0" type="stmt"/>
69+
<line num="74" count="0" type="stmt"/>
70+
<line num="76" count="0" type="stmt"/>
71+
<line num="77" count="0" type="stmt"/>
72+
<line num="81" count="1" type="stmt"/>
73+
<line num="82" count="0" type="stmt"/>
74+
<line num="84" count="0" type="stmt"/>
75+
<line num="86" count="0" type="stmt"/>
76+
<line num="87" count="0" type="stmt"/>
77+
<line num="88" count="0" type="stmt"/>
78+
<line num="90" count="0" type="stmt"/>
79+
<line num="91" count="0" type="stmt"/>
80+
<line num="95" count="0" type="stmt"/>
81+
<line num="96" count="0" type="stmt"/>
82+
<line num="97" count="0" type="stmt"/>
83+
<line num="99" count="0" type="stmt"/>
84+
<line num="100" count="0" type="stmt"/>
85+
</file>
86+
</package>
87+
<package name="src.utils">
88+
<metrics statements="54" coveredstatements="27" conditionals="5" coveredconditionals="2" methods="8" coveredmethods="2"/>
89+
<file name="addParticipant.util.ts" path="/Users/cweems/workspace/masked-comms-app/src/utils/addParticipant.util.ts">
90+
<metrics statements="12" coveredstatements="3" conditionals="1" coveredconditionals="0" methods="2" coveredmethods="0"/>
91+
<line num="1" count="2" type="stmt"/>
92+
<line num="2" count="2" type="stmt"/>
93+
<line num="5" count="2" type="stmt"/>
94+
<line num="9" count="0" type="stmt"/>
95+
<line num="10" count="0" type="stmt"/>
96+
<line num="11" count="0" type="stmt"/>
97+
<line num="16" count="0" type="stmt"/>
98+
<line num="18" count="0" type="cond" truecount="0" falsecount="1"/>
99+
<line num="19" count="0" type="stmt"/>
100+
<line num="20" count="0" type="stmt"/>
101+
<line num="23" count="0" type="stmt"/>
102+
<line num="24" count="0" type="stmt"/>
103+
</file>
104+
<file name="createConversation.util.ts" path="/Users/cweems/workspace/masked-comms-app/src/utils/createConversation.util.ts">
105+
<metrics statements="14" coveredstatements="14" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
106+
<line num="3" count="2" type="stmt"/>
107+
<line num="5" count="2" type="stmt"/>
108+
<line num="6" count="2" type="stmt"/>
109+
<line num="9" count="2" type="cond" truecount="1" falsecount="0"/>
110+
<line num="10" count="3" type="stmt"/>
111+
<line num="11" count="3" type="stmt"/>
112+
<line num="12" count="3" type="stmt"/>
113+
<line num="14" count="2" type="cond" truecount="1" falsecount="0"/>
114+
<line num="15" count="1" type="stmt"/>
115+
<line num="16" count="1" type="stmt"/>
116+
<line num="17" count="1" type="stmt"/>
117+
<line num="18" count="1" type="stmt"/>
118+
<line num="21" count="1" type="stmt"/>
119+
<line num="22" count="1" type="stmt"/>
120+
</file>
121+
<file name="deleteConversation.util.ts" path="/Users/cweems/workspace/masked-comms-app/src/utils/deleteConversation.util.ts">
122+
<metrics statements="12" coveredstatements="3" conditionals="1" coveredconditionals="0" methods="2" coveredmethods="0"/>
123+
<line num="1" count="2" type="stmt"/>
124+
<line num="3" count="2" type="stmt"/>
125+
<line num="5" count="2" type="stmt"/>
126+
<line num="6" count="0" type="stmt"/>
127+
<line num="7" count="0" type="stmt"/>
128+
<line num="8" count="0" type="stmt"/>
129+
<line num="9" count="0" type="stmt"/>
130+
<line num="11" count="0" type="cond" truecount="0" falsecount="1"/>
131+
<line num="12" count="0" type="stmt"/>
132+
<line num="13" count="0" type="stmt"/>
133+
<line num="16" count="0" type="stmt"/>
134+
<line num="17" count="0" type="stmt"/>
135+
</file>
136+
<file name="index.ts" path="/Users/cweems/workspace/masked-comms-app/src/utils/index.ts">
137+
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
138+
<line num="1" count="2" type="stmt"/>
139+
<line num="2" count="2" type="stmt"/>
140+
<line num="3" count="2" type="stmt"/>
141+
<line num="4" count="2" type="stmt"/>
142+
</file>
143+
<file name="listParticipantConversations.util.ts" path="/Users/cweems/workspace/masked-comms-app/src/utils/listParticipantConversations.util.ts">
144+
<metrics statements="12" coveredstatements="3" conditionals="1" coveredconditionals="0" methods="2" coveredmethods="0"/>
145+
<line num="1" count="2" type="stmt"/>
146+
<line num="3" count="2" type="stmt"/>
147+
<line num="5" count="2" type="stmt"/>
148+
<line num="6" count="0" type="stmt"/>
149+
<line num="7" count="0" type="stmt"/>
150+
<line num="8" count="0" type="stmt"/>
151+
<line num="9" count="0" type="stmt"/>
152+
<line num="11" count="0" type="cond" truecount="0" falsecount="1"/>
153+
<line num="12" count="0" type="stmt"/>
154+
<line num="13" count="0" type="stmt"/>
155+
<line num="16" count="0" type="stmt"/>
156+
<line num="17" count="0" type="stmt"/>
157+
</file>
158+
</package>
159+
<package name="tests.support">
160+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
161+
<file name="testSupport.ts" path="/Users/cweems/workspace/masked-comms-app/tests/support/testSupport.ts">
162+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
163+
<line num="1" count="1" type="stmt"/>
164+
</file>
165+
</package>
166+
</project>
167+
</coverage>

0 commit comments

Comments
 (0)