ffc-pay-schemes 1.0.13 → 1.0.15
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 +13 -7
- package/app/constants/manual-sources.js +79 -0
- package/app/constants/pillars.js +21 -0
- package/app/helpers/get-journal-source-from-pillar.js +15 -0
- package/app/pillar/get-pillar-from-scheme-id.js +11 -0
- package/app/pillar/get-pillars.js +9 -0
- package/index.js +6 -0
- package/package.json +1 -1
- package/test/unit/helpers/get-journal-source-from-pillar.test.js +25 -0
- package/test/unit/pillar/get-pillar-from-scheme-id.test.js +51 -0
- package/test/unit/pillar/get-pillars.test.js +8 -0
- package/test-output/cobertura-coverage.xml +76 -5
- package/test-output/junit.xml +325 -301
- 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 +1 -1
- 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 +20 -5
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/manual-sources.js.html +322 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/pillars.js.html +65 -2
- 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 +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/constants/sequence-positions.js.html +1 -1
- 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 +2 -2
- 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 +1 -1
- package/test-output/lcov-report/ffc-pay-schemes/app/helpers/get-journal-source-from-pillar.js.html +130 -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 +20 -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/pillar/get-pillar-from-scheme-id.js.html +118 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/pillar/get-pillars.js.html +112 -0
- package/test-output/lcov-report/ffc-pay-schemes/app/pillar/index.html +131 -0
- 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 +1 -1
- 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 +1 -1
- 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 +33 -18
- package/test-output/lcov.info +77 -4
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">92.
|
|
26
|
+
<span class="strong">92.21% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>308/334</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'>67/67</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'>44/44</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.02% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>300/326</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="25" class="abs low">0/25</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="25" class="abs low">0/25</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="96.
|
|
98
|
+
<td data-value="96.55" class="pic high">
|
|
99
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="96.
|
|
102
|
-
<td data-value="
|
|
101
|
+
<td data-value="96.55" class="pct high">96.55%</td>
|
|
102
|
+
<td data-value="29" class="abs high">28/29</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="96.
|
|
108
|
-
<td data-value="
|
|
107
|
+
<td data-value="96.55" class="pct high">96.55%</td>
|
|
108
|
+
<td data-value="29" class="abs high">28/29</td>
|
|
109
109
|
</tr>
|
|
110
110
|
|
|
111
111
|
<tr>
|
|
@@ -174,13 +174,28 @@
|
|
|
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="57" class="abs high">57/57</td>
|
|
178
178
|
<td data-value="100" class="pct high">100%</td>
|
|
179
|
-
<td data-value="
|
|
179
|
+
<td data-value="16" class="abs high">16/16</td>
|
|
180
|
+
<td data-value="100" class="pct high">100%</td>
|
|
181
|
+
<td data-value="9" class="abs high">9/9</td>
|
|
180
182
|
<td data-value="100" class="pct high">100%</td>
|
|
181
|
-
<td data-value="
|
|
183
|
+
<td data-value="57" class="abs high">57/57</td>
|
|
184
|
+
</tr>
|
|
185
|
+
|
|
186
|
+
<tr>
|
|
187
|
+
<td class="file high" data-value="ffc-pay-schemes/app/pillar"><a href="ffc-pay-schemes/app/pillar/index.html">ffc-pay-schemes/app/pillar</a></td>
|
|
188
|
+
<td data-value="100" class="pic high">
|
|
189
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
190
|
+
</td>
|
|
182
191
|
<td data-value="100" class="pct high">100%</td>
|
|
183
|
-
<td data-value="
|
|
192
|
+
<td data-value="11" class="abs high">11/11</td>
|
|
193
|
+
<td data-value="100" class="pct high">100%</td>
|
|
194
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
195
|
+
<td data-value="100" class="pct high">100%</td>
|
|
196
|
+
<td data-value="3" class="abs high">3/3</td>
|
|
197
|
+
<td data-value="100" class="pct high">100%</td>
|
|
198
|
+
<td data-value="10" class="abs high">10/10</td>
|
|
184
199
|
</tr>
|
|
185
200
|
|
|
186
201
|
<tr>
|
|
@@ -251,7 +266,7 @@
|
|
|
251
266
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
252
267
|
Code coverage generated by
|
|
253
268
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
254
|
-
at 2026-09-
|
|
269
|
+
at 2026-09-14T13:29:37.962Z
|
|
255
270
|
</div>
|
|
256
271
|
<script src="prettify.js"></script>
|
|
257
272
|
<script>
|
package/test-output/lcov.info
CHANGED
|
@@ -23,8 +23,11 @@ DA:18,0
|
|
|
23
23
|
DA:19,0
|
|
24
24
|
DA:20,0
|
|
25
25
|
DA:21,0
|
|
26
|
+
DA:22,0
|
|
26
27
|
DA:23,0
|
|
27
|
-
|
|
28
|
+
DA:24,0
|
|
29
|
+
DA:26,0
|
|
30
|
+
LF:25
|
|
28
31
|
LH:0
|
|
29
32
|
BRF:0
|
|
30
33
|
BRH:0
|
|
@@ -81,10 +84,21 @@ BRF:0
|
|
|
81
84
|
BRH:0
|
|
82
85
|
end_of_record
|
|
83
86
|
TN:
|
|
87
|
+
SF:app/constants/manual-sources.js
|
|
88
|
+
FNF:0
|
|
89
|
+
FNH:0
|
|
90
|
+
DA:39,1
|
|
91
|
+
DA:41,1
|
|
92
|
+
LF:2
|
|
93
|
+
LH:2
|
|
94
|
+
BRF:0
|
|
95
|
+
BRH:0
|
|
96
|
+
end_of_record
|
|
97
|
+
TN:
|
|
84
98
|
SF:app/constants/pillars.js
|
|
85
99
|
FNF:0
|
|
86
100
|
FNH:0
|
|
87
|
-
DA:1,
|
|
101
|
+
DA:1,4
|
|
88
102
|
LF:1
|
|
89
103
|
LH:1
|
|
90
104
|
BRF:0
|
|
@@ -105,7 +119,7 @@ TN:
|
|
|
105
119
|
SF:app/constants/scheme-ids.js
|
|
106
120
|
FNF:0
|
|
107
121
|
FNH:0
|
|
108
|
-
DA:1,
|
|
122
|
+
DA:1,13
|
|
109
123
|
LF:1
|
|
110
124
|
LH:1
|
|
111
125
|
BRF:0
|
|
@@ -194,7 +208,7 @@ TN:
|
|
|
194
208
|
SF:app/constants/unknown.js
|
|
195
209
|
FNF:0
|
|
196
210
|
FNH:0
|
|
197
|
-
DA:1,
|
|
211
|
+
DA:1,3
|
|
198
212
|
LF:1
|
|
199
213
|
LH:1
|
|
200
214
|
BRF:0
|
|
@@ -633,6 +647,29 @@ BRF:6
|
|
|
633
647
|
BRH:6
|
|
634
648
|
end_of_record
|
|
635
649
|
TN:
|
|
650
|
+
SF:app/helpers/get-journal-source-from-pillar.js
|
|
651
|
+
FN:4,(anonymous_0)
|
|
652
|
+
FNF:1
|
|
653
|
+
FNH:1
|
|
654
|
+
FNDA:4,(anonymous_0)
|
|
655
|
+
DA:1,1
|
|
656
|
+
DA:2,1
|
|
657
|
+
DA:4,1
|
|
658
|
+
DA:5,4
|
|
659
|
+
DA:6,1
|
|
660
|
+
DA:9,3
|
|
661
|
+
DA:10,3
|
|
662
|
+
DA:13,1
|
|
663
|
+
LF:8
|
|
664
|
+
LH:8
|
|
665
|
+
BRDA:5,0,0,1
|
|
666
|
+
BRDA:5,0,1,3
|
|
667
|
+
BRDA:10,1,0,3
|
|
668
|
+
BRDA:10,1,1,1
|
|
669
|
+
BRF:4
|
|
670
|
+
BRH:4
|
|
671
|
+
end_of_record
|
|
672
|
+
TN:
|
|
636
673
|
SF:app/helpers/get-reporting-data-filter.js
|
|
637
674
|
FN:4,(anonymous_0)
|
|
638
675
|
FNF:1
|
|
@@ -737,6 +774,42 @@ BRF:0
|
|
|
737
774
|
BRH:0
|
|
738
775
|
end_of_record
|
|
739
776
|
TN:
|
|
777
|
+
SF:app/pillar/get-pillar-from-scheme-id.js
|
|
778
|
+
FN:4,(anonymous_0)
|
|
779
|
+
FN:5,(anonymous_1)
|
|
780
|
+
FNF:2
|
|
781
|
+
FNH:2
|
|
782
|
+
FNDA:4,(anonymous_0)
|
|
783
|
+
FNDA:2,(anonymous_1)
|
|
784
|
+
DA:1,1
|
|
785
|
+
DA:2,1
|
|
786
|
+
DA:4,1
|
|
787
|
+
DA:5,4
|
|
788
|
+
DA:6,4
|
|
789
|
+
DA:9,1
|
|
790
|
+
LF:6
|
|
791
|
+
LH:6
|
|
792
|
+
BRDA:6,0,0,4
|
|
793
|
+
BRDA:6,0,1,3
|
|
794
|
+
BRF:2
|
|
795
|
+
BRH:2
|
|
796
|
+
end_of_record
|
|
797
|
+
TN:
|
|
798
|
+
SF:app/pillar/get-pillars.js
|
|
799
|
+
FN:3,(anonymous_0)
|
|
800
|
+
FNF:1
|
|
801
|
+
FNH:1
|
|
802
|
+
FNDA:1,(anonymous_0)
|
|
803
|
+
DA:1,1
|
|
804
|
+
DA:3,1
|
|
805
|
+
DA:4,1
|
|
806
|
+
DA:7,1
|
|
807
|
+
LF:4
|
|
808
|
+
LH:4
|
|
809
|
+
BRF:0
|
|
810
|
+
BRH:0
|
|
811
|
+
end_of_record
|
|
812
|
+
TN:
|
|
740
813
|
SF:app/scheme-id/get-scheme-id-from-pillar.js
|
|
741
814
|
FN:3,(anonymous_0)
|
|
742
815
|
FN:4,(anonymous_1)
|