MCPcopy
hub / github.com/midwayjs/midway / EmptyFramework

Class EmptyFramework

packages/core/test/setup.test.ts:129–142  ·  view source on GitHub ↗

* 一个全量的空框架

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

FrameworkFunction · 0.90

Tested by

no test coverage detected