Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Add SkyProgressIndicatorMessage #19

Merged
merged 5 commits into from
May 6, 2019
Merged

Conversation

Blackbaud-SteveBrush
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented May 3, 2019

Codecov Report

Merging #19 into master will increase coverage by 0.94%.
The diff coverage is 98.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   98.67%   99.62%   +0.94%     
==========================================
  Files          10       10              
  Lines         227      264      +37     
  Branches       38       46       +8     
==========================================
+ Hits          224      263      +39     
+ Misses          3        1       -2
Impacted Files Coverage Δ
...icator-title/progress-indicator-title.component.ts 100% <ø> (ø) ⬆️
...-button/progress-indicator-nav-button.component.ts 100% <100%> (ø) ⬆️
...es/progress-indicator/progress-indicator.module.ts 100% <100%> (ø) ⬆️
...utton/progress-indicator-reset-button.component.ts 100% <100%> (ø) ⬆️
...progress-indicator/progress-indicator.component.ts 99.27% <98.5%> (-0.73%) ⬇️
...resources/progress-indicator-resources-provider.ts 100% <0%> (+37.5%) ⬆️

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 e6a6a13...9a871c5. Read the comment docs.

Copy link
Contributor

@Blackbaud-AlexKingman Blackbaud-AlexKingman left a comment

Choose a reason for hiding this comment

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

Few questions for you @Blackbaud-SteveBrush .

fixture.detectChanges();

expect(componentInstance.activeIndex).toBe(3);
expect(componentInstance.progressItems.last.isActive).toBeFalsy();
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm confused... How did this test pass before?

Copy link
Member Author

Choose a reason for hiding this comment

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

It passed because the logic of the steps was incorrect. The final step has an index of 2 because there's only three items. The final step should also be marked as active. Let me know if I'm missing something obvious!

Copy link
Contributor

@Blackbaud-AlexKingman Blackbaud-AlexKingman left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for splitting this up.

@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit fbcdb64 into master May 6, 2019
@Blackbaud-SteveBrush Blackbaud-SteveBrush deleted the message-type branch May 6, 2019 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants