ffc-pay-schemes 1.0.12 → 1.0.13
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/README.md +4 -0
- package/app/constants/file-masks.js +14 -0
- package/app/constants/schemes.js +26 -13
- package/app/constants/sequence-positions.js +13 -0
- package/app/helpers/get-batch-sequence-from-file-name.js +34 -0
- package/app/scheme-properties/get-scheme-from-batch-file-name.js +11 -0
- package/index.js +4 -0
- package/package.json +1 -1
- package/test/unit/helpers/get-batch-sequence-from-file-name.test.js +55 -0
- package/test/unit/scheme-properties/get-scheme-from-batch-file-name.test.js +51 -0
- package/test-output/cobertura-coverage.xml +99 -4
- package/test-output/junit.xml +358 -306
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ap.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-admin.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-irregular.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/delivery-bodies.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/description-codes.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/file-masks.js.html +127 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/frps-schemes.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/fund-codes.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/index.html +52 -7
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/pillars.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-batch-properties.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-ids.js.html +2 -2
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-names.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-not-requiring-ppas.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-providing-account-values.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes.js.html +57 -18
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/sequence-positions.js.html +124 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/siti-agri-schemes.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/source-systems.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/unknown.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-default-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-es-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-imps-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-standard-scheme-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/use-invoice-number-as-is.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-default-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/bps-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cohtc-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cs-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/default-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/delinked-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/lump-sums-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/sfi-frps-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/vet-visits-map.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/get-batch-sequence-from-file-name.js.html +187 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/get-reporting-data-filter.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/index.html +35 -5
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/is-frps.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/is-siti-agri.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/is-valid-scheme-id.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/scheme-does-not-require-ppas.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/scheme-provides-accounting-values.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-id/get-scheme-id-from-pillar.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-id/get-scheme-id-from-source-system.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-id/get-scheme-ids.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-id/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-name/get-scheme-name-from-scheme-id.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-name/get-scheme-names.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-name/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-properties/get-scheme-batch-properties.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-properties/get-scheme-from-batch-file-name.js.html +118 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-properties/get-scheme-properties.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-properties/get-schemes.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/scheme-properties/index.html +19 -4
- package/test-output/lcov-report/ffc-pay-schemes/app/source-system/get-source-system-from-scheme-id.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/source-system/get-source-systems.js.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/source-system/index.html +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/index.html +5 -5
- package/test-output/lcov-report/ffc-pay-schemes/index.js.html +22 -4
- package/test-output/lcov-report/index.html +22 -22
- package/test-output/lcov.info +109 -5
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">92.58% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>287/310</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>61/61</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
40
|
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>40/40</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">92.
|
|
47
|
+
<span class="strong">92.4% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>280/303</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -84,28 +84,28 @@
|
|
|
84
84
|
<div class="chart"><div class="cover-fill" style="width: 0%"></div><div class="cover-empty" style="width: 100%"></div></div>
|
|
85
85
|
</td>
|
|
86
86
|
<td data-value="0" class="pct low">0%</td>
|
|
87
|
-
<td data-value="
|
|
87
|
+
<td data-value="22" class="abs low">0/22</td>
|
|
88
88
|
<td data-value="100" class="pct high">100%</td>
|
|
89
89
|
<td data-value="0" class="abs high">0/0</td>
|
|
90
90
|
<td data-value="100" class="pct high">100%</td>
|
|
91
91
|
<td data-value="0" class="abs high">0/0</td>
|
|
92
92
|
<td data-value="0" class="pct low">0%</td>
|
|
93
|
-
<td data-value="
|
|
93
|
+
<td data-value="22" class="abs low">0/22</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
97
97
|
<td class="file high" data-value="ffc-pay-schemes/app/constants"><a href="ffc-pay-schemes/app/constants/index.html">ffc-pay-schemes/app/constants</a></td>
|
|
98
|
-
<td data-value="
|
|
99
|
-
<div class="chart"><div class="cover-fill
|
|
98
|
+
<td data-value="96.29" class="pic high">
|
|
99
|
+
<div class="chart"><div class="cover-fill" style="width: 96%"></div><div class="cover-empty" style="width: 4%"></div></div>
|
|
100
100
|
</td>
|
|
101
|
-
<td data-value="
|
|
102
|
-
<td data-value="
|
|
101
|
+
<td data-value="96.29" class="pct high">96.29%</td>
|
|
102
|
+
<td data-value="27" class="abs high">26/27</td>
|
|
103
103
|
<td data-value="100" class="pct high">100%</td>
|
|
104
104
|
<td data-value="0" class="abs high">0/0</td>
|
|
105
105
|
<td data-value="100" class="pct high">100%</td>
|
|
106
106
|
<td data-value="0" class="abs high">0/0</td>
|
|
107
|
-
<td data-value="
|
|
108
|
-
<td data-value="
|
|
107
|
+
<td data-value="96.29" class="pct high">96.29%</td>
|
|
108
|
+
<td data-value="27" class="abs high">26/27</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
@@ -174,13 +174,13 @@
|
|
|
174
174
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
175
175
|
</td>
|
|
176
176
|
<td data-value="100" class="pct high">100%</td>
|
|
177
|
-
<td data-value="
|
|
177
|
+
<td data-value="49" class="abs high">49/49</td>
|
|
178
178
|
<td data-value="100" class="pct high">100%</td>
|
|
179
|
-
<td data-value="
|
|
179
|
+
<td data-value="12" class="abs high">12/12</td>
|
|
180
180
|
<td data-value="100" class="pct high">100%</td>
|
|
181
|
-
<td data-value="
|
|
181
|
+
<td data-value="8" class="abs high">8/8</td>
|
|
182
182
|
<td data-value="100" class="pct high">100%</td>
|
|
183
|
-
<td data-value="
|
|
183
|
+
<td data-value="49" class="abs high">49/49</td>
|
|
184
184
|
</tr>
|
|
185
185
|
|
|
186
186
|
<tr>
|
|
@@ -219,13 +219,13 @@
|
|
|
219
219
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
220
220
|
</td>
|
|
221
221
|
<td data-value="100" class="pct high">100%</td>
|
|
222
|
-
<td data-value="
|
|
222
|
+
<td data-value="33" class="abs high">33/33</td>
|
|
223
223
|
<td data-value="100" class="pct high">100%</td>
|
|
224
224
|
<td data-value="10" class="abs high">10/10</td>
|
|
225
225
|
<td data-value="100" class="pct high">100%</td>
|
|
226
|
-
<td data-value="
|
|
226
|
+
<td data-value="10" class="abs high">10/10</td>
|
|
227
227
|
<td data-value="100" class="pct high">100%</td>
|
|
228
|
-
<td data-value="
|
|
228
|
+
<td data-value="30" class="abs high">30/30</td>
|
|
229
229
|
</tr>
|
|
230
230
|
|
|
231
231
|
<tr>
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
252
252
|
Code coverage generated by
|
|
253
253
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
254
|
-
at 2026-09-
|
|
254
|
+
at 2026-09-08T11:28:31.536Z
|
|
255
255
|
</div>
|
|
256
256
|
<script src="prettify.js"></script>
|
|
257
257
|
<script>
|
package/test-output/lcov.info
CHANGED
|
@@ -20,8 +20,11 @@ DA:15,0
|
|
|
20
20
|
DA:16,0
|
|
21
21
|
DA:17,0
|
|
22
22
|
DA:18,0
|
|
23
|
+
DA:19,0
|
|
23
24
|
DA:20,0
|
|
24
|
-
|
|
25
|
+
DA:21,0
|
|
26
|
+
DA:23,0
|
|
27
|
+
LF:22
|
|
25
28
|
LH:0
|
|
26
29
|
BRF:0
|
|
27
30
|
BRH:0
|
|
@@ -47,6 +50,16 @@ BRF:0
|
|
|
47
50
|
BRH:0
|
|
48
51
|
end_of_record
|
|
49
52
|
TN:
|
|
53
|
+
SF:app/constants/file-masks.js
|
|
54
|
+
FNF:0
|
|
55
|
+
FNH:0
|
|
56
|
+
DA:1,1
|
|
57
|
+
LF:1
|
|
58
|
+
LH:1
|
|
59
|
+
BRF:0
|
|
60
|
+
BRH:0
|
|
61
|
+
end_of_record
|
|
62
|
+
TN:
|
|
50
63
|
SF:app/constants/frps-schemes.js
|
|
51
64
|
FNF:0
|
|
52
65
|
FNH:0
|
|
@@ -92,7 +105,7 @@ TN:
|
|
|
92
105
|
SF:app/constants/scheme-ids.js
|
|
93
106
|
FNF:0
|
|
94
107
|
FNH:0
|
|
95
|
-
DA:1,
|
|
108
|
+
DA:1,12
|
|
96
109
|
LF:1
|
|
97
110
|
LH:1
|
|
98
111
|
BRF:0
|
|
@@ -139,9 +152,31 @@ DA:2,1
|
|
|
139
152
|
DA:3,1
|
|
140
153
|
DA:4,1
|
|
141
154
|
DA:5,1
|
|
142
|
-
DA:
|
|
143
|
-
|
|
144
|
-
|
|
155
|
+
DA:6,1
|
|
156
|
+
DA:8,1
|
|
157
|
+
LF:7
|
|
158
|
+
LH:7
|
|
159
|
+
BRF:0
|
|
160
|
+
BRH:0
|
|
161
|
+
end_of_record
|
|
162
|
+
TN:
|
|
163
|
+
SF:app/constants/sequence-positions.js
|
|
164
|
+
FNF:0
|
|
165
|
+
FNH:0
|
|
166
|
+
DA:1,0
|
|
167
|
+
LF:1
|
|
168
|
+
LH:0
|
|
169
|
+
BRF:0
|
|
170
|
+
BRH:0
|
|
171
|
+
end_of_record
|
|
172
|
+
TN:
|
|
173
|
+
SF:app/constants/siti-agri-schemes.js
|
|
174
|
+
FNF:0
|
|
175
|
+
FNH:0
|
|
176
|
+
DA:1,1
|
|
177
|
+
DA:3,1
|
|
178
|
+
LF:2
|
|
179
|
+
LH:2
|
|
145
180
|
BRF:0
|
|
146
181
|
BRH:0
|
|
147
182
|
end_of_record
|
|
@@ -562,6 +597,42 @@ BRF:0
|
|
|
562
597
|
BRH:0
|
|
563
598
|
end_of_record
|
|
564
599
|
TN:
|
|
600
|
+
SF:app/helpers/get-batch-sequence-from-file-name.js
|
|
601
|
+
FN:7,(anonymous_0)
|
|
602
|
+
FN:16,(anonymous_1)
|
|
603
|
+
FNF:2
|
|
604
|
+
FNH:2
|
|
605
|
+
FNDA:5,(anonymous_0)
|
|
606
|
+
FNDA:7,(anonymous_1)
|
|
607
|
+
DA:1,1
|
|
608
|
+
DA:2,1
|
|
609
|
+
DA:4,1
|
|
610
|
+
DA:5,1
|
|
611
|
+
DA:7,1
|
|
612
|
+
DA:8,5
|
|
613
|
+
DA:9,2
|
|
614
|
+
DA:15,3
|
|
615
|
+
DA:16,7
|
|
616
|
+
DA:18,3
|
|
617
|
+
DA:19,1
|
|
618
|
+
DA:22,2
|
|
619
|
+
DA:23,2
|
|
620
|
+
DA:25,2
|
|
621
|
+
DA:26,1
|
|
622
|
+
DA:29,1
|
|
623
|
+
DA:32,1
|
|
624
|
+
LF:17
|
|
625
|
+
LH:17
|
|
626
|
+
BRDA:8,0,0,2
|
|
627
|
+
BRDA:8,0,1,3
|
|
628
|
+
BRDA:18,1,0,1
|
|
629
|
+
BRDA:18,1,1,2
|
|
630
|
+
BRDA:25,2,0,1
|
|
631
|
+
BRDA:25,2,1,1
|
|
632
|
+
BRF:6
|
|
633
|
+
BRH:6
|
|
634
|
+
end_of_record
|
|
635
|
+
TN:
|
|
565
636
|
SF:app/helpers/get-reporting-data-filter.js
|
|
566
637
|
FN:4,(anonymous_0)
|
|
567
638
|
FNF:1
|
|
@@ -605,6 +676,21 @@ BRF:0
|
|
|
605
676
|
BRH:0
|
|
606
677
|
end_of_record
|
|
607
678
|
TN:
|
|
679
|
+
SF:app/helpers/is-siti-agri.js
|
|
680
|
+
FN:3,(anonymous_0)
|
|
681
|
+
FNF:1
|
|
682
|
+
FNH:1
|
|
683
|
+
FNDA:14,(anonymous_0)
|
|
684
|
+
DA:1,1
|
|
685
|
+
DA:3,1
|
|
686
|
+
DA:4,14
|
|
687
|
+
DA:7,1
|
|
688
|
+
LF:4
|
|
689
|
+
LH:4
|
|
690
|
+
BRF:0
|
|
691
|
+
BRH:0
|
|
692
|
+
end_of_record
|
|
693
|
+
TN:
|
|
608
694
|
SF:app/helpers/is-valid-scheme-id.js
|
|
609
695
|
FN:3,(anonymous_0)
|
|
610
696
|
FNF:1
|
|
@@ -755,6 +841,24 @@ BRF:0
|
|
|
755
841
|
BRH:0
|
|
756
842
|
end_of_record
|
|
757
843
|
TN:
|
|
844
|
+
SF:app/scheme-properties/get-scheme-from-batch-file-name.js
|
|
845
|
+
FN:3,(anonymous_0)
|
|
846
|
+
FN:4,(anonymous_1)
|
|
847
|
+
FNF:2
|
|
848
|
+
FNH:2
|
|
849
|
+
FNDA:4,(anonymous_0)
|
|
850
|
+
FNDA:9,(anonymous_1)
|
|
851
|
+
DA:1,1
|
|
852
|
+
DA:3,1
|
|
853
|
+
DA:4,4
|
|
854
|
+
DA:5,9
|
|
855
|
+
DA:9,1
|
|
856
|
+
LF:5
|
|
857
|
+
LH:5
|
|
858
|
+
BRF:0
|
|
859
|
+
BRH:0
|
|
860
|
+
end_of_record
|
|
861
|
+
TN:
|
|
758
862
|
SF:app/scheme-properties/get-scheme-properties.js
|
|
759
863
|
FN:4,(anonymous_0)
|
|
760
864
|
FN:6,(anonymous_1)
|