File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ describe("[ CircleProgress.vue | HalfCircleProgress.vue ]", () => {
171
171
expect ( circleProgressWrapper . element . style . opacity ) . to . equal ( "0" ) ;
172
172
} ) ;
173
173
} ) ;
174
- /* describe("#loading", () => {
174
+ describe ( "#loading" , ( ) => {
175
175
const size = 200 ;
176
176
const thickness = 10 ;
177
177
@@ -188,14 +188,14 @@ describe("[ CircleProgress.vue | HalfCircleProgress.vue ]", () => {
188
188
it ( "applies 0 opacity to progress circle" , ( ) => {
189
189
expect ( circleProgressWrapper . element . style . opacity ) . to . equal ( "0" ) ;
190
190
} ) ;
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 " ) ;
194
194
} ) ;
195
195
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 ;
197
197
} ) ;
198
- }); */
198
+ } ) ;
199
199
/* describe("#determinate", () => {
200
200
const progress = 60;
201
201
const color = "gray";
You can’t perform that action at this time.
0 commit comments