Closed BMartinos closed 4 years ago
Merging #53 into master will decrease coverage by
4.55%
. The diff coverage is69.79%
.
@@ Coverage Diff @@
## master #53 +/- ##
==========================================
- Coverage 84.63% 80.07% -4.56%
==========================================
Files 14 17 +3
Lines 436 532 +96
==========================================
+ Hits 369 426 +57
- Misses 67 106 +39
Impacted Files | Coverage Δ | |
---|---|---|
src/db/index.js | 88.88% <ø> (ø) |
|
src/middleware/externalRequests.js | 76.36% <53.84%> (-3.77%) |
:arrow_down: |
src/middleware/initiate.js | 58.82% <70.00%> (ø) |
|
src/util.js | 78.57% <75.00%> (-2.20%) |
:arrow_down: |
src/db/services/states/index.js | 83.33% <83.33%> (ø) |
|
src/db/models/endpoints.js | 100.00% <100.00%> (ø) |
|
src/db/models/states.js | 100.00% <100.00%> (ø) |
|
src/middleware/mapper.js | 93.54% <100.00%> (+0.21%) |
:arrow_up: |
src/middleware/parser.js | 96.72% <100.00%> (+0.11%) |
:arrow_up: |
src/middleware/validator.js | 100.00% <100.00%> (ø) |
|
... and 3 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ba960ab...aa2e304. Read the comment docs.
This PR adds an additional feature to the mapping mediator that allows the implementer to specify certain values to extract from the data collected, or from a system value and store it in the state object for the endpoint.
This can then be extracted on a follow up request to be included in either the request payload or query parameters