ffc-pay-schemes 1.0.3 → 1.0.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 (63) hide show
  1. package/README.md +5 -4
  2. package/app/get-scheme-id-from-source-system.js +10 -0
  3. package/app/{get-scheme-name.js → get-scheme-name-from-scheme-id.js} +2 -2
  4. package/app/{get-source-system.js → get-source-system-from-scheme-id.js} +2 -2
  5. package/index.js +6 -4
  6. package/package.json +1 -1
  7. package/test/unit/get-scheme-id-from-source-system.test.js +50 -0
  8. package/test/unit/{get-scheme-name.test.js → get-scheme-name-from-scheme-id.test.js} +6 -6
  9. package/test/unit/{get-source-system.test.js → get-source-system-from-scheme-id.test.js} +6 -6
  10. package/test-output/cobertura-coverage.xml +73 -8
  11. package/test-output/junit.xml +282 -252
  12. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ap.js.html +1 -1
  13. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-admin.js.html +1 -1
  14. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-irregular.js.html +1 -1
  15. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/index.html +1 -1
  16. package/test-output/lcov-report/ffc-pay-schemes/app/constants/delivery-bodies.js.html +1 -1
  17. package/test-output/lcov-report/ffc-pay-schemes/app/constants/description-codes.js.html +1 -1
  18. package/test-output/lcov-report/ffc-pay-schemes/app/constants/fund-codes.js.html +1 -1
  19. package/test-output/lcov-report/ffc-pay-schemes/app/constants/index.html +1 -1
  20. package/test-output/lcov-report/ffc-pay-schemes/app/constants/pillars.js.html +1 -1
  21. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-batch-properties.js.html +1 -1
  22. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-ids.js.html +1 -1
  23. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-names.js.html +1 -1
  24. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-not-requiring-ppas.js.html +1 -1
  25. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-providing-account-values.js.html +1 -1
  26. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes.js.html +1 -1
  27. package/test-output/lcov-report/ffc-pay-schemes/app/constants/source-systems.js.html +2 -2
  28. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-default-invoice-number.js.html +1 -1
  29. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-es-invoice-number.js.html +1 -1
  30. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-imps-invoice-number.js.html +1 -1
  31. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
  32. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-standard-scheme-invoice-number.js.html +1 -1
  33. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.html +1 -1
  34. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.js.html +1 -1
  35. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/use-invoice-number-as-is.js.html +1 -1
  36. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-default-invoice-number.js.html +1 -1
  37. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
  38. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.html +1 -1
  39. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.js.html +1 -1
  40. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/bps-map.js.html +1 -1
  41. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cohtc-map.js.html +1 -1
  42. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cs-map.js.html +1 -1
  43. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/default-map.js.html +1 -1
  44. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/delinked-map.js.html +1 -1
  45. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.html +1 -1
  46. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.js.html +1 -1
  47. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/lump-sums-map.js.html +1 -1
  48. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/sfi-frps-map.js.html +1 -1
  49. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/vet-visits-map.js.html +1 -1
  50. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-batch-properties.js.html +1 -1
  51. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-id-from-source-system.js.html +115 -0
  52. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-name-from-scheme-id.js.html +115 -0
  53. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-name.js.html +1 -1
  54. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-properties.js.html +1 -1
  55. package/test-output/lcov-report/ffc-pay-schemes/app/get-schemes.js.html +5 -5
  56. package/test-output/lcov-report/ffc-pay-schemes/app/get-source-system-from-scheme-id.js.html +115 -0
  57. package/test-output/lcov-report/ffc-pay-schemes/app/index.html +49 -4
  58. package/test-output/lcov-report/ffc-pay-schemes/app/scheme-does-not-require-ppas.js.html +1 -1
  59. package/test-output/lcov-report/ffc-pay-schemes/app/scheme-provides-accounting-values.js.html +1 -1
  60. package/test-output/lcov-report/ffc-pay-schemes/index.html +5 -5
  61. package/test-output/lcov-report/ffc-pay-schemes/index.js.html +14 -8
  62. package/test-output/lcov-report/index.html +11 -11
  63. package/test-output/lcov.info +64 -8
@@ -13,8 +13,9 @@ DA:8,0
13
13
  DA:9,0
14
14
  DA:10,0
15
15
  DA:11,0
16
- DA:13,0
17
- LF:12
16
+ DA:12,0
17
+ DA:14,0
18
+ LF:13
18
19
  LH:0
19
20
  BRF:0
20
21
  BRH:0
@@ -37,6 +38,42 @@ BRF:0
37
38
  BRH:0
38
39
  end_of_record
39
40
  TN:
41
+ SF:app/get-scheme-id-from-source-system.js
42
+ FN:3,(anonymous_0)
43
+ FN:4,(anonymous_1)
44
+ FNF:2
45
+ FNH:2
46
+ FNDA:4,(anonymous_0)
47
+ FNDA:2,(anonymous_1)
48
+ DA:1,1
49
+ DA:3,1
50
+ DA:4,4
51
+ DA:5,4
52
+ DA:8,1
53
+ LF:5
54
+ LH:5
55
+ BRF:0
56
+ BRH:0
57
+ end_of_record
58
+ TN:
59
+ SF:app/get-scheme-name-from-scheme-id.js
60
+ FN:3,(anonymous_0)
61
+ FN:4,(anonymous_1)
62
+ FNF:2
63
+ FNH:2
64
+ FNDA:4,(anonymous_0)
65
+ FNDA:2,(anonymous_1)
66
+ DA:1,1
67
+ DA:3,1
68
+ DA:4,4
69
+ DA:5,4
70
+ DA:8,1
71
+ LF:5
72
+ LH:5
73
+ BRF:0
74
+ BRH:0
75
+ end_of_record
76
+ TN:
40
77
  SF:app/get-scheme-properties.js
41
78
  FN:4,(anonymous_0)
42
79
  FN:6,(anonymous_1)
@@ -79,17 +116,36 @@ BRH:10
79
116
  end_of_record
80
117
  TN:
81
118
  SF:app/get-schemes.js
82
- FN:4,(anonymous_0)
83
- FN:5,(anonymous_1)
119
+ FN:5,(anonymous_0)
120
+ FN:6,(anonymous_1)
84
121
  FNF:2
85
122
  FNH:2
86
123
  FNDA:18,(anonymous_0)
87
124
  FNDA:306,(anonymous_1)
88
125
  DA:1,1
89
126
  DA:2,1
90
- DA:4,1
91
- DA:5,306
92
- DA:10,1
127
+ DA:3,1
128
+ DA:5,1
129
+ DA:6,306
130
+ DA:12,1
131
+ LF:6
132
+ LH:6
133
+ BRF:0
134
+ BRH:0
135
+ end_of_record
136
+ TN:
137
+ SF:app/get-source-system-from-scheme-id.js
138
+ FN:3,(anonymous_0)
139
+ FN:4,(anonymous_1)
140
+ FNF:2
141
+ FNH:2
142
+ FNDA:4,(anonymous_0)
143
+ FNDA:2,(anonymous_1)
144
+ DA:1,1
145
+ DA:3,1
146
+ DA:4,4
147
+ DA:5,4
148
+ DA:8,1
93
149
  LF:5
94
150
  LH:5
95
151
  BRF:0
@@ -237,7 +293,7 @@ TN:
237
293
  SF:app/constants/source-systems.js
238
294
  FNF:0
239
295
  FNH:0
240
- DA:1,2
296
+ DA:1,3
241
297
  LF:1
242
298
  LH:1
243
299
  BRF:0