Skip to content

Commit 3b397e3

Browse files
author
Greg Harvell
committed
Fix for customer-data.test failing due to storage not existing yet.
1 parent f7da23e commit 3b397e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Customer/frontend/js/customer-data.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ define([
9292
});
9393

9494
it('Does not throw before component is initialized', function () {
95+
obj.initStorage();
96+
9597
expect(function () {
9698
obj.init();
9799
}).not.toThrow();

0 commit comments

Comments
 (0)