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

Fully remove weak and check only in runtime #5252

Merged
merged 3 commits into from
Jan 9, 2018
Merged

Fully remove weak and check only in runtime #5252

merged 3 commits into from
Jan 9, 2018

Conversation

mjesun
Copy link
Contributor

@mjesun mjesun commented Jan 8, 2018

Fully remove the module from the package, and leave the developer willing to use it to install it on the parent package. This way we will avoid crashing or waiting for a timeout if the machine cannot compile it or has no internet connection.

Keeping it as an optional dependency means that the network timeout has to be triggered; which can take a lot of time depending on the setup.

@codecov-io
Copy link

codecov-io commented Jan 8, 2018

Codecov Report

Merging #5252 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5252   +/-   ##
=======================================
  Coverage   61.14%   61.14%           
=======================================
  Files         203      203           
  Lines        6843     6843           
  Branches        3        4    +1     
=======================================
  Hits         4184     4184           
  Misses       2658     2658           
  Partials        1        1
Impacted Files Coverage Δ
packages/jest-leak-detector/src/index.js 70.83% <ø> (ø) ⬆️

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 6931b0f...5317095. Read the comment docs.

Copy link
Member

@SimenB SimenB left a comment

Choose a reason for hiding this comment

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

Changelog? :D

@@ -37,15 +37,16 @@ export default class {
let weak;

try {
// eslint-disable-next-line
Copy link
Member

Choose a reason for hiding this comment

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

can you disable the exact rule?

@mjesun mjesun merged commit 93acfb0 into jestjs:master Jan 9, 2018
@mjesun mjesun deleted the remove-weak branch January 9, 2018 13:59
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants