Skip to content

Commit 33903f8

Browse files
committed
MC-18821: Increase test coverage for Catalog functional area
- Fixes for MC-6354 test
1 parent 753b922 commit 33903f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ define([
4949
html = $(widget._RenderSwatchOptions(attribute, 'option-label-control-id-1'))[0];
5050
});
5151

52-
it('check first conditional statement', function () {
52+
it('check if swatch config has attribute id', function () {
5353
expect(widget.options.jsonSwatchConfig.hasOwnProperty(attribute.id)).toEqual(true);
5454
});
5555

56-
it('check second conditional statement', function () {
56+
it('check if option config has option id', function () {
5757
expect(optionConfig.hasOwnProperty(optionId)).toEqual(true);
5858
});
5959

0 commit comments

Comments
 (0)