(shimExtension)
| 30 | } |
| 31 | |
| 32 | addProjectShim(shimExtension) { |
| 33 | const name = shimExtension.getName(); |
| 34 | log.verbose(`Adding new shim ${name}...`); |
| 35 | |
| 36 | const configurations = shimExtension.getConfigurationShims(); |
| 37 | if (configurations) { |
| 38 | addToMap(name, configurations, this._projectConfigShims); |
| 39 | } |
| 40 | const dependencies = shimExtension.getDependencyShims(); |
| 41 | if (dependencies) { |
| 42 | addToMap(name, dependencies, this._dependencyShims); |
| 43 | } |
| 44 | const collections = shimExtension.getCollectionShims(); |
| 45 | if (collections) { |
| 46 | addToMap(name, collections, this._collectionShims); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | getProjectConfigurationShims(moduleId) { |
| 51 | return this._projectConfigShims[moduleId]; |
no test coverage detected