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

@W 13141576 Enable Substitute Function for offline support. #125

Closed
wants to merge 2 commits into from

Conversation

aditya-jain3
Copy link
Collaborator

@W 13141576 Enable Substitute Function for offline support.

  1. Use replaceAll instead of replace in getJavaScript()
  2. If arg[1] is null, return null. arg[2] is null use replaceAll(arg[1], ""). else use replaceAll(arg[1], arg[2])
  3. Add test cases.
  4. Add isOffline=true annotation

@W 13141576 Enable Substitute Function for offline support.
1. Use replaceAll instead of replace in getJavaScript()
2. If arg[1] is null, return null. arg[2] is null use replaceAll(arg[1], ""). else use replaceAll(arg[1], arg[2])
3. Add test cases.
4. Add isOffline=true annotation
@jainkaran98
Copy link
Contributor

LGTM, can be pushed after team aligns on [Golden File, File, null] test case

Copy link
Contributor

@ashwanikmr121 ashwanikmr121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aditya-jain3 Can you please share the coverage numbers as the coverage for this function was not 100% earlier?

@aditya-jain3
Copy link
Collaborator Author

@aditya-jain3 Can you please share the coverage numbers as the coverage for this function was not 100% earlier?

sure

@aditya-jain3
Copy link
Collaborator Author

@aditya-jain3 Can you please share the coverage numbers as the coverage for this function was not 100% earlier?

@ashwanikmr121 Currently it's 86% Trying to add 1 more case to increase the coverage.

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