Skip to content

Commit 7f4b213

Browse files
committed
test: slightly adjust Counter animation test
1 parent 15c4b16 commit 7f4b213

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/counter.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,15 @@ describe("[ Counter.vue ]", () => {
187187
it("do not count the value before delay", (done) => {
188188
const counterWrapper = factory({
189189
legend: 50,
190-
animation: "default 200 600",
190+
animation: "default 500 1000",
191191
}).findComponent(Counter);
192192
expect(counterWrapper.vm.currentValue).to.equal(0);
193193
expect(counterWrapper.element.textContent).to.equal("0");
194194
setTimeout(() => {
195195
expect(counterWrapper.vm.currentValue).to.equal(0);
196196
expect(counterWrapper.element.textContent).to.equal("0");
197197
done();
198-
}, 500);
198+
}, 300);
199199
});
200200
});
201201
});

0 commit comments

Comments
 (0)