Skip to content

Conversation

@GaroGabrielyan
Copy link
Collaborator

@GaroGabrielyan GaroGabrielyan commented Nov 4, 2024

@GaroGabrielyan GaroGabrielyan linked an issue Nov 4, 2024 that may be closed by this pull request
6 tasks
@GaroGabrielyan GaroGabrielyan self-assigned this Nov 19, 2024
@hamikhambardzumyan hamikhambardzumyan merged commit f0c40b8 into release/3.0.0 Nov 25, 2024
3 checks passed
it("renders error prop correctly", () => {
const wrapper = setup.setProps({ error: true });
wrapper.update();
expect(wrapper.find(".progressBar").hasClass(`progressBar_color_error`)).toBeTruthy();
Copy link
Contributor

Choose a reason for hiding this comment

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

Please replace `` with "" or '' .

const percent = 33;
const wrapper = setup.setProps({ uploadingText, percent });

expect(wrapper.find(".progressBar__uploadingText").text()).toStrictEqual(`${uploadingText}`);
Copy link
Contributor

@NarekArshakyan NarekArshakyan Nov 25, 2024

Choose a reason for hiding this comment

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

Why use here ${uploadingText} we can use just uploadingText ?

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.

[Feat]: New ProgressBar component

5 participants