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
|
@@ -25,28 +25,28 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>49/49</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'>12/12</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'>8/8</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>49/49</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -79,6 +79,21 @@
|
|
|
79
79
|
</tr>
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
|
+
<td class="file high" data-value="get-batch-sequence-from-file-name.js"><a href="get-batch-sequence-from-file-name.js.html">get-batch-sequence-from-file-name.js</a></td>
|
|
83
|
+
<td data-value="100" class="pic high">
|
|
84
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
85
|
+
</td>
|
|
86
|
+
<td data-value="100" class="pct high">100%</td>
|
|
87
|
+
<td data-value="17" class="abs high">17/17</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="6" class="abs high">6/6</td>
|
|
90
|
+
<td data-value="100" class="pct high">100%</td>
|
|
91
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
92
|
+
<td data-value="100" class="pct high">100%</td>
|
|
93
|
+
<td data-value="17" class="abs high">17/17</td>
|
|
94
|
+
</tr>
|
|
95
|
+
|
|
96
|
+
<tr>
|
|
82
97
|
<td class="file high" data-value="get-reporting-data-filter.js"><a href="get-reporting-data-filter.js.html">get-reporting-data-filter.js</a></td>
|
|
83
98
|
<td data-value="100" class="pic high">
|
|
84
99
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
@@ -108,6 +123,21 @@
|
|
|
108
123
|
<td data-value="4" class="abs high">4/4</td>
|
|
109
124
|
</tr>
|
|
110
125
|
|
|
126
|
+
<tr>
|
|
127
|
+
<td class="file high" data-value="is-siti-agri.js"><a href="is-siti-agri.js.html">is-siti-agri.js</a></td>
|
|
128
|
+
<td data-value="100" class="pic high">
|
|
129
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
130
|
+
</td>
|
|
131
|
+
<td data-value="100" class="pct high">100%</td>
|
|
132
|
+
<td data-value="4" class="abs high">4/4</td>
|
|
133
|
+
<td data-value="100" class="pct high">100%</td>
|
|
134
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
135
|
+
<td data-value="100" class="pct high">100%</td>
|
|
136
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
137
|
+
<td data-value="100" class="pct high">100%</td>
|
|
138
|
+
<td data-value="4" class="abs high">4/4</td>
|
|
139
|
+
</tr>
|
|
140
|
+
|
|
111
141
|
<tr>
|
|
112
142
|
<td class="file high" data-value="is-valid-scheme-id.js"><a href="is-valid-scheme-id.js.html">is-valid-scheme-id.js</a></td>
|
|
113
143
|
<td data-value="100" class="pic high">
|
|
@@ -161,7 +191,7 @@
|
|
|
161
191
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
162
192
|
Code coverage generated by
|
|
163
193
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
164
|
-
at 2026-09-
|
|
194
|
+
at 2026-09-08T11:28:31.536Z
|
|
165
195
|
</div>
|
|
166
196
|
<script src="../../../prettify.js"></script>
|
|
167
197
|
<script>
|
|
@@ -97,7 +97,7 @@ module.exports = {
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2026-09-
|
|
100
|
+
at 2026-09-08T11:28:31.536Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -97,7 +97,7 @@ module.exports = {
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2026-09-
|
|
100
|
+
at 2026-09-08T11:28:31.536Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -100,7 +100,7 @@ module.exports = {
|
|
|
100
100
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
101
101
|
Code coverage generated by
|
|
102
102
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
103
|
-
at 2026-09-
|
|
103
|
+
at 2026-09-08T11:28:31.536Z
|
|
104
104
|
</div>
|
|
105
105
|
<script src="../../../prettify.js"></script>
|
|
106
106
|
<script>
|
package/test-output/lcov-report/ffc-pay-schemes/app/helpers/scheme-does-not-require-ppas.js.html
CHANGED
|
@@ -97,7 +97,7 @@ module.exports = {
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2026-09-
|
|
100
|
+
at 2026-09-08T11:28:31.536Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -97,7 +97,7 @@ module.exports = {
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2026-09-
|
|
100
|
+
at 2026-09-08T11:28:31.536Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
package/test-output/lcov-report/ffc-pay-schemes/app/scheme-id/get-scheme-id-from-pillar.js.html
CHANGED
|
@@ -100,7 +100,7 @@ module.exports = {
|
|
|
100
100
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
101
101
|
Code coverage generated by
|
|
102
102
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
103
|
-
at 2026-09-
|
|
103
|
+
at 2026-09-08T11:28:31.536Z
|
|
104
104
|
</div>
|
|
105
105
|
<script src="../../../prettify.js"></script>
|
|
106
106
|
<script>
|
|
@@ -100,7 +100,7 @@ module.exports = {
|
|
|
100
100
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
101
101
|
Code coverage generated by
|
|
102
102
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
103
|
-
at 2026-09-
|
|
103
|
+
at 2026-09-08T11:28:31.536Z
|
|
104
104
|
</div>
|
|
105
105
|
<script src="../../../prettify.js"></script>
|
|
106
106
|
<script>
|
|
@@ -97,7 +97,7 @@ module.exports = {
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2026-09-
|
|
100
|
+
at 2026-09-08T11:28:31.536Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at 2026-09-
|
|
134
|
+
at 2026-09-08T11:28:31.536Z
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../../../prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -103,7 +103,7 @@ module.exports = {
|
|
|
103
103
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
104
104
|
Code coverage generated by
|
|
105
105
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
106
|
-
at 2026-09-
|
|
106
|
+
at 2026-09-08T11:28:31.536Z
|
|
107
107
|
</div>
|
|
108
108
|
<script src="../../../prettify.js"></script>
|
|
109
109
|
<script>
|
|
@@ -97,7 +97,7 @@ module.exports = {
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2026-09-
|
|
100
|
+
at 2026-09-08T11:28:31.536Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2026-09-
|
|
119
|
+
at 2026-09-08T11:28:31.536Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -97,7 +97,7 @@ module.exports = {
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2026-09-
|
|
100
|
+
at 2026-09-08T11:28:31.536Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for ffc-pay-schemes/app/scheme-properties/get-scheme-from-batch-file-name.js</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../../../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../../../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../../../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="../../../index.html">All files</a> / <a href="index.html">ffc-pay-schemes/app/scheme-properties</a> get-scheme-from-batch-file-name.js</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>5/5</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>2/2</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>5/5</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
|
|
78
|
+
<span class="cline-any cline-neutral"> </span>
|
|
79
|
+
<span class="cline-any cline-yes">1x</span>
|
|
80
|
+
<span class="cline-any cline-yes">4x</span>
|
|
81
|
+
<span class="cline-any cline-yes">9x</span>
|
|
82
|
+
<span class="cline-any cline-neutral"> </span>
|
|
83
|
+
<span class="cline-any cline-neutral"> </span>
|
|
84
|
+
<span class="cline-any cline-neutral"> </span>
|
|
85
|
+
<span class="cline-any cline-yes">1x</span>
|
|
86
|
+
<span class="cline-any cline-neutral"> </span>
|
|
87
|
+
<span class="cline-any cline-neutral"> </span>
|
|
88
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const schemes = require('../constants/schemes')
|
|
89
|
+
|
|
90
|
+
const getSchemeFromBatchFileName = (fileName) => {
|
|
91
|
+
return schemes.find(scheme =>
|
|
92
|
+
scheme.fileMask?.test(fileName)
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
module.exports = {
|
|
97
|
+
getSchemeFromBatchFileName
|
|
98
|
+
}
|
|
99
|
+
</pre></td></tr></table></pre>
|
|
100
|
+
|
|
101
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
102
|
+
</div><!-- /wrapper -->
|
|
103
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
104
|
+
Code coverage generated by
|
|
105
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
106
|
+
at 2026-09-08T11:28:31.536Z
|
|
107
|
+
</div>
|
|
108
|
+
<script src="../../../prettify.js"></script>
|
|
109
|
+
<script>
|
|
110
|
+
window.onload = function () {
|
|
111
|
+
prettyPrint();
|
|
112
|
+
};
|
|
113
|
+
</script>
|
|
114
|
+
<script src="../../../sorter.js"></script>
|
|
115
|
+
<script src="../../../block-navigation.js"></script>
|
|
116
|
+
</body>
|
|
117
|
+
</html>
|
|
118
|
+
|
package/test-output/lcov-report/ffc-pay-schemes/app/scheme-properties/get-scheme-properties.js.html
CHANGED
|
@@ -163,7 +163,7 @@ module.exports = {
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2026-09-
|
|
166
|
+
at 2026-09-08T11:28:31.536Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -118,7 +118,7 @@ module.exports = {
|
|
|
118
118
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
119
119
|
Code coverage generated by
|
|
120
120
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
121
|
-
at 2026-09-
|
|
121
|
+
at 2026-09-08T11:28:31.536Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>33/33</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -39,14 +39,14 @@
|
|
|
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'>10/10</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>30/30</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -93,6 +93,21 @@
|
|
|
93
93
|
<td data-value="4" class="abs high">4/4</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
|
+
<tr>
|
|
97
|
+
<td class="file high" data-value="get-scheme-from-batch-file-name.js"><a href="get-scheme-from-batch-file-name.js.html">get-scheme-from-batch-file-name.js</a></td>
|
|
98
|
+
<td data-value="100" class="pic high">
|
|
99
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
100
|
+
</td>
|
|
101
|
+
<td data-value="100" class="pct high">100%</td>
|
|
102
|
+
<td data-value="5" class="abs high">5/5</td>
|
|
103
|
+
<td data-value="100" class="pct high">100%</td>
|
|
104
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
105
|
+
<td data-value="100" class="pct high">100%</td>
|
|
106
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
107
|
+
<td data-value="100" class="pct high">100%</td>
|
|
108
|
+
<td data-value="5" class="abs high">5/5</td>
|
|
109
|
+
</tr>
|
|
110
|
+
|
|
96
111
|
<tr>
|
|
97
112
|
<td class="file high" data-value="get-scheme-properties.js"><a href="get-scheme-properties.js.html">get-scheme-properties.js</a></td>
|
|
98
113
|
<td data-value="100" class="pic high">
|
|
@@ -131,7 +146,7 @@
|
|
|
131
146
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
147
|
Code coverage generated by
|
|
133
148
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at 2026-09-
|
|
149
|
+
at 2026-09-08T11:28:31.536Z
|
|
135
150
|
</div>
|
|
136
151
|
<script src="../../../prettify.js"></script>
|
|
137
152
|
<script>
|
|
@@ -103,7 +103,7 @@ module.exports = {
|
|
|
103
103
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
104
104
|
Code coverage generated by
|
|
105
105
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
106
|
-
at 2026-09-
|
|
106
|
+
at 2026-09-08T11:28:31.536Z
|
|
107
107
|
</div>
|
|
108
108
|
<script src="../../../prettify.js"></script>
|
|
109
109
|
<script>
|
package/test-output/lcov-report/ffc-pay-schemes/app/source-system/get-source-systems.js.html
CHANGED
|
@@ -97,7 +97,7 @@ module.exports = {
|
|
|
97
97
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
98
98
|
Code coverage generated by
|
|
99
99
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
100
|
-
at 2026-09-
|
|
100
|
+
at 2026-09-08T11:28:31.536Z
|
|
101
101
|
</div>
|
|
102
102
|
<script src="../../../prettify.js"></script>
|
|
103
103
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2026-09-
|
|
119
|
+
at 2026-09-08T11:28:31.536Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/22</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/22</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -84,13 +84,13 @@
|
|
|
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
|
</tbody>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2026-09-
|
|
104
|
+
at 2026-09-08T11:28:31.536Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
26
|
<span class="strong">0% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>0/
|
|
28
|
+
<span class='fraction'>0/22</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
47
|
<span class="strong">0% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>0/
|
|
49
|
+
<span class='fraction'>0/22</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -102,7 +102,16 @@
|
|
|
102
102
|
<a name='L37'></a><a href='#L37'>37</a>
|
|
103
103
|
<a name='L38'></a><a href='#L38'>38</a>
|
|
104
104
|
<a name='L39'></a><a href='#L39'>39</a>
|
|
105
|
-
<a name='L40'></a><a href='#L40'>40</a
|
|
105
|
+
<a name='L40'></a><a href='#L40'>40</a>
|
|
106
|
+
<a name='L41'></a><a href='#L41'>41</a>
|
|
107
|
+
<a name='L42'></a><a href='#L42'>42</a>
|
|
108
|
+
<a name='L43'></a><a href='#L43'>43</a>
|
|
109
|
+
<a name='L44'></a><a href='#L44'>44</a>
|
|
110
|
+
<a name='L45'></a><a href='#L45'>45</a>
|
|
111
|
+
<a name='L46'></a><a href='#L46'>46</a></td><td class="line-coverage quiet"><span class="cline-any cline-no"> </span>
|
|
112
|
+
<span class="cline-any cline-no"> </span>
|
|
113
|
+
<span class="cline-any cline-no"> </span>
|
|
114
|
+
<span class="cline-any cline-no"> </span>
|
|
106
115
|
<span class="cline-any cline-no"> </span>
|
|
107
116
|
<span class="cline-any cline-no"> </span>
|
|
108
117
|
<span class="cline-any cline-no"> </span>
|
|
@@ -141,11 +150,16 @@
|
|
|
141
150
|
<span class="cline-any cline-neutral"> </span>
|
|
142
151
|
<span class="cline-any cline-neutral"> </span>
|
|
143
152
|
<span class="cline-any cline-neutral"> </span>
|
|
153
|
+
<span class="cline-any cline-neutral"> </span>
|
|
154
|
+
<span class="cline-any cline-neutral"> </span>
|
|
155
|
+
<span class="cline-any cline-neutral"> </span>
|
|
144
156
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const { createInvoiceNumber } = <span class="cstat-no" title="statement not covered" >require('./app/create-invoice-number')</span>
|
|
145
157
|
const { createSplitInvoiceNumber } = <span class="cstat-no" title="statement not covered" >require('./app/create-split-invoice-number')</span>
|
|
146
158
|
const { getAccountCodeMap } = <span class="cstat-no" title="statement not covered" >require('./app/get-account-code-map')</span>
|
|
159
|
+
const { getBatchSequenceFromFileName } = <span class="cstat-no" title="statement not covered" >require('./app/helpers/get-batch-sequence-from-file-name')</span>
|
|
147
160
|
const { getReportingDataFilter } = <span class="cstat-no" title="statement not covered" >require('./app/helpers/get-reporting-data-filter')</span>
|
|
148
161
|
const { getSchemeBatchProperties } = <span class="cstat-no" title="statement not covered" >require('./app/scheme-properties/get-scheme-batch-properties')</span>
|
|
162
|
+
const { getSchemeFromBatchFileName } = <span class="cstat-no" title="statement not covered" >require('./app/scheme-properties/get-scheme-from-batch-file-name')</span>
|
|
149
163
|
const { getSchemeIdFromPillar } = <span class="cstat-no" title="statement not covered" >require('./app/scheme-id/get-scheme-id-from-pillar')</span>
|
|
150
164
|
const { getSchemeIdFromSourceSystem } = <span class="cstat-no" title="statement not covered" >require('./app/scheme-id/get-scheme-id-from-source-system')</span>
|
|
151
165
|
const { getSchemeIds } = <span class="cstat-no" title="statement not covered" >require('./app/scheme-id/get-scheme-ids')</span>
|
|
@@ -156,6 +170,7 @@ const { getSchemes } = <span class="cstat-no" title="statement not covered" >req
|
|
|
156
170
|
const { getSourceSystemFromSchemeId } = <span class="cstat-no" title="statement not covered" >require('./app/source-system/get-source-system-from-scheme-id')</span>
|
|
157
171
|
const { getSourceSystems } = <span class="cstat-no" title="statement not covered" >require('./app/source-system/get-source-systems')</span>
|
|
158
172
|
const { isFRPS } = <span class="cstat-no" title="statement not covered" >require('./app/helpers/is-frps')</span>
|
|
173
|
+
const { isSitiAgri } = <span class="cstat-no" title="statement not covered" >require('./app/helpers/is-siti-agri')</span>
|
|
159
174
|
const { isValidSchemeId } = <span class="cstat-no" title="statement not covered" >require('./app/helpers/is-valid-scheme-id')</span>
|
|
160
175
|
const { schemeDoesNotRequirePPAs } = <span class="cstat-no" title="statement not covered" >require('./app/helpers/scheme-does-not-require-ppas')</span>
|
|
161
176
|
const { schemeProvidesAccountingValues } = <span class="cstat-no" title="statement not covered" >require('./app/helpers/scheme-provides-accounting-values')</span>
|
|
@@ -164,8 +179,10 @@ const { schemeProvidesAccountingValues } = <span class="cstat-no" title="stateme
|
|
|
164
179
|
createInvoiceNumber,
|
|
165
180
|
createSplitInvoiceNumber,
|
|
166
181
|
getAccountCodeMap,
|
|
182
|
+
getBatchSequenceFromFileName,
|
|
167
183
|
getReportingDataFilter,
|
|
168
184
|
getSchemeBatchProperties,
|
|
185
|
+
getSchemeFromBatchFileName,
|
|
169
186
|
getSchemeIdFromPillar,
|
|
170
187
|
getSchemeIdFromSourceSystem,
|
|
171
188
|
getSchemeIds,
|
|
@@ -176,6 +193,7 @@ const { schemeProvidesAccountingValues } = <span class="cstat-no" title="stateme
|
|
|
176
193
|
getSourceSystemFromSchemeId,
|
|
177
194
|
getSourceSystems,
|
|
178
195
|
isFRPS,
|
|
196
|
+
isSitiAgri,
|
|
179
197
|
isValidSchemeId,
|
|
180
198
|
schemeDoesNotRequirePPAs,
|
|
181
199
|
schemeProvidesAccountingValues
|
|
@@ -187,7 +205,7 @@ const { schemeProvidesAccountingValues } = <span class="cstat-no" title="stateme
|
|
|
187
205
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
188
206
|
Code coverage generated by
|
|
189
207
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
190
|
-
at 2026-09-
|
|
208
|
+
at 2026-09-08T11:28:31.536Z
|
|
191
209
|
</div>
|
|
192
210
|
<script src="../prettify.js"></script>
|
|
193
211
|
<script>
|