Skip to content

fix(transformer): test cases migration - #2190

Merged
mihir-4116 merged 46 commits into
developfrom
fix/unit-test-migration
Jun 7, 2023
Merged

mihir-4116 merged 46 commits into
developfrom
fix/unit-test-migration

Conversation

@mihir-4116

@mihir-4116 mihir-4116 commented May 18, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

  • This pull request involves migrating existing test cases (proxy, user deletion, and router) to TypeScript.

  • Additionally, 3 new unit test commands introduced

  1. npm run test:js : to run all the javascript file test cases
  2. npm run test:ts : to run all the typescript file test cases
  3. npm run test:ut:integration : to run user transformation integration test cases
  • for all the test cases :silent and :ci flavours are added

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@mihir-4116 mihir-4116 self-assigned this May 18, 2023
@mihir-4116
mihir-4116 requested a review from a team as a code owner May 18, 2023 06:17
@mihir-4116
mihir-4116 requested a review from a team May 18, 2023 06:17
@mihir-4116 mihir-4116 changed the title fix : test cases (router, proxy and user deletion) migration fix : test cases migration May 18, 2023
Comment thread src/controllers/destination.ts Resolved
Comment thread src/controllers/util/index.ts Resolved
Comment thread jest.config.integration.js Resolved
Comment thread jest.config.utils.js Resolved
@mihir-4116
mihir-4116 marked this pull request as draft May 18, 2023 06:40
@mihir-4116
mihir-4116 marked this pull request as ready for review May 21, 2023 07:40
@mihir-4116 mihir-4116 changed the title fix : test cases migration fix(transformer): test cases migration May 21, 2023
@codecov

codecov Bot commented May 21, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage has no change and project coverage change: -2.55 ⚠️

Comparison is base (1c75954) 88.69% compared to head (8b03278) 86.15%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2190      +/-   ##
===========================================
- Coverage    88.69%   86.15%   -2.55%     
===========================================
  Files          510      497      -13     
  Lines        25839    25452     -387     
  Branches      6341     6289      -52     
===========================================
- Hits         22919    21928     -991     
- Misses        2608     3114     +506     
- Partials       312      410      +98     

see 61 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mihir-4116
mihir-4116 requested a review from saikumarrs June 5, 2023 09:35
Comment thread .github/workflows/test.yml Resolved
Comment thread jest.config.ut.js Resolved
Comment thread package.json Resolved
@mihir-4116
mihir-4116 requested a review from saikumarrs June 6, 2023 12:31
Comment thread package.json Resolved
@mihir-4116
mihir-4116 requested a review from utsabc June 6, 2023 13:05
Comment thread package.json Resolved
@mihir-4116
mihir-4116 requested a review from utsabc June 6, 2023 13:21
@sonarqubecloud

sonarqubecloud Bot commented Jun 7, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mihir-4116
mihir-4116 merged commit 52019ac into develop Jun 7, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the fix/unit-test-migration branch September 8, 2023 01:23
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.

3 participants