ffc-pay-schemes 1.1.2 → 1.1.4

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.
Files changed (85) hide show
  1. package/README.md +1 -1
  2. package/app/scheme-id/get-scheme-id-from-pillar.js +3 -1
  3. package/app/scheme-properties/get-siti-agri-schemes.js +20 -6
  4. package/package.json +1 -1
  5. package/test/unit/scheme-id/get-scheme-id-from-pillar.test.js +28 -0
  6. package/test/unit/scheme-properties/get-siti-agri-schemes.test.js +30 -6
  7. package/test-output/cobertura-coverage.xml +32 -26
  8. package/test-output/junit.xml +384 -378
  9. package/test-output/lcov-report/constants/account-codes/ap.js.html +1 -1
  10. package/test-output/lcov-report/constants/account-codes/ar-admin.js.html +1 -1
  11. package/test-output/lcov-report/constants/account-codes/ar-irregular.js.html +1 -1
  12. package/test-output/lcov-report/constants/account-codes/index.html +1 -1
  13. package/test-output/lcov-report/constants/delivery-bodies.js.html +1 -1
  14. package/test-output/lcov-report/constants/description-codes.js.html +1 -1
  15. package/test-output/lcov-report/constants/file-masks.js.html +1 -1
  16. package/test-output/lcov-report/constants/frps-schemes.js.html +1 -1
  17. package/test-output/lcov-report/constants/fund-codes.js.html +1 -1
  18. package/test-output/lcov-report/constants/index.html +5 -20
  19. package/test-output/lcov-report/constants/manual-sources.js.html +1 -1
  20. package/test-output/lcov-report/constants/pillars.js.html +1 -1
  21. package/test-output/lcov-report/constants/scheme-batch-properties.js.html +1 -1
  22. package/test-output/lcov-report/constants/scheme-ids.js.html +1 -1
  23. package/test-output/lcov-report/constants/scheme-names.js.html +1 -1
  24. package/test-output/lcov-report/constants/schemes-not-requiring-ppas.js.html +1 -1
  25. package/test-output/lcov-report/constants/schemes-providing-account-values.js.html +1 -1
  26. package/test-output/lcov-report/constants/schemes.js.html +1 -1
  27. package/test-output/lcov-report/constants/sequence-positions.js.html +1 -1
  28. package/test-output/lcov-report/constants/siti-agri-schemes.js.html +1 -1
  29. package/test-output/lcov-report/constants/source-systems.js.html +1 -1
  30. package/test-output/lcov-report/constants/unknown.js.html +1 -1
  31. package/test-output/lcov-report/create-invoice-number/create-default-invoice-number.js.html +1 -1
  32. package/test-output/lcov-report/create-invoice-number/create-es-invoice-number.js.html +1 -1
  33. package/test-output/lcov-report/create-invoice-number/create-imps-invoice-number.js.html +1 -1
  34. package/test-output/lcov-report/create-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
  35. package/test-output/lcov-report/create-invoice-number/create-standard-scheme-invoice-number.js.html +1 -1
  36. package/test-output/lcov-report/create-invoice-number/index.html +1 -1
  37. package/test-output/lcov-report/create-invoice-number/index.js.html +1 -1
  38. package/test-output/lcov-report/create-invoice-number/use-invoice-number-as-is.js.html +1 -1
  39. package/test-output/lcov-report/create-split-invoice-number/create-default-invoice-number.js.html +1 -1
  40. package/test-output/lcov-report/create-split-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
  41. package/test-output/lcov-report/create-split-invoice-number/index.html +1 -1
  42. package/test-output/lcov-report/create-split-invoice-number/index.js.html +1 -1
  43. package/test-output/lcov-report/get-account-code-map/bps-map.js.html +1 -1
  44. package/test-output/lcov-report/get-account-code-map/cohtc-map.js.html +1 -1
  45. package/test-output/lcov-report/get-account-code-map/cs-map.js.html +1 -1
  46. package/test-output/lcov-report/get-account-code-map/default-map.js.html +1 -1
  47. package/test-output/lcov-report/get-account-code-map/delinked-map.js.html +1 -1
  48. package/test-output/lcov-report/get-account-code-map/index.html +1 -1
  49. package/test-output/lcov-report/get-account-code-map/index.js.html +1 -1
  50. package/test-output/lcov-report/get-account-code-map/lump-sums-map.js.html +1 -1
  51. package/test-output/lcov-report/get-account-code-map/sfi-frps-map.js.html +1 -1
  52. package/test-output/lcov-report/get-account-code-map/vet-visits-map.js.html +1 -1
  53. package/test-output/lcov-report/helpers/get-batch-sequence-from-file-name.js.html +1 -1
  54. package/test-output/lcov-report/helpers/get-delivery-body-from-scheme-id.js.html +115 -0
  55. package/test-output/lcov-report/helpers/get-fund-code-from-scheme-id.js.html +115 -0
  56. package/test-output/lcov-report/helpers/get-journal-source-from-pillar.js.html +1 -1
  57. package/test-output/lcov-report/helpers/get-reporting-data-filter.js.html +1 -1
  58. package/test-output/lcov-report/helpers/index.html +1 -1
  59. package/test-output/lcov-report/helpers/is-frps.js.html +1 -1
  60. package/test-output/lcov-report/helpers/is-siti-agri.js.html +1 -1
  61. package/test-output/lcov-report/helpers/scheme-does-not-require-ppas.js.html +1 -1
  62. package/test-output/lcov-report/helpers/scheme-provides-accounting-values.js.html +1 -1
  63. package/test-output/lcov-report/index.html +26 -26
  64. package/test-output/lcov-report/pillar/get-pillar-from-scheme-id.js.html +1 -1
  65. package/test-output/lcov-report/pillar/get-pillars.js.html +1 -1
  66. package/test-output/lcov-report/pillar/index.html +1 -1
  67. package/test-output/lcov-report/scheme-id/get-scheme-id-from-pillar.js.html +13 -7
  68. package/test-output/lcov-report/scheme-id/get-scheme-id-from-source-system.js.html +1 -1
  69. package/test-output/lcov-report/scheme-id/get-scheme-ids.js.html +1 -1
  70. package/test-output/lcov-report/scheme-id/get-siti-agri-scheme-ids.js.html +1 -1
  71. package/test-output/lcov-report/scheme-id/index.html +5 -5
  72. package/test-output/lcov-report/scheme-id/is-valid-scheme-id.js.html +1 -1
  73. package/test-output/lcov-report/scheme-name/get-scheme-name-from-scheme-id.js.html +1 -1
  74. package/test-output/lcov-report/scheme-name/get-scheme-names.js.html +1 -1
  75. package/test-output/lcov-report/scheme-name/index.html +1 -1
  76. package/test-output/lcov-report/scheme-properties/get-scheme-batch-properties.js.html +1 -1
  77. package/test-output/lcov-report/scheme-properties/get-scheme-from-batch-file-name.js.html +1 -1
  78. package/test-output/lcov-report/scheme-properties/get-scheme-properties.js.html +1 -1
  79. package/test-output/lcov-report/scheme-properties/get-schemes.js.html +1 -1
  80. package/test-output/lcov-report/scheme-properties/get-siti-agri-schemes.js.html +58 -16
  81. package/test-output/lcov-report/scheme-properties/index.html +18 -18
  82. package/test-output/lcov-report/source-system/get-source-system-from-scheme-id.js.html +1 -1
  83. package/test-output/lcov-report/source-system/get-source-systems.js.html +1 -1
  84. package/test-output/lcov-report/source-system/index.html +1 -1
  85. package/test-output/lcov.info +39 -33
@@ -0,0 +1,115 @@
1
+
2
+ <!doctype html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <title>Code coverage report for helpers/get-delivery-body-from-scheme-id.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">helpers</a> get-delivery-body-from-scheme-id.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'>1/1</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></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
77
+ <span class="cline-any cline-neutral">&nbsp;</span>
78
+ <span class="cline-any cline-yes">1x</span>
79
+ <span class="cline-any cline-yes">3x</span>
80
+ <span class="cline-any cline-yes">3x</span>
81
+ <span class="cline-any cline-neutral">&nbsp;</span>
82
+ <span class="cline-any cline-neutral">&nbsp;</span>
83
+ <span class="cline-any cline-yes">1x</span>
84
+ <span class="cline-any cline-neutral">&nbsp;</span>
85
+ <span class="cline-any cline-neutral">&nbsp;</span>
86
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">const { getSchemeProperties } = require('../scheme-properties/get-scheme-properties')
87
+ &nbsp;
88
+ const getDeliveryBodyFromSchemeId = (schemeId) =&gt; {
89
+ const schemeProperties = getSchemeProperties(schemeId)
90
+ return schemeProperties?.deliveryBody
91
+ }
92
+ &nbsp;
93
+ module.exports = {
94
+ getDeliveryBodyFromSchemeId
95
+ }
96
+ &nbsp;</pre></td></tr></table></pre>
97
+
98
+ <div class='push'></div><!-- for sticky footer -->
99
+ </div><!-- /wrapper -->
100
+ <div class='footer quiet pad2 space-top1 center small'>
101
+ Code coverage generated by
102
+ <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
103
+ at 2026-10-14T16:29:11.544Z
104
+ </div>
105
+ <script src="../prettify.js"></script>
106
+ <script>
107
+ window.onload = function () {
108
+ prettyPrint();
109
+ };
110
+ </script>
111
+ <script src="../sorter.js"></script>
112
+ <script src="../block-navigation.js"></script>
113
+ </body>
114
+ </html>
115
+
@@ -0,0 +1,115 @@
1
+
2
+ <!doctype html>
3
+ <html lang="en">
4
+
5
+ <head>
6
+ <title>Code coverage report for helpers/get-fund-code-from-scheme-id.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">helpers</a> get-fund-code-from-scheme-id.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'>1/1</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></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
77
+ <span class="cline-any cline-neutral">&nbsp;</span>
78
+ <span class="cline-any cline-yes">1x</span>
79
+ <span class="cline-any cline-yes">3x</span>
80
+ <span class="cline-any cline-yes">3x</span>
81
+ <span class="cline-any cline-neutral">&nbsp;</span>
82
+ <span class="cline-any cline-neutral">&nbsp;</span>
83
+ <span class="cline-any cline-yes">1x</span>
84
+ <span class="cline-any cline-neutral">&nbsp;</span>
85
+ <span class="cline-any cline-neutral">&nbsp;</span>
86
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">const { getSchemeProperties } = require('../scheme-properties/get-scheme-properties')
87
+ &nbsp;
88
+ const getFundCodeFromSchemeId = (schemeId) =&gt; {
89
+ const schemeProperties = getSchemeProperties(schemeId)
90
+ return schemeProperties?.fundCode
91
+ }
92
+ &nbsp;
93
+ module.exports = {
94
+ getFundCodeFromSchemeId
95
+ }
96
+ &nbsp;</pre></td></tr></table></pre>
97
+
98
+ <div class='push'></div><!-- for sticky footer -->
99
+ </div><!-- /wrapper -->
100
+ <div class='footer quiet pad2 space-top1 center small'>
101
+ Code coverage generated by
102
+ <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
103
+ at 2026-10-14T16:29:11.544Z
104
+ </div>
105
+ <script src="../prettify.js"></script>
106
+ <script>
107
+ window.onload = function () {
108
+ prettyPrint();
109
+ };
110
+ </script>
111
+ <script src="../sorter.js"></script>
112
+ <script src="../block-navigation.js"></script>
113
+ </body>
114
+ </html>
115
+
@@ -115,7 +115,7 @@ module.exports = {
115
115
  <div class='footer quiet pad2 space-top1 center small'>
116
116
  Code coverage generated by
117
117
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
118
- at 2026-10-12T15:21:12.317Z
118
+ at 2026-10-28T15:06:55.926Z
119
119
  </div>
120
120
  <script src="../prettify.js"></script>
121
121
  <script>
@@ -139,7 +139,7 @@ module.exports = {
139
139
  <div class='footer quiet pad2 space-top1 center small'>
140
140
  Code coverage generated by
141
141
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
142
- at 2026-10-12T15:21:12.317Z
142
+ at 2026-10-28T15:06:55.926Z
143
143
  </div>
144
144
  <script src="../prettify.js"></script>
145
145
  <script>
@@ -191,7 +191,7 @@
191
191
  <div class='footer quiet pad2 space-top1 center small'>
192
192
  Code coverage generated by
193
193
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
194
- at 2026-10-12T15:21:12.317Z
194
+ at 2026-10-28T15:06:55.926Z
195
195
  </div>
196
196
  <script src="../prettify.js"></script>
197
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
101
101
  </div>
102
102
  <script src="../prettify.js"></script>
103
103
  <script>
@@ -23,30 +23,30 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">99.38% </span>
26
+ <span class="strong">99.69% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>321/323</span>
28
+ <span class='fraction'>327/328</span>
29
29
  </div>
30
30
 
31
31
 
32
32
  <div class='fl pad1y space-right2'>
33
- <span class="strong">100% </span>
33
+ <span class="strong">98.63% </span>
34
34
  <span class="quiet">Branches</span>
35
- <span class='fraction'>67/67</span>
35
+ <span class='fraction'>72/73</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'>47/47</span>
42
+ <span class='fraction'>48/48</span>
43
43
  </div>
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
- <span class="strong">99.36% </span>
47
+ <span class="strong">99.68% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>312/314</span>
49
+ <span class='fraction'>320/321</span>
50
50
  </div>
51
51
 
52
52
 
@@ -80,17 +80,17 @@
80
80
  </thead>
81
81
  <tbody><tr>
82
82
  <td class="file high" data-value="constants"><a href="constants/index.html">constants</a></td>
83
- <td data-value="93.54" class="pic high">
84
- <div class="chart"><div class="cover-fill" style="width: 93%"></div><div class="cover-empty" style="width: 7%"></div></div>
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
85
  </td>
86
- <td data-value="93.54" class="pct high">93.54%</td>
87
- <td data-value="31" class="abs high">29/31</td>
86
+ <td data-value="100" class="pct high">100%</td>
87
+ <td data-value="29" class="abs high">29/29</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
- <td data-value="93.54" class="pct high">93.54%</td>
93
- <td data-value="31" class="abs high">29/31</td>
92
+ <td data-value="100" class="pct high">100%</td>
93
+ <td data-value="29" class="abs high">29/29</td>
94
94
  </tr>
95
95
 
96
96
  <tr>
@@ -191,11 +191,11 @@
191
191
  <td data-value="100" class="pct high">100%</td>
192
192
  <td data-value="25" class="abs high">25/25</td>
193
193
  <td data-value="100" class="pct high">100%</td>
194
- <td data-value="0" class="abs high">0/0</td>
194
+ <td data-value="4" class="abs high">4/4</td>
195
195
  <td data-value="100" class="pct high">100%</td>
196
196
  <td data-value="7" class="abs high">7/7</td>
197
197
  <td data-value="100" class="pct high">100%</td>
198
- <td data-value="23" class="abs high">23/23</td>
198
+ <td data-value="24" class="abs high">24/24</td>
199
199
  </tr>
200
200
 
201
201
  <tr>
@@ -215,17 +215,17 @@
215
215
 
216
216
  <tr>
217
217
  <td class="file high" data-value="scheme-properties"><a href="scheme-properties/index.html">scheme-properties</a></td>
218
- <td data-value="100" class="pic high">
219
- <div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
218
+ <td data-value="97.91" class="pic high">
219
+ <div class="chart"><div class="cover-fill" style="width: 97%"></div><div class="cover-empty" style="width: 3%"></div></div>
220
220
  </td>
221
- <td data-value="100" class="pct high">100%</td>
222
- <td data-value="41" class="abs high">41/41</td>
223
- <td data-value="100" class="pct high">100%</td>
224
- <td data-value="10" class="abs high">10/10</td>
225
- <td data-value="100" class="pct high">100%</td>
226
- <td data-value="12" class="abs high">12/12</td>
227
- <td data-value="100" class="pct high">100%</td>
228
- <td data-value="37" class="abs high">37/37</td>
221
+ <td data-value="97.91" class="pct high">97.91%</td>
222
+ <td data-value="48" class="abs high">47/48</td>
223
+ <td data-value="91.66" class="pct high">91.66%</td>
224
+ <td data-value="12" class="abs high">11/12</td>
225
+ <td data-value="100" class="pct high">100%</td>
226
+ <td data-value="13" class="abs high">13/13</td>
227
+ <td data-value="97.77" class="pct high">97.77%</td>
228
+ <td data-value="45" class="abs high">44/45</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-10-12T15:21:12.317Z
254
+ at 2026-10-28T15:06:55.926Z
255
255
  </div>
256
256
  <script src="prettify.js"></script>
257
257
  <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-10-12T15:21:12.317Z
106
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
119
+ at 2026-10-28T15:06:55.926Z
120
120
  </div>
121
121
  <script src="../prettify.js"></script>
122
122
  <script>
@@ -32,7 +32,7 @@
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'>0/0</span>
35
+ <span class='fraction'>4/4</span>
36
36
  </div>
37
37
 
38
38
 
@@ -46,7 +46,7 @@
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'>5/5</span>
49
+ <span class='fraction'>6/6</span>
50
50
  </div>
51
51
 
52
52
 
@@ -73,11 +73,15 @@
73
73
  <a name='L8'></a><a href='#L8'>8</a>
74
74
  <a name='L9'></a><a href='#L9'>9</a>
75
75
  <a name='L10'></a><a href='#L10'>10</a>
76
- <a name='L11'></a><a href='#L11'>11</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
76
+ <a name='L11'></a><a href='#L11'>11</a>
77
+ <a name='L12'></a><a href='#L12'>12</a>
78
+ <a name='L13'></a><a href='#L13'>13</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">1x</span>
77
79
  <span class="cline-any cline-neutral">&nbsp;</span>
78
80
  <span class="cline-any cline-yes">1x</span>
79
- <span class="cline-any cline-yes">4x</span>
80
- <span class="cline-any cline-yes">4x</span>
81
+ <span class="cline-any cline-yes">8x</span>
82
+ <span class="cline-any cline-yes">6x</span>
83
+ <span class="cline-any cline-neutral">&nbsp;</span>
84
+ <span class="cline-any cline-yes">8x</span>
81
85
  <span class="cline-any cline-neutral">&nbsp;</span>
82
86
  <span class="cline-any cline-neutral">&nbsp;</span>
83
87
  <span class="cline-any cline-yes">1x</span>
@@ -86,7 +90,9 @@
86
90
  <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">const { getSchemes } = require('../scheme-properties/get-schemes')
87
91
  &nbsp;
88
92
  const getSchemeIdFromPillar = (pillar) =&gt; {
89
- const matchingScheme = getSchemes().find((scheme) =&gt; scheme.pillar === pillar)
93
+ const matchingScheme = getSchemes().find((scheme) =&gt;
94
+ String(scheme.pillar ?? '').toLowerCase() === String(pillar ?? '').toLowerCase()
95
+ )
90
96
  return matchingScheme?.schemeId
91
97
  }
92
98
  &nbsp;
@@ -100,7 +106,7 @@ module.exports = {
100
106
  <div class='footer quiet pad2 space-top1 center small'>
101
107
  Code coverage generated by
102
108
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
103
- at 2026-10-12T15:21:12.317Z
109
+ at 2026-10-28T15:06:55.926Z
104
110
  </div>
105
111
  <script src="../prettify.js"></script>
106
112
  <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-10-12T15:21:12.317Z
103
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
101
101
  </div>
102
102
  <script src="../prettify.js"></script>
103
103
  <script>
@@ -32,7 +32,7 @@
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'>0/0</span>
35
+ <span class='fraction'>4/4</span>
36
36
  </div>
37
37
 
38
38
 
@@ -46,7 +46,7 @@
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'>23/23</span>
49
+ <span class='fraction'>24/24</span>
50
50
  </div>
51
51
 
52
52
 
@@ -86,11 +86,11 @@
86
86
  <td data-value="100" class="pct high">100%</td>
87
87
  <td data-value="6" class="abs high">6/6</td>
88
88
  <td data-value="100" class="pct high">100%</td>
89
- <td data-value="0" class="abs high">0/0</td>
89
+ <td data-value="4" class="abs high">4/4</td>
90
90
  <td data-value="100" class="pct high">100%</td>
91
91
  <td data-value="2" class="abs high">2/2</td>
92
92
  <td data-value="100" class="pct high">100%</td>
93
- <td data-value="5" class="abs high">5/5</td>
93
+ <td data-value="6" class="abs high">6/6</td>
94
94
  </tr>
95
95
 
96
96
  <tr>
@@ -161,7 +161,7 @@
161
161
  <div class='footer quiet pad2 space-top1 center small'>
162
162
  Code coverage generated by
163
163
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
164
- at 2026-10-12T15:21:12.317Z
164
+ at 2026-10-28T15:06:55.926Z
165
165
  </div>
166
166
  <script src="../prettify.js"></script>
167
167
  <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-10-12T15:21:12.317Z
103
+ at 2026-10-28T15:06:55.926Z
104
104
  </div>
105
105
  <script src="../prettify.js"></script>
106
106
  <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-10-12T15:21:12.317Z
106
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
119
+ at 2026-10-28T15:06:55.926Z
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-10-12T15:21:12.317Z
100
+ at 2026-10-28T15:06:55.926Z
101
101
  </div>
102
102
  <script src="../prettify.js"></script>
103
103
  <script>