Skip to content

📦 Fixes BlueBaseModule bug that resolve all promises, not just one #32

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

artalat
Copy link
Contributor

@artalat artalat commented Dec 25, 2018

A bug is reported in BlueBaseModules. When resolving a single module, all modules are resolved. This PR tracks this bug.

@codecov
Copy link

codecov bot commented Dec 26, 2018

Codecov Report

Merging #32 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop      #32   +/-   ##
========================================
  Coverage    99.41%   99.41%           
========================================
  Files           94       94           
  Lines         1028     1028           
  Branches       152      152           
========================================
  Hits          1022     1022           
  Misses           6        6

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 c874888...648ae6e. Read the comment docs.

expect(obj.foo).toBe('bar');
expect(module.loaded).toBe(true);
});
expect(module1.loaded).toBe(false);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

What happens if you move this test inside the then callback? @omarnaeem0

Copy link
Contributor

@omarnaeem0 omarnaeem0 Dec 26, 2018

Choose a reason for hiding this comment

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

@artalat sir are you referring to the line 69?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

@artalat artalat added this to the v5.0.0 milestone Aug 20, 2019
@artalat artalat added the bug Something isn't working label Aug 20, 2019
@ammarkhan967 ammarkhan967 assigned IamMHC and unassigned danial24 Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants