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

test: move away from magicHTML in favor of HTMLGeneratorPlugin #4186

Merged
merged 1 commit into from Jan 17, 2022

Conversation

snitin315
Copy link
Member

@snitin315 snitin315 commented Jan 16, 2022

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

No. Refactor them.

Motivation / Use-Case

Refactor tests to move away from magicHTML feature.

Some tests needs more refactor I will update them in separate PRs.

Breaking Changes

None.

Additional Info

No

@snitin315 snitin315 force-pushed the test/use-html-generator-plugin branch from aa9c621 to 5da2e81 Compare January 16, 2022 13:42
@codecov
Copy link

codecov bot commented Jan 16, 2022

Codecov Report

Merging #4186 (5da2e81) into master (10eb171) will increase coverage by 0.12%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4186      +/-   ##
==========================================
+ Coverage   92.34%   92.47%   +0.12%     
==========================================
  Files          14       14              
  Lines        1541     1541              
  Branches      590      590              
==========================================
+ Hits         1423     1425       +2     
+ Misses        109      107       -2     
  Partials        9        9              
Impacted Files Coverage Δ
lib/servers/WebsocketServer.js 94.87% <0.00%> (+5.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 10eb171...5da2e81. Read the comment docs.

@snitin315 snitin315 merged commit a24193b into master Jan 17, 2022
@snitin315 snitin315 deleted the test/use-html-generator-plugin branch January 17, 2022 14:36
Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

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

@snitin315 Do we migrate from it in all tests? Just comment magicHTML logic in code and run test locally to catch all cases

@snitin315
Copy link
Member Author

I believe few tests are yet to be migrated. They may require more refactor. I will update them separate.

@alexander-akait
Copy link
Member

Thanks

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.

None yet

2 participants