Skip to content

Commit 0f5bc54

Browse files
committed
MC-33593: The style of cart icon is broken
1 parent c3846e2 commit 0f5bc54

File tree

2 files changed

+8
-15
lines changed

2 files changed

+8
-15
lines changed

dev/tests/js/jasmine/assets/app/code/Magento/Ui/base/templates/block-loader.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/block-loader.test.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@
55

66
define([
77
'squire',
8-
'jquery',
9-
'text!tests/assets/app/code/Magento/Ui/base/templates/block-loader.html'
10-
], function (Squire, $, blockLoaderTmpl) {
8+
'jquery'
9+
], function (Squire, $) {
1110
'use strict';
1211

13-
var injector = new Squire(),
12+
var blockLoaderTmpl = '<div data-role="loader" class="loading-mask" style="position: absolute;">\n' +
13+
' <div class="loader">\n' +
14+
' <img src="<%= loaderImageHref %>" alt="Loading..." title="Loading..." style="position: absolute;">\n' +
15+
' </div>\n' +
16+
'</div>',
17+
injector = new Squire(),
1418
mocks = {
1519
'Magento_Ui/js/lib/knockout/template/loader': {
1620
/** Method stub. */

0 commit comments

Comments
 (0)