* Merge this profile into another one * @param {ModuleProfile} realProfile the profile to merge into * @returns {void}
(realProfile)
| 122 | * @returns {void} |
| 123 | */ |
| 124 | mergeInto(realProfile) { |
| 125 | realProfile.additionalFactories = this.factory; |
| 126 | (realProfile.additionalFactoryTimes = |
| 127 | realProfile.additionalFactoryTimes || []).push({ |
| 128 | start: this.factoryStartTime, |
| 129 | end: this.factoryEndTime |
| 130 | }); |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | module.exports = ModuleProfile; |
no test coverage detected