Add new Adapter and Action interfaces, add new Next.js handler implementation, remove middlewares #401
96.85% of diff hit (target 73.07%)
View this Pull Request on Codecov
96.85% of diff hit (target 73.07%)
Annotations
Check warning on line 2 in src/handlers/actions/index.ts
codecov / codecov/patch
src/handlers/actions/index.ts#L2
Added line #L2 was not covered by tests
Check warning on line 257 in src/handlers/actions/register-action-handler.ts
codecov / codecov/patch
src/handlers/actions/register-action-handler.ts#L249-L257
Added lines #L249 - L257 were not covered by tests
Check warning on line 4 in src/handlers/platforms/next/index.ts
codecov / codecov/patch
src/handlers/platforms/next/index.ts#L4
Added line #L4 was not covered by tests
Check warning on line 7 in src/handlers/platforms/next/index.ts
codecov / codecov/patch
src/handlers/platforms/next/index.ts#L7
Added line #L7 was not covered by tests
Check warning on line 38 in src/handlers/platforms/next/platform-adapter.ts
codecov / codecov/patch
src/handlers/platforms/next/platform-adapter.ts#L38
Added line #L38 was not covered by tests
Check warning on line 9 in src/handlers/shared/generic-adapter-use-case-types.ts
codecov / codecov/patch
src/handlers/shared/generic-adapter-use-case-types.ts#L2-L9
Added lines #L2 - L9 were not covered by tests
Check warning on line 110 in src/handlers/shared/generic-saleor-webhook.ts
codecov / codecov/patch
src/handlers/shared/generic-saleor-webhook.ts#L109-L110
Added lines #L109 - L110 were not covered by tests
Check warning on line 129 in src/handlers/shared/saleor-webhook-validator.ts
codecov / codecov/patch
src/handlers/shared/saleor-webhook-validator.ts#L129
Added line #L129 was not covered by tests
Check warning on line 9 in src/test-utils/mock-adapter.ts
codecov / codecov/patch
src/test-utils/mock-adapter.ts#L8-L9
Added lines #L8 - L9 were not covered by tests
Check warning on line 20 in src/test-utils/mock-adapter.ts
codecov / codecov/patch
src/test-utils/mock-adapter.ts#L19-L20
Added lines #L19 - L20 were not covered by tests