feat: refactor with typescript to support cjs ane esm both #5328
84.66% of diff hit (target 99.86%)
View this Pull Request on Codecov
84.66% of diff hit (target 99.86%)
Annotations
Check warning on line 51 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L34-L51
Added lines #L34 - L51 were not covered by tests
Check warning on line 64 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L59-L64
Added lines #L59 - L64 were not covered by tests
Check warning on line 74 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L71-L74
Added lines #L71 - L74 were not covered by tests
Check warning on line 86 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L78-L86
Added lines #L78 - L86 were not covered by tests
Check warning on line 100 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L90-L100
Added lines #L90 - L100 were not covered by tests
Check warning on line 111 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L107-L111
Added lines #L107 - L111 were not covered by tests
Check warning on line 121 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L115-L121
Added lines #L115 - L121 were not covered by tests
Check warning on line 134 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L128-L134
Added lines #L128 - L134 were not covered by tests
Check warning on line 149 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L138-L149
Added lines #L138 - L149 were not covered by tests
Check warning on line 159 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L153-L159
Added lines #L153 - L159 were not covered by tests
Check warning on line 190 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L163-L190
Added lines #L163 - L190 were not covered by tests
Check warning on line 201 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L201
Added line #L201 was not covered by tests
Check warning on line 212 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L207-L212
Added lines #L207 - L212 were not covered by tests
Check warning on line 216 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L216
Added line #L216 was not covered by tests
Check warning on line 232 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L220-L232
Added lines #L220 - L232 were not covered by tests
Check warning on line 245 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L243-L245
Added lines #L243 - L245 were not covered by tests
Check warning on line 260 in src/app/extend/context.ts
codecov / codecov/patch
src/app/extend/context.ts#L260
Added line #L260 was not covered by tests
Check warning on line 23 in src/app/middleware/site_file.ts
codecov / codecov/patch
src/app/middleware/site_file.ts#L22-L23
Added lines #L22 - L23 were not covered by tests
Check warning on line 44 in src/app/middleware/site_file.ts
codecov / codecov/patch
src/app/middleware/site_file.ts#L43-L44
Added lines #L43 - L44 were not covered by tests
Check warning on line 26 in src/lib/agent.ts
codecov / codecov/patch
src/lib/agent.ts#L26
Added line #L26 was not covered by tests
Check warning on line 54 in src/lib/agent.ts
codecov / codecov/patch
src/lib/agent.ts#L48-L54
Added lines #L48 - L54 were not covered by tests
Check warning on line 158 in src/lib/application.ts
codecov / codecov/patch
src/lib/application.ts#L158
Added line #L158 was not covered by tests
Check warning on line 294 in src/lib/application.ts
codecov / codecov/patch
src/lib/application.ts#L294
Added line #L294 was not covered by tests
Check warning on line 20 in src/lib/core/base_context_class.ts
codecov / codecov/patch
src/lib/core/base_context_class.ts#L16-L20
Added lines #L16 - L20 were not covered by tests
Check warning on line 67 in src/lib/core/base_context_logger.ts
codecov / codecov/patch
src/lib/core/base_context_logger.ts#L4-L67
Added lines #L4 - L67 were not covered by tests