Skip to content

Commit 037bb3f

Browse files
committed
test: extend Counter tests
1 parent a54487c commit 037bb3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/counter.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ describe("[ Counter.vue ]", () => {
130130
animation: "default 200 600",
131131
}).findComponent(Counter);
132132
expect(counterWrapper.vm.currentValue).to.equal(0);
133-
// expect(counterWrapper.element.textContent).to.equal("0");
133+
expect(counterWrapper.element.textContent).to.equal("0");
134134
setTimeout(() => {
135135
expect(counterWrapper.vm.currentValue).to.equal(0);
136-
// expect(counterWrapper.element.textContent).to.equal("0");
136+
expect(counterWrapper.element.textContent).to.equal("0");
137137
done();
138138
}, 500);
139139
});

0 commit comments

Comments
 (0)