Skip to content

Commit d079feb

Browse files
committed
AC-14607: Wishlist count not displayed on homepage/other pages except wishlist page in customer menu
Fix ESLint error
1 parent 1b04d26 commit d079feb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Wishlist/view/frontend/web/js/view/wishlist-mixin.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,13 @@ define([
203203
});
204204

205205
it('should handle rapid counter updates', function () {
206-
var instance = new mixin();
206+
var instance = new mixin(),
207+
i;
207208

208209
instance.initialize();
209210
// Rapid updates
210211
expect(function () {
211-
for (var i = 0; i < 10; i++) {
212+
for (i = 0; i < 10; i++) {
212213
subscribeCallback({ counter: i });
213214
}
214215
}).not.toThrow();

0 commit comments

Comments
 (0)