@next-core/brick-kit 2.111.0 → 2.111.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -636,12 +636,6 @@ function supplyIndividual(variableName) {
636
636
  case "PIPES":
637
637
  return pipes;
638
638
 
639
- case "location":
640
- return {
641
- href: location.href,
642
- origin: location.origin
643
- };
644
-
645
639
  case "TAG_URL":
646
640
  return tagUrlFactory(true);
647
641
 
@@ -1597,6 +1591,15 @@ function getIndividualGlobal(variableName, _ref) {
1597
1591
 
1598
1592
  case "console":
1599
1593
  return isStoryboardFunction ? getReadOnlyProxy(console) : undefined;
1594
+
1595
+ case "location":
1596
+ return collectCoverage ? {
1597
+ href: "http://localhost:3000/functions/test",
1598
+ origin: "http://localhost:3000"
1599
+ } : {
1600
+ href: location.href,
1601
+ origin: location.origin
1602
+ };
1600
1603
  }
1601
1604
  }
1602
1605