feat(validator): Introduce responseValidator
#3843
8.60% of diff hit (target 80.00%)
View this Pull Request on Codecov
8.60% of diff hit (target 80.00%)
Annotations
Check warning on line 869 in src/context.ts
codecov / codecov/patch
src/context.ts#L869
Added line #L869 was not covered by tests
Check warning on line 871 in src/context.ts
codecov / codecov/patch
src/context.ts#L871
Added line #L871 was not covered by tests
Check warning on line 2 in src/validator/response-validator.sandbox.ts
codecov / codecov/patch
src/validator/response-validator.sandbox.ts#L1-L2
Added lines #L1 - L2 were not covered by tests
Check warning on line 4 in src/validator/response-validator.sandbox.ts
codecov / codecov/patch
src/validator/response-validator.sandbox.ts#L4
Added line #L4 was not covered by tests
Check warning on line 8 in src/validator/response-validator.sandbox.ts
codecov / codecov/patch
src/validator/response-validator.sandbox.ts#L8
Added line #L8 was not covered by tests
Check warning on line 28 in src/validator/response-validator.sandbox.ts
codecov / codecov/patch
src/validator/response-validator.sandbox.ts#L10-L28
Added lines #L10 - L28 were not covered by tests
Check warning on line 30 in src/validator/response-validator.sandbox.ts
codecov / codecov/patch
src/validator/response-validator.sandbox.ts#L30
Added line #L30 was not covered by tests
Check warning on line 30 in src/validator/response-validator.ts
codecov / codecov/patch
src/validator/response-validator.ts#L26-L30
Added lines #L26 - L30 were not covered by tests
Check warning on line 34 in src/validator/response-validator.ts
codecov / codecov/patch
src/validator/response-validator.ts#L32-L34
Added lines #L32 - L34 were not covered by tests
Check warning on line 36 in src/validator/response-validator.ts
codecov / codecov/patch
src/validator/response-validator.ts#L36
Added line #L36 was not covered by tests
Check warning on line 38 in src/validator/response-validator.ts
codecov / codecov/patch
src/validator/response-validator.ts#L38
Added line #L38 was not covered by tests
Check warning on line 82 in src/validator/response-validator.ts
codecov / codecov/patch
src/validator/response-validator.ts#L40-L82
Added lines #L40 - L82 were not covered by tests
Check warning on line 84 in src/validator/response-validator.ts
codecov / codecov/patch
src/validator/response-validator.ts#L84
Added line #L84 was not covered by tests
Check warning on line 90 in src/validator/response-validator.ts
codecov / codecov/patch
src/validator/response-validator.ts#L86-L90
Added lines #L86 - L90 were not covered by tests