Skip to content

Conversation

@tatomyr
Copy link
Collaborator

@tatomyr tatomyr commented Feb 21, 2025

What/Why/How?

use dynamic imports to improve performance

Testing

benchmark testing

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

@changeset-bot
Copy link

changeset-bot bot commented Feb 21, 2025

⚠️ No Changeset found

Latest commit: 64e2f6b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@tatomyr tatomyr changed the base branch from main to feat/introduce-respect February 21, 2025 15:20
@tatomyr tatomyr changed the base branch from feat/introduce-respect to chore/use-json-server-test February 21, 2025 15:21
@tatomyr tatomyr changed the base branch from chore/use-json-server-test to feat/introduce-respect February 21, 2025 15:22
@github-actions
Copy link
Contributor

Coverage report

❌ An unexpected error occurred. For more details, check console

Error: The process '/opt/hostedtoolcache/node/20.18.2/x64/bin/npm' failed with exit code 2
St.
Category Percentage Covered / Total
🟡 Statements
79.68% (+1.49% 🔼)
6927/8694
🟡 Branches
68.9% (+1.99% 🔼)
2869/4164
🟡 Functions
75.56% (+2.58% 🔼)
1138/1506
🟢 Lines
80.04% (+1.63% 🔼)
6599/8245
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / runner.ts
84.48% 75.41% 90.91% 84.96%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / create-har-log.ts
100% 100% 100% 100%
🟢
... / add-headers.ts
100% 100% 100% 100%
🟢
... / get-duration.ts
100% 100% 100% 100%
🟢
... / build-request-cookies.ts
100% 100% 100% 100%
🟢
... / build-headers.ts
100% 100% 100% 100%
🟢
... / build-response-cookies.ts
95% 100% 100% 95%
🟡
... / api-fetcher.ts
69.91% 54.88% 62.5% 70.54%
🟢
... / is-empty.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / get-value-from-context.ts
86.36% 73.33% 95% 89.32%
🟢
... / logger.ts
100% 100% 100% 100%
🟢
... / parse-parameters.ts
100% 100% 100% 100%
🟢
... / parse-request-body.ts
100% 95.92% 100% 100%
🟢
... / handle-request-body-replacements.ts
100% 100% 100% 100%
🟢
... / resolve-reusable-object-reference.ts
100% 100% 100% 100%
🟢
... / resolve-reusable-component.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🔴
... / display-summary.ts
40% 0% 0% 40%
🟢
... / time.ts
100% 100% 100% 100%
🟡
... / calculate-tests-passed.ts
75% 50% 100% 75%
🟢
... / cli-outputs.ts
100% 100% 100% 100%
🔴
... / display-errors.ts
18.18% 0% 0% 21.43%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / checks.ts
100% 100% 100% 100%
🟢
... / severity.ts
100% 100% 100% 100%
🟢
... / display-checks.ts
89.36% 50% 62.5% 89.13%
🟢
... / url.ts
100% 100% 100% 100%
🟢
... / is-json.ts
100% 100% 100% 100%
🔴
... / display-files-summary-table.ts
17.95% 0% 0% 19.44%
🟢
... / verbose-logs.ts
100% 100% 100% 100%
🟢
... / mask-secrets.ts
81.82% 62.5% 57.14% 90%
🔴
... / json-logs.ts
12.5% 0% 0% 12.5%
🟢
... / index.ts
100% 100% 100% 100%
🟡
... / bundle-openapi.ts
76.19% 62.5% 100% 75%
🟢
... / is-url.ts
100% 100% 100% 100%
🟡
... / get-request-data-from-openapi.ts
78.57% 70% 77.78% 78.57%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / generate-test-config.ts
96.43% 80% 80% 96.43%
🟢
... / sort.ts
100% 100% 100% 100%
🟢
... / cleanup-test-description.ts
100% 100% 100% 100%
🟢
... / generate-test-data-from-json-schema.ts
100% 100% 100% 100%
🟢
... / generate-example-value.ts
100% 100% 100% 100%
🟢
... / extract-first-example.ts
100% 66.67% 100% 100%
🟢
... / get-operation-from-description.ts
92.86% 85.71% 100% 92.86%
🟢
... / get-operation-by-id.ts
88.46% 75% 100% 88.46%
🟢
... / get-operation-by-path.ts
95.83% 82.35% 100% 95.83%
🟢
... / remove-write-only-properties.ts
100% 100% 100% 100%
🟢
... / get-response-schema.ts
100% 100% 100% 100%
🟢
... / get-request-body-schema.ts
100% 100% 100% 100%
🟢
... / create-mtls-client.ts
100% 100% 100% 100%
🟢
... / create-test-context.ts
100% 77.78% 100% 100%
🟢
... / faker.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / format-cli-inputs.ts
100% 100% 100% 100%
🟢
... / map-input-values-to-schema.ts
100% 100% 100% 100%
🟢
... / get-test-description-from-file.ts
100% 83.33% 100% 100%
🟢
... / file.ts
100% 100% 100% 100%
🟢
... / yaml.ts
100% 100% 100% 100%
🟢
... / read-env-variables.ts
100% 100% 100% 100%
🟢
... / get-nested-value.ts
100% 100% 100% 100%
🟢
... / set-public-workflows.ts
100% 72.73% 100% 100%
🟢
... / set-public-steps.ts
100% 100% 100% 100%
🟢
... / resolve-mtls-certificates.ts
100% 75% 100% 100%
🟢
... / get-workflows-to-run.ts
100% 100% 100% 100%
🟢
... / run-step.ts
93.39% 91.36% 100% 93.1%
🟢
... / call-api-and-analyze-results.ts
81.82% 83.33% 66.67% 83.87%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / validate-success-criteria.ts
100% 100% 100% 100%
🟢
... / check-success-criteria.ts
100% 91.67% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / evaluate.ts
98.75% 97.06% 100% 98.72%
🟢
... / lint.ts
100% 100% 100% 100%
🟢
... / replace-json-pointers.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / create-runtime-expression-ctx.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / schema-checker.ts
97.83% 76.67% 100% 97.83%
🟢
... / ajv-errors.ts
100% 80% 100% 100%
🟢
... / check-circular-refs-in-schema.ts
100% 100% 100% 100%
🟢
... / prepare-request.ts
91.67% 83.02% 100% 91.43%
🟢
... / get-server-url.ts
100% 97.56% 100% 100%
🟢
... / resolve-running-workflows.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / print-message.ts
100% 100% 100% 100%
🟢
... / error-message-matcher.ts
100% 100% 100% 100%
🟢
... / clean-colors.ts
100% 100% 100% 100%
🟢
... / handle-request.ts
77.19% 68% 73.33% 80%
🟡
... / get-agent.ts
75.56% 88.89% 60% 75.56%
🟢
... / get-input-url.ts
100% 100% 100% 100%
🟢
... / build-params.ts
100% 100% 100% 100%
🟢
... / get-reunite-url.ts
100% 100% 100% 100%
🟡
... / env.ts
75% 42.86% 50% 75%
🔴
... / index.ts
0% 100% 0% 0%
🔴
... / arazzo-schema.ts
0% 100% 100% 0%
🔴
... / generate.ts
0% 0% 0% 0%
🔴
... / index.ts
0% 100% 100% 0%
🔴
... / run.ts
0% 0% 0% 0%

Test suite run success

1325 tests passing in 190 suites.

Report generated by 🧪jest coverage report action from 64e2f6b

@tatomyr tatomyr closed this Feb 21, 2025
@tatomyr tatomyr reopened this Feb 21, 2025
@tatomyr tatomyr closed this Feb 21, 2025
@tatomyr tatomyr deleted the chore/improve-perf branch February 21, 2025 15:25
@tatomyr tatomyr restored the chore/improve-perf branch February 21, 2025 15:26
@tatomyr tatomyr deleted the chore/improve-perf branch February 21, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants