Skip to content

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

Open
artalat wants to merge 3 commits into
developfrom
feature/bluebase-module-fix
Open

📦 Fixes BlueBaseModule bug that resolve all promises, not just one#32
artalat wants to merge 3 commits into
developfrom
feature/bluebase-module-fix

Conversation

@artalat

@artalat artalat commented Dec 25, 2018

Copy link
Copy Markdown
Contributor

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

@codecov

codecov Bot commented Dec 26, 2018

Copy link
Copy Markdown

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
Copy Markdown
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

@omarnaeem0 omarnaeem0 Dec 26, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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