We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 753b922 commit 33903f8Copy full SHA for 33903f8
dev/tests/js/jasmine/tests/app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.test.js
@@ -49,11 +49,11 @@ define([
49
html = $(widget._RenderSwatchOptions(attribute, 'option-label-control-id-1'))[0];
50
});
51
52
- it('check first conditional statement', function () {
+ it('check if swatch config has attribute id', function () {
53
expect(widget.options.jsonSwatchConfig.hasOwnProperty(attribute.id)).toEqual(true);
54
55
56
- it('check second conditional statement', function () {
+ it('check if option config has option id', function () {
57
expect(optionConfig.hasOwnProperty(optionId)).toEqual(true);
58
59
0 commit comments