* 一个全量的空框架
| 127 | * 一个全量的空框架 |
| 128 | */ |
| 129 | @Framework() |
| 130 | class EmptyFramework extends BaseFramework<any, any, any> { |
| 131 | async run(): Promise<void> { |
| 132 | } |
| 133 | |
| 134 | async applicationInitialize(options: IMidwayBootstrapOptions) { |
| 135 | this.app = {} as IMidwayApplication; |
| 136 | this.defineApplicationProperties(); |
| 137 | } |
| 138 | |
| 139 | configure() { |
| 140 | return {}; |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | @Configuration() |
| 145 | class EmptyConfiguration { |
nothing calls this directly
no test coverage detected