@budibase/worker 2.3.11-alpha.0 → 2.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coverage/clover.xml +369 -384
- package/coverage/coverage-final.json +18 -18
- package/coverage/lcov-report/index.html +56 -56
- package/coverage/lcov-report/src/api/controllers/global/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/configs.ts.html +11 -11
- package/coverage/lcov-report/src/api/controllers/global/email.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/events.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/index.html +21 -21
- package/coverage/lcov-report/src/api/controllers/global/license.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/roles.ts.html +15 -15
- package/coverage/lcov-report/src/api/controllers/global/self.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/global/users.ts.html +6 -6
- package/coverage/lcov-report/src/api/controllers/global/workspaces.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/environment.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/restore.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/status.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/system/tenants.ts.html +1 -1
- package/coverage/lcov-report/src/api/index.html +1 -1
- package/coverage/lcov-report/src/api/index.ts.html +6 -6
- package/coverage/lcov-report/src/api/routes/global/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/configs.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/email.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/events.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/license.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/roles.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/self.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/global/workspaces.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/environment.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/restore.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/status.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/system/tenants.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/validation/users.ts.html +1 -1
- package/coverage/lcov-report/src/constants/index.html +1 -1
- package/coverage/lcov-report/src/constants/index.ts.html +1 -1
- package/coverage/lcov-report/src/constants/templates/index.html +11 -11
- package/coverage/lcov-report/src/constants/templates/index.ts.html +10 -10
- package/coverage/lcov-report/src/db/index.html +15 -15
- package/coverage/lcov-report/src/db/index.ts.html +10 -10
- package/coverage/lcov-report/src/environment.ts.html +8 -8
- package/coverage/lcov-report/src/index.html +5 -5
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/cloudRestricted.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/globalInfoSyncUsers.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/index.html +1 -1
- package/coverage/lcov-report/src/migrations/index.html +1 -1
- package/coverage/lcov-report/src/migrations/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/accounts/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/accounts/index.html +1 -1
- package/coverage/lcov-report/src/sdk/accounts/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/index.html +1 -1
- package/coverage/lcov-report/src/sdk/index.ts.html +2 -2
- package/coverage/lcov-report/src/sdk/users/events.ts.html +29 -29
- package/coverage/lcov-report/src/sdk/users/index.html +15 -15
- package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/users.ts.html +65 -62
- package/coverage/lcov-report/src/tests/TestConfiguration.ts.html +61 -151
- package/coverage/lcov-report/src/tests/api/accounts.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/auth.ts.html +8 -20
- package/coverage/lcov-report/src/tests/api/base.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/configs.ts.html +3 -3
- package/coverage/lcov-report/src/tests/api/email.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/environment.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/groups.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/index.html +5 -5
- package/coverage/lcov-report/src/tests/api/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/license.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/restore.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/roles.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/self.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/status.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/templates.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/tenants.ts.html +1 -1
- package/coverage/lcov-report/src/tests/api/users.ts.html +3 -3
- package/coverage/lcov-report/src/tests/controllers.ts.html +2 -2
- package/coverage/lcov-report/src/tests/index.html +18 -18
- package/coverage/lcov-report/src/tests/index.ts.html +2 -2
- package/coverage/lcov-report/src/tests/mocks/email.ts.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/index.html +1 -1
- package/coverage/lcov-report/src/tests/mocks/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/configs.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/groups.ts.html +1 -1
- package/coverage/lcov-report/src/tests/structures/index.html +9 -9
- package/coverage/lcov-report/src/tests/structures/index.ts.html +14 -8
- package/coverage/lcov-report/src/tests/structures/users.ts.html +5 -5
- package/coverage/lcov-report/src/utilities/appService.ts.html +7 -7
- package/coverage/lcov-report/src/utilities/email.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/index.html +1 -1
- package/coverage/lcov-report/src/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/redis.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/templates.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/users.ts.html +6 -6
- package/coverage/lcov.info +607 -629
- package/jest.config.ts +2 -3
- package/package.json +6 -7
- package/src/api/routes/global/tests/auth.spec.ts +22 -30
- package/src/api/routes/global/tests/configs.spec.ts +94 -114
- package/src/api/routes/global/tests/roles.spec.ts +14 -19
- package/src/api/routes/global/tests/users.spec.ts +34 -33
- package/src/sdk/users/users.ts +1 -0
- package/src/tests/TestConfiguration.ts +11 -41
- package/src/tests/api/auth.ts +3 -7
- package/src/tests/api/configs.ts +2 -2
- package/src/tests/api/users.ts +2 -2
- package/src/tests/jestSetup.ts +2 -9
- package/src/tests/structures/index.ts +2 -0
- package/__mocks__/node-fetch.ts +0 -23
- package/jest-testcontainers-config.js +0 -8
package/coverage/clover.xml
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1676287175853" clover="3.2.0">
|
|
3
|
+
<project timestamp="1676287175853" name="All files">
|
|
4
|
+
<metrics statements="1875" coveredstatements="1541" conditionals="504" coveredconditionals="347" methods="529" coveredmethods="440" elements="2908" coveredelements="2328" complexity="0" loc="1875" ncloc="1875" packages="22" files="83" classes="83"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="81" coveredstatements="55" conditionals="27" coveredconditionals="
|
|
6
|
+
<metrics statements="81" coveredstatements="55" conditionals="27" coveredconditionals="15" methods="16" coveredmethods="8"/>
|
|
7
7
|
<file name="environment.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/environment.ts">
|
|
8
|
-
<metrics statements="21" coveredstatements="17" conditionals="21" coveredconditionals="
|
|
8
|
+
<metrics statements="21" coveredstatements="17" conditionals="21" coveredconditionals="14" methods="6" coveredmethods="6"/>
|
|
9
9
|
<line num="1" count="18" type="stmt"/>
|
|
10
10
|
<line num="4" count="55" type="stmt"/>
|
|
11
|
-
<line num="8" count="
|
|
11
|
+
<line num="8" count="157" type="stmt"/>
|
|
12
12
|
<line num="15" count="18" type="stmt"/>
|
|
13
13
|
<line num="16" count="18" type="cond" truecount="3" falsecount="1"/>
|
|
14
14
|
<line num="17" count="0" type="stmt"/>
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
<line num="24" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
17
17
|
<line num="25" count="0" type="stmt"/>
|
|
18
18
|
<line num="29" count="18" type="stmt"/>
|
|
19
|
-
<line num="69" count="
|
|
20
|
-
<line num="71" count="
|
|
19
|
+
<line num="69" count="52" type="stmt"/>
|
|
20
|
+
<line num="71" count="52" type="stmt"/>
|
|
21
21
|
<line num="76" count="18" type="stmt"/>
|
|
22
22
|
<line num="81" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
23
23
|
<line num="82" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<line num="92" count="18" type="stmt"/>
|
|
27
27
|
<line num="95" count="630" type="cond" truecount="0" falsecount="1"/>
|
|
28
28
|
<line num="97" count="0" type="stmt"/>
|
|
29
|
-
<line num="101" count="
|
|
29
|
+
<line num="101" count="1187" type="stmt"/>
|
|
30
30
|
</file>
|
|
31
31
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/index.ts">
|
|
32
32
|
<metrics statements="60" coveredstatements="38" conditionals="6" coveredconditionals="1" methods="10" coveredmethods="2"/>
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
<line num="146" count="18" type="stmt"/>
|
|
117
117
|
<line num="147" count="121" type="stmt"/>
|
|
118
118
|
<line num="148" count="121" type="stmt"/>
|
|
119
|
-
<line num="150" count="
|
|
120
|
-
<line num="151" count="
|
|
121
|
-
<line num="152" count="
|
|
122
|
-
<line num="153" count="
|
|
123
|
-
<line num="158" count="
|
|
119
|
+
<line num="150" count="14" type="stmt"/>
|
|
120
|
+
<line num="151" count="14" type="cond" truecount="1" falsecount="2"/>
|
|
121
|
+
<line num="152" count="14" type="stmt"/>
|
|
122
|
+
<line num="153" count="14" type="stmt"/>
|
|
123
|
+
<line num="158" count="14" type="stmt"/>
|
|
124
124
|
<line num="162" count="18" type="stmt"/>
|
|
125
125
|
<line num="165" count="18" type="stmt"/>
|
|
126
126
|
<line num="166" count="306" type="stmt"/>
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
</file>
|
|
130
130
|
</package>
|
|
131
131
|
<package name="src.api.controllers.global">
|
|
132
|
-
<metrics statements="606" coveredstatements="
|
|
132
|
+
<metrics statements="606" coveredstatements="394" conditionals="162" coveredconditionals="92" methods="157" coveredmethods="111"/>
|
|
133
133
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/auth.ts">
|
|
134
134
|
<metrics statements="119" coveredstatements="72" conditionals="18" coveredconditionals="5" methods="39" coveredmethods="24"/>
|
|
135
135
|
<line num="10" count="18" type="stmt"/>
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
<line num="277" count="1" type="stmt"/>
|
|
254
254
|
</file>
|
|
255
255
|
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/configs.ts">
|
|
256
|
-
<metrics statements="166" coveredstatements="
|
|
256
|
+
<metrics statements="166" coveredstatements="111" conditionals="92" coveredconditionals="63" methods="31" coveredmethods="24"/>
|
|
257
257
|
<line num="1" count="18" type="stmt"/>
|
|
258
258
|
<line num="2" count="18" type="stmt"/>
|
|
259
259
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -415,11 +415,11 @@
|
|
|
415
415
|
<line num="372" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
416
416
|
<line num="374" count="4" type="stmt"/>
|
|
417
417
|
<line num="378" count="4" type="stmt"/>
|
|
418
|
-
<line num="383" count="
|
|
419
|
-
<line num="388" count="
|
|
420
|
-
<line num="393" count="
|
|
421
|
-
<line num="394" count="
|
|
422
|
-
<line num="419" count="
|
|
418
|
+
<line num="383" count="4" type="stmt"/>
|
|
419
|
+
<line num="388" count="4" type="stmt"/>
|
|
420
|
+
<line num="393" count="4" type="stmt"/>
|
|
421
|
+
<line num="394" count="4" type="stmt"/>
|
|
422
|
+
<line num="419" count="0" type="stmt"/>
|
|
423
423
|
</file>
|
|
424
424
|
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/email.ts">
|
|
425
425
|
<metrics statements="9" coveredstatements="7" conditionals="1" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
<line num="33" count="0" type="stmt"/>
|
|
470
470
|
</file>
|
|
471
471
|
<file name="roles.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/api/controllers/global/roles.ts">
|
|
472
|
-
<metrics statements="34" coveredstatements="
|
|
472
|
+
<metrics statements="34" coveredstatements="34" conditionals="1" coveredconditionals="1" methods="7" coveredmethods="7"/>
|
|
473
473
|
<line num="7" count="18" type="stmt"/>
|
|
474
474
|
<line num="9" count="18" type="stmt"/>
|
|
475
475
|
<line num="11" count="18" type="stmt"/>
|
|
@@ -497,10 +497,10 @@
|
|
|
497
497
|
<line num="52" count="1" type="stmt"/>
|
|
498
498
|
<line num="53" count="1" type="stmt"/>
|
|
499
499
|
<line num="54" count="1" type="stmt"/>
|
|
500
|
-
<line num="55" count="
|
|
501
|
-
<line num="56" count="
|
|
502
|
-
<line num="57" count="
|
|
503
|
-
<line num="58" count="
|
|
500
|
+
<line num="55" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
501
|
+
<line num="56" count="2" type="stmt"/>
|
|
502
|
+
<line num="57" count="2" type="stmt"/>
|
|
503
|
+
<line num="58" count="2" type="stmt"/>
|
|
504
504
|
<line num="61" count="1" type="stmt"/>
|
|
505
505
|
<line num="62" count="1" type="stmt"/>
|
|
506
506
|
<line num="63" count="1" type="stmt"/>
|
|
@@ -629,11 +629,11 @@
|
|
|
629
629
|
<line num="20" count="18" type="stmt"/>
|
|
630
630
|
<line num="21" count="18" type="stmt"/>
|
|
631
631
|
<line num="23" count="18" type="stmt"/>
|
|
632
|
-
<line num="25" count="
|
|
633
|
-
<line num="26" count="
|
|
634
|
-
<line num="27" count="
|
|
635
|
-
<line num="28" count="
|
|
636
|
-
<line num="30" count="
|
|
632
|
+
<line num="25" count="82" type="stmt"/>
|
|
633
|
+
<line num="26" count="86" type="stmt"/>
|
|
634
|
+
<line num="27" count="86" type="stmt"/>
|
|
635
|
+
<line num="28" count="86" type="stmt"/>
|
|
636
|
+
<line num="30" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
637
637
|
<line num="34" count="18" type="stmt"/>
|
|
638
638
|
<line num="35" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
639
639
|
<line num="36" count="1" type="stmt"/>
|
|
@@ -1087,9 +1087,9 @@
|
|
|
1087
1087
|
</file>
|
|
1088
1088
|
</package>
|
|
1089
1089
|
<package name="src.constants.templates">
|
|
1090
|
-
<metrics statements="29" coveredstatements="27" conditionals="9" coveredconditionals="8" methods="11" coveredmethods="
|
|
1090
|
+
<metrics statements="29" coveredstatements="27" conditionals="9" coveredconditionals="8" methods="11" coveredmethods="8"/>
|
|
1091
1091
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/constants/templates/index.ts">
|
|
1092
|
-
<metrics statements="29" coveredstatements="27" conditionals="9" coveredconditionals="8" methods="11" coveredmethods="
|
|
1092
|
+
<metrics statements="29" coveredstatements="27" conditionals="9" coveredconditionals="8" methods="11" coveredmethods="8"/>
|
|
1093
1093
|
<line num="1" count="18" type="stmt"/>
|
|
1094
1094
|
<line num="7" count="18" type="stmt"/>
|
|
1095
1095
|
<line num="8" count="18" type="stmt"/>
|
|
@@ -1102,10 +1102,10 @@
|
|
|
1102
1102
|
<line num="33" count="2" type="stmt"/>
|
|
1103
1103
|
<line num="34" count="2" type="stmt"/>
|
|
1104
1104
|
<line num="36" count="16" type="stmt"/>
|
|
1105
|
-
<line num="38" count="
|
|
1106
|
-
<line num="39" count="
|
|
1107
|
-
<line num="41" count="
|
|
1108
|
-
<line num="42" count="
|
|
1105
|
+
<line num="38" count="162" type="cond" truecount="1" falsecount="0"/>
|
|
1106
|
+
<line num="39" count="2" type="stmt"/>
|
|
1107
|
+
<line num="41" count="78" type="cond" truecount="1" falsecount="0"/>
|
|
1108
|
+
<line num="42" count="78" type="stmt"/>
|
|
1109
1109
|
<line num="49" count="16" type="stmt"/>
|
|
1110
1110
|
<line num="52" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1111
1111
|
<line num="57" count="16" type="stmt"/>
|
|
@@ -1122,15 +1122,15 @@
|
|
|
1122
1122
|
</file>
|
|
1123
1123
|
</package>
|
|
1124
1124
|
<package name="src.db">
|
|
1125
|
-
<metrics statements="7" coveredstatements="
|
|
1125
|
+
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
1126
1126
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/db/index.ts">
|
|
1127
|
-
<metrics statements="7" coveredstatements="
|
|
1127
|
+
<metrics statements="7" coveredstatements="7" conditionals="3" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
1128
1128
|
<line num="1" count="18" type="stmt"/>
|
|
1129
1129
|
<line num="2" count="18" type="stmt"/>
|
|
1130
1130
|
<line num="4" count="36" type="stmt"/>
|
|
1131
1131
|
<line num="5" count="36" type="stmt"/>
|
|
1132
|
-
<line num="6" count="36" type="cond" truecount="
|
|
1133
|
-
<line num="7" count="
|
|
1132
|
+
<line num="6" count="36" type="cond" truecount="3" falsecount="0"/>
|
|
1133
|
+
<line num="7" count="36" type="stmt"/>
|
|
1134
1134
|
<line num="9" count="36" type="stmt"/>
|
|
1135
1135
|
</file>
|
|
1136
1136
|
</package>
|
|
@@ -1194,7 +1194,7 @@
|
|
|
1194
1194
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
1195
1195
|
<line num="1" count="18" type="stmt"/>
|
|
1196
1196
|
<line num="2" count="18" type="stmt"/>
|
|
1197
|
-
<line num="4" count="
|
|
1197
|
+
<line num="4" count="136" type="stmt"/>
|
|
1198
1198
|
</file>
|
|
1199
1199
|
</package>
|
|
1200
1200
|
<package name="src.sdk.accounts">
|
|
@@ -1235,7 +1235,7 @@
|
|
|
1235
1235
|
</file>
|
|
1236
1236
|
</package>
|
|
1237
1237
|
<package name="src.sdk.users">
|
|
1238
|
-
<metrics statements="
|
|
1238
|
+
<metrics statements="322" coveredstatements="290" conditionals="116" coveredconditionals="96" methods="70" coveredmethods="60"/>
|
|
1239
1239
|
<file name="events.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/events.ts">
|
|
1240
1240
|
<metrics statements="70" coveredstatements="68" conditionals="36" coveredconditionals="34" methods="18" coveredmethods="16"/>
|
|
1241
1241
|
<line num="1" count="18" type="stmt"/>
|
|
@@ -1247,26 +1247,26 @@
|
|
|
1247
1247
|
<line num="12" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1248
1248
|
<line num="13" count="2" type="stmt"/>
|
|
1249
1249
|
<line num="17" count="18" type="stmt"/>
|
|
1250
|
-
<line num="22" count="
|
|
1251
|
-
<line num="24" count="
|
|
1252
|
-
<line num="25" count="
|
|
1250
|
+
<line num="22" count="95" type="stmt"/>
|
|
1251
|
+
<line num="24" count="91" type="cond" truecount="3" falsecount="0"/>
|
|
1252
|
+
<line num="25" count="82" type="stmt"/>
|
|
1253
1253
|
<line num="30" count="18" type="stmt"/>
|
|
1254
|
-
<line num="35" count="
|
|
1255
|
-
<line num="36" count="
|
|
1254
|
+
<line num="35" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1255
|
+
<line num="36" count="84" type="stmt"/>
|
|
1256
1256
|
<line num="38" count="11" type="stmt"/>
|
|
1257
1257
|
<line num="40" count="13" type="cond" truecount="3" falsecount="0"/>
|
|
1258
1258
|
<line num="41" count="4" type="stmt"/>
|
|
1259
1259
|
<line num="46" count="18" type="stmt"/>
|
|
1260
|
-
<line num="47" count="
|
|
1261
|
-
<line num="48" count="
|
|
1262
|
-
<line num="50" count="
|
|
1263
|
-
<line num="51" count="
|
|
1264
|
-
<line num="54" count="
|
|
1265
|
-
<line num="58" count="
|
|
1266
|
-
<line num="60" count="
|
|
1267
|
-
<line num="61" count="
|
|
1268
|
-
<line num="63" count="
|
|
1269
|
-
<line num="65" count="
|
|
1260
|
+
<line num="47" count="95" type="stmt"/>
|
|
1261
|
+
<line num="48" count="95" type="stmt"/>
|
|
1262
|
+
<line num="50" count="95" type="stmt"/>
|
|
1263
|
+
<line num="51" count="95" type="stmt"/>
|
|
1264
|
+
<line num="54" count="95" type="stmt"/>
|
|
1265
|
+
<line num="58" count="95" type="stmt"/>
|
|
1266
|
+
<line num="60" count="95" type="cond" truecount="3" falsecount="0"/>
|
|
1267
|
+
<line num="61" count="95" type="stmt"/>
|
|
1268
|
+
<line num="63" count="95" type="stmt"/>
|
|
1269
|
+
<line num="65" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1270
1270
|
<line num="66" count="11" type="stmt"/>
|
|
1271
1271
|
<line num="68" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
1272
1272
|
<line num="69" count="2" type="stmt"/>
|
|
@@ -1276,30 +1276,30 @@
|
|
|
1276
1276
|
<line num="77" count="0" type="stmt"/>
|
|
1277
1277
|
<line num="80" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
1278
1278
|
<line num="85" count="1" type="stmt"/>
|
|
1279
|
-
<line num="88" count="
|
|
1280
|
-
<line num="91" count="
|
|
1281
|
-
<line num="92" count="
|
|
1282
|
-
<line num="95" count="
|
|
1283
|
-
<line num="96" count="
|
|
1284
|
-
<line num="99" count="
|
|
1285
|
-
<line num="102" count="
|
|
1286
|
-
<line num="103" count="
|
|
1279
|
+
<line num="88" count="84" type="stmt"/>
|
|
1280
|
+
<line num="91" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1281
|
+
<line num="92" count="56" type="stmt"/>
|
|
1282
|
+
<line num="95" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1283
|
+
<line num="96" count="48" type="stmt"/>
|
|
1284
|
+
<line num="99" count="95" type="stmt"/>
|
|
1285
|
+
<line num="102" count="123" type="cond" truecount="2" falsecount="0"/>
|
|
1286
|
+
<line num="103" count="123" type="cond" truecount="2" falsecount="0"/>
|
|
1287
1287
|
<line num="105" count="18" type="stmt"/>
|
|
1288
|
-
<line num="106" count="
|
|
1288
|
+
<line num="106" count="95" type="stmt"/>
|
|
1289
1289
|
<line num="109" count="18" type="stmt"/>
|
|
1290
1290
|
<line num="110" count="11" type="stmt"/>
|
|
1291
1291
|
<line num="113" count="18" type="stmt"/>
|
|
1292
|
-
<line num="114" count="
|
|
1292
|
+
<line num="114" count="95" type="stmt"/>
|
|
1293
1293
|
<line num="117" count="18" type="stmt"/>
|
|
1294
1294
|
<line num="118" count="11" type="stmt"/>
|
|
1295
1295
|
<line num="121" count="18" type="stmt"/>
|
|
1296
1296
|
<line num="122" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
1297
1297
|
<line num="128" count="18" type="stmt"/>
|
|
1298
|
-
<line num="134" count="
|
|
1298
|
+
<line num="134" count="190" type="cond" truecount="1" falsecount="0"/>
|
|
1299
1299
|
<line num="135" count="84" type="stmt"/>
|
|
1300
|
-
<line num="139" count="
|
|
1300
|
+
<line num="139" count="106" type="cond" truecount="3" falsecount="0"/>
|
|
1301
1301
|
<line num="140" count="2" type="stmt"/>
|
|
1302
|
-
<line num="144" count="
|
|
1302
|
+
<line num="144" count="104" type="stmt"/>
|
|
1303
1303
|
<line num="150" count="18" type="stmt"/>
|
|
1304
1304
|
<line num="156" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
1305
1305
|
<line num="157" count="5" type="stmt"/>
|
|
@@ -1314,7 +1314,7 @@
|
|
|
1314
1314
|
<line num="1" count="18" type="stmt"/>
|
|
1315
1315
|
</file>
|
|
1316
1316
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/sdk/users/users.ts">
|
|
1317
|
-
<metrics statements="
|
|
1317
|
+
<metrics statements="251" coveredstatements="221" conditionals="80" coveredconditionals="62" methods="52" coveredmethods="44"/>
|
|
1318
1318
|
<line num="1" count="18" type="stmt"/>
|
|
1319
1319
|
<line num="2" count="18" type="stmt"/>
|
|
1320
1320
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -1327,7 +1327,7 @@
|
|
|
1327
1327
|
<line num="42" count="18" type="stmt"/>
|
|
1328
1328
|
<line num="43" count="1" type="stmt"/>
|
|
1329
1329
|
<line num="44" count="1" type="stmt"/>
|
|
1330
|
-
<line num="49" count="
|
|
1330
|
+
<line num="49" count="2" type="stmt"/>
|
|
1331
1331
|
<line num="52" count="18" type="stmt"/>
|
|
1332
1332
|
<line num="53" count="0" type="stmt"/>
|
|
1333
1333
|
<line num="54" count="0" type="stmt"/>
|
|
@@ -1353,44 +1353,44 @@
|
|
|
1353
1353
|
<line num="104" count="10" type="stmt"/>
|
|
1354
1354
|
<line num="106" count="10" type="stmt"/>
|
|
1355
1355
|
<line num="115" count="18" type="stmt"/>
|
|
1356
|
-
<line num="124" count="
|
|
1357
|
-
<line num="125" count="
|
|
1358
|
-
<line num="128" count="
|
|
1359
|
-
<line num="129" count="
|
|
1356
|
+
<line num="124" count="95" type="stmt"/>
|
|
1357
|
+
<line num="125" count="95" type="stmt"/>
|
|
1358
|
+
<line num="128" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1359
|
+
<line num="129" count="93" type="cond" truecount="1" falsecount="1"/>
|
|
1360
1360
|
<line num="130" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1361
1361
|
<line num="131" count="1" type="stmt"/>
|
|
1362
1362
|
<line num="132" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1363
1363
|
<line num="133" count="0" type="stmt"/>
|
|
1364
|
-
<line num="136" count="
|
|
1365
|
-
<line num="138" count="
|
|
1366
|
-
<line num="147" count="
|
|
1364
|
+
<line num="136" count="95" type="cond" truecount="2" falsecount="0"/>
|
|
1365
|
+
<line num="138" count="95" type="stmt"/>
|
|
1366
|
+
<line num="147" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1367
1367
|
<line num="148" count="1" type="stmt"/>
|
|
1368
|
-
<line num="151" count="
|
|
1369
|
-
<line num="152" count="
|
|
1370
|
-
<line num="155" count="
|
|
1368
|
+
<line num="151" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1369
|
+
<line num="152" count="84" type="stmt"/>
|
|
1370
|
+
<line num="155" count="95" type="stmt"/>
|
|
1371
1371
|
<line num="159" count="18" type="stmt"/>
|
|
1372
|
-
<line num="164" count="
|
|
1373
|
-
<line num="171" count="
|
|
1372
|
+
<line num="164" count="90" type="stmt"/>
|
|
1373
|
+
<line num="171" count="90" type="stmt"/>
|
|
1374
1374
|
<line num="174" count="18" type="stmt"/>
|
|
1375
|
-
<line num="176" count="
|
|
1376
|
-
<line num="177" count="
|
|
1377
|
-
<line num="178" count="
|
|
1375
|
+
<line num="176" count="90" type="cond" truecount="1" falsecount="0"/>
|
|
1376
|
+
<line num="177" count="90" type="stmt"/>
|
|
1377
|
+
<line num="178" count="90" type="cond" truecount="2" falsecount="1"/>
|
|
1378
1378
|
<line num="179" count="0" type="stmt"/>
|
|
1379
|
-
<line num="184" count="
|
|
1380
|
-
<line num="185" count="
|
|
1381
|
-
<line num="186" count="
|
|
1379
|
+
<line num="184" count="90" type="cond" truecount="3" falsecount="0"/>
|
|
1380
|
+
<line num="185" count="90" type="stmt"/>
|
|
1381
|
+
<line num="186" count="90" type="cond" truecount="4" falsecount="0"/>
|
|
1382
1382
|
<line num="187" count="1" type="stmt"/>
|
|
1383
|
-
<line num="192" count="
|
|
1384
|
-
<line num="197" count="
|
|
1385
|
-
<line num="198" count="
|
|
1386
|
-
<line num="200" count="
|
|
1387
|
-
<line num="201" count="
|
|
1388
|
-
<line num="203" count="
|
|
1389
|
-
<line num="204" count="
|
|
1390
|
-
<line num="206" count="
|
|
1391
|
-
<line num="208" count="
|
|
1383
|
+
<line num="192" count="96" type="stmt"/>
|
|
1384
|
+
<line num="197" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1385
|
+
<line num="198" count="87" type="stmt"/>
|
|
1386
|
+
<line num="200" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1387
|
+
<line num="201" count="87" type="stmt"/>
|
|
1388
|
+
<line num="203" count="94" type="stmt"/>
|
|
1389
|
+
<line num="204" count="94" type="stmt"/>
|
|
1390
|
+
<line num="206" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1391
|
+
<line num="208" count="94" type="cond" truecount="1" falsecount="2"/>
|
|
1392
1392
|
<line num="209" count="0" type="stmt"/>
|
|
1393
|
-
<line num="213" count="
|
|
1393
|
+
<line num="213" count="94" type="cond" truecount="1" falsecount="0"/>
|
|
1394
1394
|
<line num="215" count="13" type="stmt"/>
|
|
1395
1395
|
<line num="216" count="13" type="stmt"/>
|
|
1396
1396
|
<line num="217" count="12" type="cond" truecount="3" falsecount="0"/>
|
|
@@ -1398,179 +1398,180 @@
|
|
|
1398
1398
|
<line num="220" count="11" type="stmt"/>
|
|
1399
1399
|
<line num="222" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1400
1400
|
<line num="225" count="1" type="stmt"/>
|
|
1401
|
-
<line num="230" count="
|
|
1402
|
-
<line num="232" count="
|
|
1403
|
-
<line num="233" count="
|
|
1401
|
+
<line num="230" count="93" type="cond" truecount="3" falsecount="0"/>
|
|
1402
|
+
<line num="232" count="82" type="stmt"/>
|
|
1403
|
+
<line num="233" count="82" type="cond" truecount="3" falsecount="0"/>
|
|
1404
1404
|
<line num="234" count="3" type="stmt"/>
|
|
1405
|
-
<line num="238" count="
|
|
1406
|
-
<line num="240" count="
|
|
1407
|
-
<line num="242" count="
|
|
1405
|
+
<line num="238" count="90" type="stmt"/>
|
|
1406
|
+
<line num="240" count="89" type="stmt"/>
|
|
1407
|
+
<line num="242" count="89" type="cond" truecount="3" falsecount="0"/>
|
|
1408
1408
|
<line num="243" count="1" type="stmt"/>
|
|
1409
1409
|
<line num="244" count="1" type="stmt"/>
|
|
1410
1410
|
<line num="245" count="1" type="stmt"/>
|
|
1411
|
-
<line num="250" count="
|
|
1412
|
-
<line num="251" count="
|
|
1413
|
-
<line num="252" count="
|
|
1414
|
-
<line num="254" count="
|
|
1411
|
+
<line num="250" count="89" type="stmt"/>
|
|
1412
|
+
<line num="251" count="89" type="cond" truecount="1" falsecount="0"/>
|
|
1413
|
+
<line num="252" count="77" type="stmt"/>
|
|
1414
|
+
<line num="254" count="77" type="cond" truecount="0" falsecount="1"/>
|
|
1415
1415
|
<line num="255" count="0" type="stmt"/>
|
|
1416
1416
|
<line num="256" count="0" type="stmt"/>
|
|
1417
|
-
<line num="261" count="
|
|
1418
|
-
<line num="263" count="
|
|
1419
|
-
<line num="264" count="
|
|
1420
|
-
<line num="266" count="
|
|
1421
|
-
<line num="267" count="
|
|
1422
|
-
<line num="
|
|
1423
|
-
<line num="
|
|
1424
|
-
<line num="
|
|
1425
|
-
<line num="
|
|
1426
|
-
<line num="281" count="0" type="
|
|
1427
|
-
<line num="
|
|
1428
|
-
<line num="
|
|
1429
|
-
<line num="
|
|
1430
|
-
<line num="294" count="
|
|
1431
|
-
<line num="295" count="
|
|
1432
|
-
<line num="
|
|
1433
|
-
<line num="
|
|
1434
|
-
<line num="304" count="
|
|
1435
|
-
<line num="305" count="
|
|
1436
|
-
<line num="
|
|
1437
|
-
<line num="
|
|
1438
|
-
<line num="
|
|
1439
|
-
<line num="
|
|
1440
|
-
<line num="326" count="
|
|
1441
|
-
<line num="
|
|
1442
|
-
<line num="
|
|
1443
|
-
<line num="
|
|
1444
|
-
<line num="
|
|
1445
|
-
<line num="345" count="
|
|
1446
|
-
<line num="
|
|
1447
|
-
<line num="
|
|
1448
|
-
<line num="
|
|
1449
|
-
<line num="369" count="
|
|
1450
|
-
<line num="
|
|
1417
|
+
<line num="261" count="89" type="stmt"/>
|
|
1418
|
+
<line num="263" count="89" type="stmt"/>
|
|
1419
|
+
<line num="264" count="89" type="stmt"/>
|
|
1420
|
+
<line num="266" count="89" type="stmt"/>
|
|
1421
|
+
<line num="267" count="89" type="stmt"/>
|
|
1422
|
+
<line num="268" count="89" type="stmt"/>
|
|
1423
|
+
<line num="271" count="89" type="stmt"/>
|
|
1424
|
+
<line num="273" count="89" type="stmt"/>
|
|
1425
|
+
<line num="275" count="89" type="stmt"/>
|
|
1426
|
+
<line num="281" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1427
|
+
<line num="282" count="0" type="stmt"/>
|
|
1428
|
+
<line num="284" count="0" type="stmt"/>
|
|
1429
|
+
<line num="289" count="18" type="stmt"/>
|
|
1430
|
+
<line num="294" count="95" type="cond" truecount="1" falsecount="0"/>
|
|
1431
|
+
<line num="295" count="95" type="stmt"/>
|
|
1432
|
+
<line num="296" count="42" type="stmt"/>
|
|
1433
|
+
<line num="300" count="95" type="stmt"/>
|
|
1434
|
+
<line num="304" count="18" type="stmt"/>
|
|
1435
|
+
<line num="305" count="16" type="stmt"/>
|
|
1436
|
+
<line num="306" count="11" type="stmt"/>
|
|
1437
|
+
<line num="311" count="11" type="stmt"/>
|
|
1438
|
+
<line num="315" count="11" type="stmt"/>
|
|
1439
|
+
<line num="323" count="18" type="stmt"/>
|
|
1440
|
+
<line num="326" count="16" type="stmt"/>
|
|
1441
|
+
<line num="327" count="11" type="stmt"/>
|
|
1442
|
+
<line num="332" count="11" type="stmt"/>
|
|
1443
|
+
<line num="335" count="11" type="stmt"/>
|
|
1444
|
+
<line num="342" count="18" type="stmt"/>
|
|
1445
|
+
<line num="345" count="16" type="stmt"/>
|
|
1446
|
+
<line num="346" count="11" type="stmt"/>
|
|
1447
|
+
<line num="351" count="11" type="stmt"/>
|
|
1448
|
+
<line num="355" count="11" type="stmt"/>
|
|
1449
|
+
<line num="369" count="18" type="stmt"/>
|
|
1450
|
+
<line num="370" count="11" type="stmt"/>
|
|
1451
1451
|
<line num="372" count="11" type="stmt"/>
|
|
1452
|
-
<line num="
|
|
1452
|
+
<line num="373" count="11" type="stmt"/>
|
|
1453
1453
|
<line num="375" count="11" type="stmt"/>
|
|
1454
|
-
<line num="
|
|
1454
|
+
<line num="376" count="11" type="stmt"/>
|
|
1455
1455
|
<line num="378" count="11" type="stmt"/>
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="
|
|
1458
|
-
<line num="
|
|
1459
|
-
<line num="
|
|
1456
|
+
<line num="379" count="11" type="stmt"/>
|
|
1457
|
+
<line num="381" count="11" type="stmt"/>
|
|
1458
|
+
<line num="384" count="18" type="stmt"/>
|
|
1459
|
+
<line num="388" count="6" type="stmt"/>
|
|
1460
1460
|
<line num="390" count="6" type="stmt"/>
|
|
1461
|
-
<line num="
|
|
1462
|
-
<line num="393" count="
|
|
1461
|
+
<line num="391" count="6" type="stmt"/>
|
|
1462
|
+
<line num="393" count="10" type="stmt"/>
|
|
1463
1463
|
<line num="394" count="6" type="stmt"/>
|
|
1464
|
-
<line num="
|
|
1465
|
-
<line num="397" count="
|
|
1466
|
-
<line num="
|
|
1467
|
-
<line num="
|
|
1468
|
-
<line num="
|
|
1469
|
-
<line num="
|
|
1464
|
+
<line num="395" count="6" type="stmt"/>
|
|
1465
|
+
<line num="397" count="6" type="stmt"/>
|
|
1466
|
+
<line num="398" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1467
|
+
<line num="400" count="6" type="stmt"/>
|
|
1468
|
+
<line num="404" count="4" type="stmt"/>
|
|
1469
|
+
<line num="408" count="4" type="stmt"/>
|
|
1470
1470
|
<line num="410" count="6" type="stmt"/>
|
|
1471
|
-
<line num="
|
|
1471
|
+
<line num="411" count="6" type="stmt"/>
|
|
1472
1472
|
<line num="415" count="6" type="stmt"/>
|
|
1473
|
-
<line num="
|
|
1473
|
+
<line num="416" count="6" type="stmt"/>
|
|
1474
1474
|
<line num="428" count="6" type="stmt"/>
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="
|
|
1475
|
+
<line num="429" count="6" type="stmt"/>
|
|
1476
|
+
<line num="432" count="6" type="stmt"/>
|
|
1477
1477
|
<line num="435" count="6" type="stmt"/>
|
|
1478
1478
|
<line num="436" count="6" type="stmt"/>
|
|
1479
|
-
<line num="
|
|
1479
|
+
<line num="437" count="6" type="stmt"/>
|
|
1480
1480
|
<line num="440" count="6" type="stmt"/>
|
|
1481
|
-
<line num="
|
|
1482
|
-
<line num="448" count="6" type="
|
|
1481
|
+
<line num="441" count="6" type="stmt"/>
|
|
1482
|
+
<line num="448" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
1483
1483
|
<line num="449" count="6" type="stmt"/>
|
|
1484
1484
|
<line num="450" count="6" type="stmt"/>
|
|
1485
|
-
<line num="451" count="
|
|
1486
|
-
<line num="
|
|
1487
|
-
<line num="
|
|
1488
|
-
<line num="
|
|
1489
|
-
<line num="
|
|
1490
|
-
<line num="469" count="2" type="
|
|
1485
|
+
<line num="451" count="6" type="stmt"/>
|
|
1486
|
+
<line num="452" count="0" type="stmt"/>
|
|
1487
|
+
<line num="454" count="6" type="stmt"/>
|
|
1488
|
+
<line num="457" count="6" type="stmt"/>
|
|
1489
|
+
<line num="466" count="18" type="stmt"/>
|
|
1490
|
+
<line num="469" count="2" type="cond" truecount="3" falsecount="0"/>
|
|
1491
1491
|
<line num="470" count="2" type="stmt"/>
|
|
1492
|
-
<line num="471" count="2" type="
|
|
1493
|
-
<line num="472" count="
|
|
1494
|
-
<line num="
|
|
1495
|
-
<line num="476" count="2" type="
|
|
1496
|
-
<line num="477" count="
|
|
1497
|
-
<line num="
|
|
1498
|
-
<line num="
|
|
1499
|
-
<line num="
|
|
1500
|
-
<line num="
|
|
1501
|
-
<line num="494" count="2" type="
|
|
1502
|
-
<line num="495" count="
|
|
1503
|
-
<line num="
|
|
1504
|
-
<line num="
|
|
1505
|
-
<line num="
|
|
1506
|
-
<line num="
|
|
1507
|
-
<line num="
|
|
1508
|
-
<line num="
|
|
1492
|
+
<line num="471" count="2" type="stmt"/>
|
|
1493
|
+
<line num="472" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1494
|
+
<line num="473" count="0" type="stmt"/>
|
|
1495
|
+
<line num="476" count="2" type="stmt"/>
|
|
1496
|
+
<line num="477" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1497
|
+
<line num="478" count="1" type="stmt"/>
|
|
1498
|
+
<line num="483" count="18" type="stmt"/>
|
|
1499
|
+
<line num="486" count="2" type="stmt"/>
|
|
1500
|
+
<line num="488" count="2" type="stmt"/>
|
|
1501
|
+
<line num="494" count="2" type="stmt"/>
|
|
1502
|
+
<line num="495" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1503
|
+
<line num="496" count="1" type="stmt"/>
|
|
1504
|
+
<line num="498" count="1" type="stmt"/>
|
|
1505
|
+
<line num="506" count="2" type="stmt"/>
|
|
1506
|
+
<line num="510" count="2" type="stmt"/>
|
|
1507
|
+
<line num="512" count="3" type="stmt"/>
|
|
1508
|
+
<line num="517" count="3" type="stmt"/>
|
|
1509
1509
|
<line num="521" count="2" type="stmt"/>
|
|
1510
|
-
<line num="522" count="
|
|
1511
|
-
<line num="
|
|
1510
|
+
<line num="522" count="2" type="stmt"/>
|
|
1511
|
+
<line num="523" count="3" type="stmt"/>
|
|
1512
1512
|
<line num="528" count="2" type="stmt"/>
|
|
1513
|
-
<line num="529" count="
|
|
1513
|
+
<line num="529" count="2" type="stmt"/>
|
|
1514
1514
|
<line num="530" count="3" type="stmt"/>
|
|
1515
|
-
<line num="
|
|
1516
|
-
<line num="535" count="
|
|
1517
|
-
<line num="536" count="3" type="
|
|
1518
|
-
<line num="537" count="3" type="
|
|
1519
|
-
<line num="
|
|
1520
|
-
<line num="
|
|
1521
|
-
<line num="
|
|
1522
|
-
<line num="551" count="
|
|
1515
|
+
<line num="531" count="3" type="stmt"/>
|
|
1516
|
+
<line num="535" count="2" type="stmt"/>
|
|
1517
|
+
<line num="536" count="3" type="stmt"/>
|
|
1518
|
+
<line num="537" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1519
|
+
<line num="538" count="3" type="stmt"/>
|
|
1520
|
+
<line num="540" count="0" type="stmt"/>
|
|
1521
|
+
<line num="548" count="2" type="stmt"/>
|
|
1522
|
+
<line num="551" count="18" type="stmt"/>
|
|
1523
1523
|
<line num="552" count="4" type="stmt"/>
|
|
1524
1524
|
<line num="553" count="4" type="stmt"/>
|
|
1525
|
-
<line num="
|
|
1526
|
-
<line num="
|
|
1525
|
+
<line num="554" count="4" type="stmt"/>
|
|
1526
|
+
<line num="556" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
1527
1527
|
<line num="558" count="4" type="stmt"/>
|
|
1528
|
-
<line num="559" count="4" type="
|
|
1529
|
-
<line num="560" count="
|
|
1530
|
-
<line num="561" count="
|
|
1531
|
-
<line num="
|
|
1532
|
-
<line num="
|
|
1533
|
-
<line num="
|
|
1534
|
-
<line num="
|
|
1528
|
+
<line num="559" count="4" type="stmt"/>
|
|
1529
|
+
<line num="560" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1530
|
+
<line num="561" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1531
|
+
<line num="562" count="0" type="stmt"/>
|
|
1532
|
+
<line num="564" count="1" type="stmt"/>
|
|
1533
|
+
<line num="569" count="3" type="stmt"/>
|
|
1534
|
+
<line num="571" count="3" type="stmt"/>
|
|
1535
1535
|
<line num="573" count="3" type="stmt"/>
|
|
1536
1536
|
<line num="574" count="3" type="stmt"/>
|
|
1537
|
-
<line num="
|
|
1538
|
-
<line num="
|
|
1539
|
-
<line num="580" count="
|
|
1537
|
+
<line num="575" count="3" type="stmt"/>
|
|
1538
|
+
<line num="577" count="3" type="stmt"/>
|
|
1539
|
+
<line num="580" count="18" type="stmt"/>
|
|
1540
1540
|
<line num="581" count="3" type="stmt"/>
|
|
1541
1541
|
<line num="582" count="3" type="stmt"/>
|
|
1542
1542
|
<line num="583" count="3" type="stmt"/>
|
|
1543
1543
|
<line num="584" count="3" type="stmt"/>
|
|
1544
|
-
<line num="
|
|
1545
|
-
<line num="
|
|
1546
|
-
<line num="
|
|
1547
|
-
<line num="
|
|
1548
|
-
<line num="598" count="
|
|
1549
|
-
<line num="
|
|
1550
|
-
<line num="602" count="
|
|
1551
|
-
<line num="603" count="
|
|
1552
|
-
<line num="
|
|
1553
|
-
<line num="
|
|
1554
|
-
<line num="
|
|
1544
|
+
<line num="585" count="3" type="stmt"/>
|
|
1545
|
+
<line num="587" count="3" type="stmt"/>
|
|
1546
|
+
<line num="590" count="18" type="stmt"/>
|
|
1547
|
+
<line num="593" count="5" type="stmt"/>
|
|
1548
|
+
<line num="598" count="6" type="stmt"/>
|
|
1549
|
+
<line num="599" count="5" type="stmt"/>
|
|
1550
|
+
<line num="602" count="5" type="stmt"/>
|
|
1551
|
+
<line num="603" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1552
|
+
<line num="604" count="2" type="stmt"/>
|
|
1553
|
+
<line num="606" count="4" type="stmt"/>
|
|
1554
|
+
<line num="610" count="5" type="stmt"/>
|
|
1555
1555
|
<line num="613" count="5" type="stmt"/>
|
|
1556
|
-
<line num="614" count="
|
|
1556
|
+
<line num="614" count="5" type="stmt"/>
|
|
1557
1557
|
<line num="615" count="4" type="stmt"/>
|
|
1558
|
-
<line num="616" count="4" type="
|
|
1559
|
-
<line num="617" count="
|
|
1560
|
-
<line num="
|
|
1558
|
+
<line num="616" count="4" type="stmt"/>
|
|
1559
|
+
<line num="617" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1560
|
+
<line num="618" count="2" type="stmt"/>
|
|
1561
1561
|
<line num="620" count="4" type="stmt"/>
|
|
1562
|
-
<line num="
|
|
1562
|
+
<line num="621" count="4" type="stmt"/>
|
|
1563
1563
|
<line num="625" count="4" type="stmt"/>
|
|
1564
1564
|
<line num="626" count="4" type="stmt"/>
|
|
1565
|
-
<line num="
|
|
1565
|
+
<line num="627" count="4" type="stmt"/>
|
|
1566
1566
|
<line num="629" count="0" type="stmt"/>
|
|
1567
|
-
<line num="
|
|
1567
|
+
<line num="630" count="0" type="stmt"/>
|
|
1568
|
+
<line num="637" count="5" type="stmt"/>
|
|
1568
1569
|
</file>
|
|
1569
1570
|
</package>
|
|
1570
1571
|
<package name="src.tests">
|
|
1571
|
-
<metrics statements="
|
|
1572
|
+
<metrics statements="122" coveredstatements="111" conditionals="16" coveredconditionals="10" methods="48" coveredmethods="37"/>
|
|
1572
1573
|
<file name="TestConfiguration.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/TestConfiguration.ts">
|
|
1573
|
-
<metrics statements="
|
|
1574
|
+
<metrics statements="111" coveredstatements="100" conditionals="16" coveredconditionals="10" methods="37" coveredmethods="32"/>
|
|
1574
1575
|
<line num="1" count="18" type="stmt"/>
|
|
1575
1576
|
<line num="4" count="18" type="stmt"/>
|
|
1576
1577
|
<line num="5" count="18" type="stmt"/>
|
|
@@ -1581,123 +1582,107 @@
|
|
|
1581
1582
|
<line num="13" count="18" type="stmt"/>
|
|
1582
1583
|
<line num="14" count="18" type="stmt"/>
|
|
1583
1584
|
<line num="15" count="18" type="stmt"/>
|
|
1585
|
+
<line num="23" count="18" type="stmt"/>
|
|
1584
1586
|
<line num="24" count="18" type="stmt"/>
|
|
1585
|
-
<line num="
|
|
1586
|
-
<line num="
|
|
1587
|
-
<line num="
|
|
1588
|
-
<line num="
|
|
1589
|
-
<line num="
|
|
1590
|
-
<line num="
|
|
1591
|
-
<line num="
|
|
1592
|
-
<line num="
|
|
1593
|
-
<line num="
|
|
1594
|
-
<line num="
|
|
1595
|
-
<line num="
|
|
1596
|
-
<line num="
|
|
1597
|
-
<line num="
|
|
1598
|
-
<line num="
|
|
1599
|
-
<line num="
|
|
1600
|
-
<line num="
|
|
1601
|
-
<line num="
|
|
1602
|
-
<line num="71" count="0" type="stmt"/>
|
|
1603
|
-
<line num="74" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1604
|
-
<line num="76" count="18" type="stmt"/>
|
|
1587
|
+
<line num="26" count="18" type="stmt"/>
|
|
1588
|
+
<line num="28" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1589
|
+
<line num="46" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1590
|
+
<line num="47" count="18" type="stmt"/>
|
|
1591
|
+
<line num="48" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1592
|
+
<line num="49" count="0" type="stmt"/>
|
|
1593
|
+
<line num="52" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1594
|
+
<line num="54" count="18" type="stmt"/>
|
|
1595
|
+
<line num="56" count="18" type="stmt"/>
|
|
1596
|
+
<line num="59" count="18" type="stmt"/>
|
|
1597
|
+
<line num="63" count="0" type="stmt"/>
|
|
1598
|
+
<line num="68" count="18" type="stmt"/>
|
|
1599
|
+
<line num="69" count="26" type="stmt"/>
|
|
1600
|
+
<line num="70" count="26" type="stmt"/>
|
|
1601
|
+
<line num="73" count="18" type="stmt"/>
|
|
1602
|
+
<line num="74" count="26" type="stmt"/>
|
|
1603
|
+
<line num="75" count="26" type="stmt"/>
|
|
1605
1604
|
<line num="78" count="18" type="stmt"/>
|
|
1606
|
-
<line num="
|
|
1607
|
-
<line num="
|
|
1608
|
-
<line num="
|
|
1609
|
-
<line num="
|
|
1610
|
-
<line num="
|
|
1611
|
-
<line num="
|
|
1612
|
-
<line num="
|
|
1613
|
-
<line num="
|
|
1614
|
-
<line num="
|
|
1615
|
-
<line num="
|
|
1616
|
-
<line num="
|
|
1617
|
-
<line num="
|
|
1618
|
-
<line num="
|
|
1619
|
-
<line num="
|
|
1620
|
-
<line num="
|
|
1621
|
-
<line num="
|
|
1622
|
-
<line num="
|
|
1623
|
-
<line num="
|
|
1624
|
-
<line num="
|
|
1625
|
-
<line num="
|
|
1626
|
-
<line num="
|
|
1627
|
-
<line num="
|
|
1628
|
-
<line num="
|
|
1629
|
-
<line num="
|
|
1630
|
-
<line num="
|
|
1631
|
-
<line num="
|
|
1632
|
-
<line num="
|
|
1633
|
-
<line num="137" count="
|
|
1634
|
-
<line num="
|
|
1635
|
-
<line num="
|
|
1636
|
-
<line num="
|
|
1637
|
-
<line num="
|
|
1638
|
-
<line num="
|
|
1639
|
-
<line num="
|
|
1640
|
-
<line num="
|
|
1641
|
-
<line num="
|
|
1642
|
-
<line num="
|
|
1643
|
-
<line num="
|
|
1644
|
-
<line num="
|
|
1645
|
-
<line num="
|
|
1646
|
-
<line num="
|
|
1647
|
-
<line num="
|
|
1648
|
-
<line num="
|
|
1649
|
-
<line num="
|
|
1650
|
-
<line num="
|
|
1651
|
-
<line num="
|
|
1652
|
-
<line num="
|
|
1653
|
-
<line num="
|
|
1654
|
-
<line num="
|
|
1655
|
-
<line num="
|
|
1656
|
-
<line num="
|
|
1657
|
-
<line num="
|
|
1658
|
-
<line num="
|
|
1659
|
-
<line num="
|
|
1660
|
-
<line num="
|
|
1661
|
-
<line num="
|
|
1662
|
-
<line num="
|
|
1663
|
-
<line num="
|
|
1664
|
-
<line num="
|
|
1665
|
-
<line num="
|
|
1666
|
-
<line num="
|
|
1667
|
-
<line num="
|
|
1668
|
-
<line num="
|
|
1669
|
-
<line num="
|
|
1670
|
-
<line num="
|
|
1671
|
-
<line num="
|
|
1672
|
-
<line num="
|
|
1673
|
-
<line num="
|
|
1674
|
-
<line num="
|
|
1675
|
-
<line num="
|
|
1676
|
-
<line num="
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="
|
|
1681
|
-
<line num="
|
|
1682
|
-
<line num="
|
|
1683
|
-
<line num="
|
|
1684
|
-
<line num="
|
|
1685
|
-
<line num="
|
|
1686
|
-
<line num="
|
|
1687
|
-
<line num="314" count="8" type="stmt"/>
|
|
1688
|
-
<line num="324" count="0" type="stmt"/>
|
|
1689
|
-
<line num="325" count="0" type="stmt"/>
|
|
1690
|
-
<line num="331" count="0" type="stmt"/>
|
|
1691
|
-
<line num="332" count="0" type="stmt"/>
|
|
1692
|
-
<line num="336" count="2" type="stmt"/>
|
|
1693
|
-
<line num="337" count="2" type="stmt"/>
|
|
1694
|
-
<line num="339" count="2" type="stmt"/>
|
|
1695
|
-
<line num="340" count="2" type="stmt"/>
|
|
1696
|
-
<line num="346" count="9" type="stmt"/>
|
|
1697
|
-
<line num="347" count="9" type="stmt"/>
|
|
1698
|
-
<line num="351" count="3" type="stmt"/>
|
|
1699
|
-
<line num="352" count="3" type="stmt"/>
|
|
1700
|
-
<line num="360" count="18" type="stmt"/>
|
|
1605
|
+
<line num="79" count="22" type="stmt"/>
|
|
1606
|
+
<line num="80" count="22" type="stmt"/>
|
|
1607
|
+
<line num="83" count="18" type="stmt"/>
|
|
1608
|
+
<line num="84" count="4" type="stmt"/>
|
|
1609
|
+
<line num="85" count="4" type="stmt"/>
|
|
1610
|
+
<line num="91" count="158" type="stmt"/>
|
|
1611
|
+
<line num="93" count="158" type="stmt"/>
|
|
1612
|
+
<line num="94" count="158" type="stmt"/>
|
|
1613
|
+
<line num="95" count="158" type="stmt"/>
|
|
1614
|
+
<line num="96" count="158" type="stmt"/>
|
|
1615
|
+
<line num="97" count="158" type="stmt"/>
|
|
1616
|
+
<line num="100" count="158" type="stmt"/>
|
|
1617
|
+
<line num="101" count="16" type="stmt"/>
|
|
1618
|
+
<line num="103" count="158" type="cond" truecount="1" falsecount="0"/>
|
|
1619
|
+
<line num="104" count="72" type="stmt"/>
|
|
1620
|
+
<line num="106" count="158" type="stmt"/>
|
|
1621
|
+
<line num="107" count="158" type="stmt"/>
|
|
1622
|
+
<line num="109" count="142" type="stmt"/>
|
|
1623
|
+
<line num="115" count="18" type="stmt"/>
|
|
1624
|
+
<line num="116" count="18" type="stmt"/>
|
|
1625
|
+
<line num="118" count="18" type="stmt"/>
|
|
1626
|
+
<line num="119" count="18" type="stmt"/>
|
|
1627
|
+
<line num="120" count="18" type="stmt"/>
|
|
1628
|
+
<line num="125" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1629
|
+
<line num="126" count="18" type="stmt"/>
|
|
1630
|
+
<line num="132" count="18" type="stmt"/>
|
|
1631
|
+
<line num="134" count="6" type="stmt"/>
|
|
1632
|
+
<line num="137" count="6" type="stmt"/>
|
|
1633
|
+
<line num="145" count="6" type="stmt"/>
|
|
1634
|
+
<line num="146" count="6" type="stmt"/>
|
|
1635
|
+
<line num="148" count="6" type="stmt"/>
|
|
1636
|
+
<line num="152" count="475" type="stmt"/>
|
|
1637
|
+
<line num="153" count="475" type="stmt"/>
|
|
1638
|
+
<line num="155" count="407" type="stmt"/>
|
|
1639
|
+
<line num="168" count="48" type="stmt"/>
|
|
1640
|
+
<line num="176" count="48" type="stmt"/>
|
|
1641
|
+
<line num="180" count="87" type="cond" truecount="0" falsecount="1"/>
|
|
1642
|
+
<line num="181" count="0" type="stmt"/>
|
|
1643
|
+
<line num="183" count="87" type="stmt"/>
|
|
1644
|
+
<line num="189" count="86" type="stmt"/>
|
|
1645
|
+
<line num="194" count="86" type="stmt"/>
|
|
1646
|
+
<line num="195" count="86" type="stmt"/>
|
|
1647
|
+
<line num="203" count="78" type="stmt"/>
|
|
1648
|
+
<line num="204" count="78" type="cond" truecount="1" falsecount="1"/>
|
|
1649
|
+
<line num="205" count="78" type="stmt"/>
|
|
1650
|
+
<line num="206" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1651
|
+
<line num="207" count="0" type="stmt"/>
|
|
1652
|
+
<line num="209" count="0" type="stmt"/>
|
|
1653
|
+
<line num="214" count="19" type="stmt"/>
|
|
1654
|
+
<line num="217" count="18" type="stmt"/>
|
|
1655
|
+
<line num="218" count="1" type="stmt"/>
|
|
1656
|
+
<line num="224" count="18" type="stmt"/>
|
|
1657
|
+
<line num="228" count="18" type="stmt"/>
|
|
1658
|
+
<line num="232" count="18" type="stmt"/>
|
|
1659
|
+
<line num="236" count="18" type="stmt"/>
|
|
1660
|
+
<line num="240" count="74" type="stmt"/>
|
|
1661
|
+
<line num="241" count="74" type="stmt"/>
|
|
1662
|
+
<line num="246" count="64" type="cond" truecount="1" falsecount="0"/>
|
|
1663
|
+
<line num="247" count="17" type="stmt"/>
|
|
1664
|
+
<line num="249" count="64" type="stmt"/>
|
|
1665
|
+
<line num="250" count="64" type="stmt"/>
|
|
1666
|
+
<line num="251" count="64" type="stmt"/>
|
|
1667
|
+
<line num="257" count="36" type="stmt"/>
|
|
1668
|
+
<line num="258" count="36" type="stmt"/>
|
|
1669
|
+
<line num="265" count="36" type="cond" truecount="1" falsecount="0"/>
|
|
1670
|
+
<line num="266" count="36" type="stmt"/>
|
|
1671
|
+
<line num="283" count="8" type="stmt"/>
|
|
1672
|
+
<line num="284" count="8" type="stmt"/>
|
|
1673
|
+
<line num="294" count="0" type="stmt"/>
|
|
1674
|
+
<line num="295" count="0" type="stmt"/>
|
|
1675
|
+
<line num="301" count="0" type="stmt"/>
|
|
1676
|
+
<line num="302" count="0" type="stmt"/>
|
|
1677
|
+
<line num="306" count="2" type="stmt"/>
|
|
1678
|
+
<line num="307" count="2" type="stmt"/>
|
|
1679
|
+
<line num="309" count="2" type="stmt"/>
|
|
1680
|
+
<line num="310" count="2" type="stmt"/>
|
|
1681
|
+
<line num="316" count="9" type="stmt"/>
|
|
1682
|
+
<line num="317" count="9" type="stmt"/>
|
|
1683
|
+
<line num="321" count="3" type="stmt"/>
|
|
1684
|
+
<line num="322" count="3" type="stmt"/>
|
|
1685
|
+
<line num="330" count="18" type="stmt"/>
|
|
1701
1686
|
</file>
|
|
1702
1687
|
<file name="controllers.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/controllers.ts">
|
|
1703
1688
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="2"/>
|
|
@@ -1705,20 +1690,20 @@
|
|
|
1705
1690
|
<line num="2" count="18" type="stmt"/>
|
|
1706
1691
|
<line num="3" count="94" type="stmt"/>
|
|
1707
1692
|
<line num="4" count="18" type="stmt"/>
|
|
1708
|
-
<line num="5" count="
|
|
1693
|
+
<line num="5" count="64" type="stmt"/>
|
|
1709
1694
|
</file>
|
|
1710
1695
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/index.ts">
|
|
1711
1696
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="3"/>
|
|
1712
1697
|
<line num="1" count="18" type="stmt"/>
|
|
1713
1698
|
<line num="2" count="18" type="stmt"/>
|
|
1714
1699
|
<line num="3" count="18" type="stmt"/>
|
|
1715
|
-
<line num="4" count="
|
|
1700
|
+
<line num="4" count="65" type="stmt"/>
|
|
1716
1701
|
<line num="5" count="18" type="stmt"/>
|
|
1717
1702
|
<line num="6" count="18" type="stmt"/>
|
|
1718
1703
|
</file>
|
|
1719
1704
|
</package>
|
|
1720
1705
|
<package name="src.tests.api">
|
|
1721
|
-
<metrics statements="
|
|
1706
|
+
<metrics statements="184" coveredstatements="183" conditionals="49" coveredconditionals="38" methods="71" coveredmethods="70"/>
|
|
1722
1707
|
<file name="accounts.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/accounts.ts">
|
|
1723
1708
|
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
1724
1709
|
<line num="3" count="18" type="stmt"/>
|
|
@@ -1731,24 +1716,23 @@
|
|
|
1731
1716
|
<line num="21" count="2" type="stmt"/>
|
|
1732
1717
|
</file>
|
|
1733
1718
|
<file name="auth.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/auth.ts">
|
|
1734
|
-
<metrics statements="
|
|
1735
|
-
<line num="
|
|
1736
|
-
<line num="
|
|
1737
|
-
<line num="
|
|
1738
|
-
<line num="
|
|
1739
|
-
<line num="10" count="
|
|
1740
|
-
<line num="
|
|
1741
|
-
<line num="21" count="
|
|
1742
|
-
<line num="
|
|
1743
|
-
<line num="28" count="
|
|
1719
|
+
<metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
1720
|
+
<line num="2" count="18" type="stmt"/>
|
|
1721
|
+
<line num="4" count="18" type="stmt"/>
|
|
1722
|
+
<line num="6" count="18" type="stmt"/>
|
|
1723
|
+
<line num="9" count="18" type="stmt"/>
|
|
1724
|
+
<line num="10" count="1" type="stmt"/>
|
|
1725
|
+
<line num="20" count="18" type="stmt"/>
|
|
1726
|
+
<line num="21" count="1" type="stmt"/>
|
|
1727
|
+
<line num="27" count="18" type="stmt"/>
|
|
1728
|
+
<line num="28" count="2" type="stmt"/>
|
|
1744
1729
|
<line num="29" count="2" type="stmt"/>
|
|
1745
1730
|
<line num="30" count="2" type="stmt"/>
|
|
1746
1731
|
<line num="31" count="2" type="stmt"/>
|
|
1747
|
-
<line num="
|
|
1732
|
+
<line num="38" count="2" type="stmt"/>
|
|
1733
|
+
<line num="39" count="2" type="stmt"/>
|
|
1748
1734
|
<line num="42" count="2" type="stmt"/>
|
|
1749
1735
|
<line num="43" count="2" type="stmt"/>
|
|
1750
|
-
<line num="46" count="2" type="stmt"/>
|
|
1751
|
-
<line num="47" count="2" type="stmt"/>
|
|
1752
1736
|
</file>
|
|
1753
1737
|
<file name="base.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/api/base.ts">
|
|
1754
1738
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
@@ -1974,7 +1958,7 @@
|
|
|
1974
1958
|
</file>
|
|
1975
1959
|
</package>
|
|
1976
1960
|
<package name="src.tests.structures">
|
|
1977
|
-
<metrics statements="
|
|
1961
|
+
<metrics statements="35" coveredstatements="35" conditionals="0" coveredconditionals="0" methods="25" coveredmethods="24"/>
|
|
1978
1962
|
<file name="configs.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/configs.ts">
|
|
1979
1963
|
<metrics statements="12" coveredstatements="12" conditionals="0" coveredconditionals="0" methods="10" coveredmethods="10"/>
|
|
1980
1964
|
<line num="1" count="18" type="stmt"/>
|
|
@@ -1997,27 +1981,28 @@
|
|
|
1997
1981
|
<line num="10" count="3" type="stmt"/>
|
|
1998
1982
|
</file>
|
|
1999
1983
|
<file name="index.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/index.ts">
|
|
2000
|
-
<metrics statements="
|
|
1984
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
|
|
2001
1985
|
<line num="1" count="18" type="stmt"/>
|
|
2002
1986
|
<line num="2" count="18" type="stmt"/>
|
|
2003
1987
|
<line num="3" count="18" type="stmt"/>
|
|
2004
1988
|
<line num="4" count="18" type="stmt"/>
|
|
2005
1989
|
<line num="5" count="18" type="stmt"/>
|
|
2006
|
-
<line num="7" count="
|
|
2007
|
-
<line num="8" count="
|
|
2008
|
-
<line num="
|
|
2009
|
-
<line num="
|
|
1990
|
+
<line num="7" count="485" type="stmt"/>
|
|
1991
|
+
<line num="8" count="18" type="stmt"/>
|
|
1992
|
+
<line num="9" count="134" type="stmt"/>
|
|
1993
|
+
<line num="11" count="18" type="stmt"/>
|
|
1994
|
+
<line num="22" count="152" type="stmt"/>
|
|
2010
1995
|
</file>
|
|
2011
1996
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/tests/structures/users.ts">
|
|
2012
1997
|
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="9" coveredmethods="8"/>
|
|
2013
1998
|
<line num="1" count="18" type="stmt"/>
|
|
2014
1999
|
<line num="3" count="18" type="stmt"/>
|
|
2015
2000
|
<line num="5" count="18" type="stmt"/>
|
|
2016
|
-
<line num="6" count="
|
|
2001
|
+
<line num="6" count="85" type="stmt"/>
|
|
2017
2002
|
<line num="9" count="31" type="stmt"/>
|
|
2018
|
-
<line num="10" count="
|
|
2019
|
-
<line num="18" count="
|
|
2020
|
-
<line num="19" count="
|
|
2003
|
+
<line num="10" count="81" type="stmt"/>
|
|
2004
|
+
<line num="18" count="42" type="stmt"/>
|
|
2005
|
+
<line num="19" count="42" type="stmt"/>
|
|
2021
2006
|
<line num="30" count="18" type="stmt"/>
|
|
2022
2007
|
<line num="31" count="8" type="stmt"/>
|
|
2023
2008
|
</file>
|
|
@@ -2030,8 +2015,8 @@
|
|
|
2030
2015
|
<line num="2" count="18" type="stmt"/>
|
|
2031
2016
|
<line num="3" count="18" type="stmt"/>
|
|
2032
2017
|
<line num="4" count="18" type="stmt"/>
|
|
2033
|
-
<line num="8" count="
|
|
2034
|
-
<line num="9" count="
|
|
2018
|
+
<line num="8" count="101" type="cond" truecount="1" falsecount="0"/>
|
|
2019
|
+
<line num="9" count="101" type="stmt"/>
|
|
2035
2020
|
<line num="11" count="0" type="stmt"/>
|
|
2036
2021
|
<line num="12" count="0" type="stmt"/>
|
|
2037
2022
|
<line num="13" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -2042,10 +2027,10 @@
|
|
|
2042
2027
|
<line num="20" count="0" type="stmt"/>
|
|
2043
2028
|
<line num="23" count="0" type="stmt"/>
|
|
2044
2029
|
<line num="25" count="0" type="stmt"/>
|
|
2045
|
-
<line num="28" count="
|
|
2046
|
-
<line num="29" count="
|
|
2047
|
-
<line num="33" count="
|
|
2048
|
-
<line num="38" count="
|
|
2030
|
+
<line num="28" count="101" type="stmt"/>
|
|
2031
|
+
<line num="29" count="101" type="stmt"/>
|
|
2032
|
+
<line num="33" count="101" type="stmt"/>
|
|
2033
|
+
<line num="38" count="101" type="cond" truecount="1" falsecount="2"/>
|
|
2049
2034
|
<line num="39" count="0" type="stmt"/>
|
|
2050
2035
|
</file>
|
|
2051
2036
|
<file name="email.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/email.ts">
|
|
@@ -2199,11 +2184,11 @@
|
|
|
2199
2184
|
<file name="users.ts" path="/home/runner/work/budibase/budibase/packages/worker/src/utilities/users.ts">
|
|
2200
2185
|
<metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
2201
2186
|
<line num="1" count="18" type="stmt"/>
|
|
2202
|
-
<line num="3" count="
|
|
2203
|
-
<line num="4" count="
|
|
2204
|
-
<line num="5" count="
|
|
2205
|
-
<line num="6" count="
|
|
2206
|
-
<line num="12" count="
|
|
2187
|
+
<line num="3" count="10" type="stmt"/>
|
|
2188
|
+
<line num="4" count="10" type="stmt"/>
|
|
2189
|
+
<line num="5" count="10" type="stmt"/>
|
|
2190
|
+
<line num="6" count="10" type="stmt"/>
|
|
2191
|
+
<line num="12" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
2207
2192
|
<line num="14" count="0" type="stmt"/>
|
|
2208
2193
|
</file>
|
|
2209
2194
|
</package>
|