2023-07-22 13:35:50 +00:00
|
|
|
import React from "react";
|
|
|
|
import { mount } from "enzyme";
|
|
|
|
import ProgressBar from ".";
|
|
|
|
|
2023-08-07 11:41:03 +00:00
|
|
|
describe("<ProgressBar />", () => {
|
2023-07-22 13:35:50 +00:00
|
|
|
it("renders without error", () => {
|
|
|
|
const wrapper = mount(
|
2023-08-07 11:41:03 +00:00
|
|
|
<ProgressBar percent={50} label="Some work in progress" />
|
2023-07-22 13:35:50 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
expect(wrapper).toExist();
|
|
|
|
});
|
|
|
|
});
|