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: remove old and redundant test cases related to 3rd party code #4131

Merged
merged 2 commits into from
Dec 23, 2021

Conversation

snitin315
Copy link
Member

  • 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?

Motivation / Use-Case

remove redundant test cases related to 3rd party code.

Breaking Changes

None

Additional Info

No

@@ -115,50 +104,4 @@ describe("Server", () => {
utilSpy.mockRestore();
});
});

// issue: https://github.com/webpack/webpack-dev-server/issues/1724
describe("express.static.mime.types", () => {
Copy link
Member Author

@snitin315 snitin315 Dec 22, 2021

Choose a reason for hiding this comment

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

This was added for a workaround logic that doesn't exist anymore. #1580 #1765

Comment on lines -21 to -25
it("add decorateConnection", () => {
expect(typeof sockjs.Session.prototype.decorateConnection).toEqual(
"function"
);
});
Copy link
Member Author

Choose a reason for hiding this comment

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

3rd party code

@codecov
Copy link

codecov bot commented Dec 22, 2021

Codecov Report

Merging #4131 (967adbd) into master (0dd1ee6) will increase coverage by 0.12%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4131      +/-   ##
==========================================
+ Coverage   92.28%   92.41%   +0.12%     
==========================================
  Files          14       14              
  Lines        1543     1543              
  Branches      590      590              
==========================================
+ Hits         1424     1426       +2     
+ Misses        110      108       -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 0dd1ee6...967adbd. Read the comment docs.

@snitin315 snitin315 merged commit ff4550e into master Dec 23, 2021
@snitin315 snitin315 deleted the rm-3rd-party-tests branch December 23, 2021 01:02
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.

2 participants