(arrayOfObjects)
| 112 | |
| 113 | // Convenience function to help with readability by removing this large but unneded property. |
| 114 | function removeInputProps(arrayOfObjects) { |
| 115 | return arrayOfObjects.map((obj) => { |
| 116 | delete obj.input || delete obj.token.input |
| 117 | return obj |
| 118 | }) |
| 119 | } |
| 120 | |
| 121 | function makeLiquidReplacements(replacementsObj, text) { |
| 122 | let newText = text |
no outgoing calls
no test coverage detected