diff --git a/package.json b/package.json index 73dc3a57..706ab887 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "test:e2e:debug": "PWDEBUG=1 playwright test --project=\"chromium\"", "test:e2e:start": "node e2e-tests/http-server.js", "typecheck": "tsc --noEmit", - "validate": "npm run check-node-version && npm run format:check && npm run typecheck && npm run build && npm run lint && npm test -- --coverage --watch=false && npm run test:bundle -- --watch=false", + "validate": "npm run check-node-version && npm run format:check && npm run typecheck && npm run build && npm run lint && npm test -- --watch=false --coverage.enabled --coverage.include=src && npm run test:bundle -- --watch=false", "openapi": "npm run openapi-orders && npm run openapi-subscriptions", "openapi-orders": "openapi-typescript node_modules/@paypal/paypal-rest-api-specifications/openapi/checkout_orders_v2.json -o types/apis/openapi/checkout_orders_v2.d.ts", "openapi-subscriptions": "openapi-typescript node_modules/@paypal/paypal-rest-api-specifications/openapi/billing_subscriptions_v1.json -o types/apis/openapi/billing_subscriptions_v1.d.ts"