2020-03-11 13:12:04 +00:00
|
|
|
import React from "react";
|
|
|
|
import { mount } from "enzyme";
|
|
|
|
import ProgressBar from ".";
|
|
|
|
|
|
|
|
describe("<Box />", () => {
|
|
|
|
it("renders without error", () => {
|
2020-10-16 13:16:01 +00:00
|
|
|
const wrapper = mount(
|
|
|
|
<ProgressBar percent={50} value={50} maxValue={100} />
|
|
|
|
);
|
2020-03-11 13:12:04 +00:00
|
|
|
|
|
|
|
expect(wrapper).toExist();
|
|
|
|
});
|
|
|
|
});
|