Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sasjs-request-client): improved parseResponse method #823

Merged
merged 3 commits into from
Jul 26, 2023

Conversation

YuryShkoda
Copy link
Member

@YuryShkoda YuryShkoda commented Jul 25, 2023

Issue

Related PR sasjs/server#364.

Intent

  • @sasjs/adapter should be able to parse HTTP responses from @sasjs/server with nested logs.

Implementation

  • Improved parseResponse method of SasjsRequestClient class.
  • Covered parseResponse method of SasjsRequestClient class with unit tests.

Checks

No PR (that involves a non-trivial code change) should be merged, unless all items below are confirmed! If an urgent fix is needed - use a tar file.

  • All sasjs-cli unit tests are passing (npm test).
  • (CI Runs this) All sasjs-tests are passing. If you want to run it manually (instructions available here).
  • Data Controller builds and is functional on both SAS 9 and Viya

@github-actions
Copy link

github-actions bot commented Jul 25, 2023

Coverage report

Total coverage

Status Category Percentage Covered / Total
🟡 Statements 63.22% 2037/3222
🔴 Branches 45.02% 741/1646
🔴 Functions 53.75% 301/560
🟡 Lines 72.6% 3391/4671

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold

Report generated by 🧪jest coverage report action from 5f15226

@allanbowe allanbowe merged commit d744ee1 into master Jul 26, 2023
2 checks passed
@allanbowe allanbowe deleted the @sasjs/server-response-fix branch July 26, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants