Skip to content

Commit 7efd88d

Browse files
committed
remove second toolbar after the test is done
1 parent 6cb1924 commit 7efd88d

File tree

1 file changed

+1
-0
lines changed
  • dev/tests/js/jasmine/tests/app/code/Magento/Catalog/frontend/js/product/list

1 file changed

+1
-0
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Catalog/frontend/js/product/list/toolbar.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ define([
4141
secondToolbar.productListToolbarForm();
4242

4343
expect($.mage.productListToolbarForm.prototype._bind).toHaveBeenCalledTimes(4);
44+
secondToolbar.remove();
4445
});
4546
});
4647
});

0 commit comments

Comments
 (0)