Skip to content

Commit da051d1

Browse files
committed
test: fix #loading tests
1 parent 92eeba6 commit da051d1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/unit/circle/circle.spec.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ describe("[ CircleProgress.vue | HalfCircleProgress.vue ]", () => {
171171
expect(circleProgressWrapper.element.style.opacity).to.equal("0");
172172
});
173173
});
174-
/* describe("#loading", () => {
174+
describe("#loading", () => {
175175
const size = 200;
176176
const thickness = 10;
177177

@@ -188,14 +188,14 @@ describe("[ CircleProgress.vue | HalfCircleProgress.vue ]", () => {
188188
it("applies 0 opacity to progress circle", () => {
189189
expect(circleProgressWrapper.element.style.opacity).to.equal("0");
190190
});
191-
it("applies 1 opacity to loading circle container", () => {
192-
const determinateCircleWrapper = wrapper.find(".ep-circle--loading__container");
193-
expect(determinateCircleWrapper.element.style.opacity).to.equal("1");
191+
it("applies default 0.55 opacity to loading circle container", () => {
192+
const determinateCircleWrapper = wrapper.find(".ep-circle--loader__container");
193+
expect(determinateCircleWrapper.element.style.opacity).to.equal("0.55");
194194
});
195195
it("renders the loading circle", () => {
196-
expect(wrapper.find(".ep-circle--loading").exists()).to.be.true;
196+
expect(wrapper.find(".ep-circle--loader").exists()).to.be.true;
197197
});
198-
}); */
198+
});
199199
/* describe("#determinate", () => {
200200
const progress = 60;
201201
const color = "gray";

0 commit comments

Comments
 (0)