Skip to content

Commit 55c8a9c

Browse files
committed
test: fix legendFormatter tests
1 parent ec8c6ab commit 55c8a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/container.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ describe("[ EllipseProgressContainer.vue ]", () => {
196196
it("renders the custom formatted value", (done) => {
197197
const customFormat = (value) => `Formatted: ${value}`;
198198
const formatter = ({ currentValue }) => customFormat(currentValue);
199-
const wrapper = factory({ legendValue: 120, legendFormatter: formatter, animation: "default 0 0" });
199+
const wrapper = factory({ legend: 120, legendFormatter: formatter, animation: "default 0 0" });
200200
setTimeout(() => {
201201
expect(wrapper.find(".ep-legend--value__counter").element.textContent).to.equal(customFormat(120));
202202
done();

0 commit comments

Comments
 (0)